|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <cmath>#include <cstdio>#include <cstdlib>#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 | IbmSolver = peclet::flow::IbmSolver |
Functions | |
| static std::vector< double > | sphereSdf () |
| static void | configure (IbmSolver &s, bool vmg, bool slipZ) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 4 |
| static constexpr double | RHO = 1.0 |
| static constexpr double | MU = 1.0 |
| static constexpr double | UIN = 1e-3 |
| static const double | DT = std::getenv("TEST_DT") ? std::atof(std::getenv("TEST_DT")) : 1e3 |
| using IbmSolver = peclet::flow::IbmSolver |
Definition at line 27 of file test_velocitymg_bc_mpi.cpp.
|
static |
|
static |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 68 of file test_velocitymg_bc_mpi.cpp.
References configure(), peclet::flow::Solver< Grid >::getVelocity(), peclet::flow::Solver< Grid >::lastMomentumSweeps(), peclet::flow::Solver< Grid >::maxOpenDivergence(), N, peclet::flow::Solver< Grid >::setSolid(), sphereSdf(), peclet::flow::Solver< Grid >::step(), and STEPS.
|
staticconstexpr |
Definition at line 29 of file test_velocitymg_bc_mpi.cpp.
Referenced by main(), and sphereSdf().
|
static |
Definition at line 29 of file test_velocitymg_bc_mpi.cpp.
Referenced by main().
|
staticconstexpr |
Definition at line 30 of file test_velocitymg_bc_mpi.cpp.
Referenced by configure().
|
static |
Definition at line 30 of file test_velocitymg_bc_mpi.cpp.
Referenced by configure().
|
static |
Definition at line 30 of file test_velocitymg_bc_mpi.cpp.
Referenced by configure().
|
static |
Definition at line 32 of file test_velocitymg_bc_mpi.cpp.
Referenced by configure().