|
flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#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.
Typedefs | |
| using | Colo = peclet::flow::Solver< peclet::flow::Colocated > |
Functions | |
| static std::vector< double > | packingSdf (double rfrac=0.18) |
| static void | configure (Colo &s) |
| static double | localUSum (Colo &s) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 120 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | MU = 0.1 |
| static constexpr double | F = 1e-3 |
| static constexpr double | DT = 60.0 |
Definition at line 24 of file test_sdflow_colocated_mpi.cpp.
|
static |
|
static |
Definition at line 51 of file test_sdflow_colocated_mpi.cpp.
References DT, F, MU, RHO, peclet::flow::Solver< Grid >::setAdvection(), peclet::flow::Solver< Grid >::setBodyForce(), peclet::flow::Solver< Grid >::setDt(), peclet::flow::Solver< Grid >::setMu(), peclet::flow::Solver< Grid >::setPressureLevels(), peclet::flow::Solver< Grid >::setPressurePcg(), peclet::flow::Solver< Grid >::setRho(), and peclet::flow::Solver< Grid >::setVelocityIterations().
Referenced by main().
|
static |
Definition at line 62 of file test_sdflow_colocated_mpi.cpp.
References peclet::flow::Solver< Grid >::getVelocity().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 70 of file test_sdflow_colocated_mpi.cpp.
References configure(), F, localUSum(), peclet::flow::Solver< Grid >::maxOpenDivergence(), MU, N, packingSdf(), peclet::flow::Solver< Grid >::setSolid(), peclet::flow::Solver< Grid >::step(), and STEPS.
|
staticconstexpr |
Definition at line 26 of file test_sdflow_colocated_mpi.cpp.
Referenced by main(), and packingSdf().
|
static |
Definition at line 26 of file test_sdflow_colocated_mpi.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 27 of file test_sdflow_colocated_mpi.cpp.
Referenced by configure().
|
static |
Definition at line 27 of file test_sdflow_colocated_mpi.cpp.
Referenced by configure(), and main().
|
static |
Definition at line 27 of file test_sdflow_colocated_mpi.cpp.
Referenced by configure(), and main().
|
static |
Definition at line 27 of file test_sdflow_colocated_mpi.cpp.
Referenced by configure().