|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstring>#include <Kokkos_Core.hpp>#include <vector>#include "flow_ibm.hpp"#include "peclet/core/common/types.hpp"#include "peclet/core/decomp/block_decomposer.hpp"Go to the source code of this file.
Functions | |
| static std::vector< double > | packingSdf (double rfrac=0.18) |
| static double | epsAt (int x, int, int z) |
| static std::vector< double > | blockOf (const std::vector< double > &g, const BlockDecomposer< 3 > &dec, int rank) |
| static void | configure (IbmSolver &s, const std::vector< double > &lsdf, const std::vector< double > &leps) |
| static std::vector< double > | gatherGlobal (const std::vector< double > &local, const BlockDecomposer< 3 > &dec, int rank, int size) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 20 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | MU = 0.1 |
| static constexpr double | F = 1e-3 |
| static constexpr double | DT = 20.0 |
|
static |
Definition at line 75 of file test_porous_redistribute_mpi.cpp.
References DT, peclet::flow::Solver< Grid >::exchangeField(), F, MU, RHO, peclet::flow::Solver< Grid >::setAdvection(), peclet::flow::Solver< Grid >::setBodyForce(), peclet::flow::Solver< Grid >::setDt(), peclet::flow::Solver< Grid >::setField(), peclet::flow::Solver< Grid >::setMu(), peclet::flow::Solver< Grid >::setPorousContinuity(), peclet::flow::Solver< Grid >::setPressureLevels(), peclet::flow::Solver< Grid >::setPressurePcg(), peclet::flow::Solver< Grid >::setRho(), peclet::flow::Solver< Grid >::setSolid(), peclet::flow::Solver< Grid >::setVelocityIterations(), and peclet::flow::Solver< Grid >::syncPorousPrev().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 125 of file test_porous_redistribute_mpi.cpp.
References blockOf(), configure(), epsAt(), gatherGlobal(), peclet::flow::Solver< Grid >::getVelocity(), N, packingSdf(), peclet::flow::Solver< Grid >::step(), and STEPS.
|
staticconstexpr |
Definition at line 33 of file test_porous_redistribute_mpi.cpp.
Referenced by blockOf(), epsAt(), gatherGlobal(), main(), and packingSdf().
|
static |
Definition at line 33 of file test_porous_redistribute_mpi.cpp.
Referenced by main().
Definition at line 34 of file test_porous_redistribute_mpi.cpp.
Referenced by configure().
Definition at line 34 of file test_porous_redistribute_mpi.cpp.
Referenced by configure().
Definition at line 34 of file test_porous_redistribute_mpi.cpp.
Referenced by configure().
Definition at line 34 of file test_porous_redistribute_mpi.cpp.
Referenced by configure().