|
flow 1.4.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 <stdexcept>#include <string>#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.
Classes | |
| struct | Config |
Typedefs | |
| using | IbmSolver |
Functions | |
| static std::vector< double > | blobs (int line) |
| static std::vector< double > | slice (const std::vector< double > &g, int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static void | configure (IbmSolver &s, const Config &c, const std::vector< double > &forceLocal) |
| static std::vector< double > | gatherGlobal (const std::vector< double > &local, int ox, int oy, int oz, int lnx, int lny, int lnz, int rank, int size) |
| static double | maxAbsDiff (const std::vector< double > &a, const std::vector< double > &b) |
| static double | maxAbs (const std::vector< double > &a) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | N = 32 |
| static constexpr int | STEPS = 2 |
| static constexpr std::size_t | GCELLS = (std::size_t)N * N * N |
| using peclet::flow::IbmSolver |
Definition at line 5663 of file flow_ibm.hpp.
|
static |
Definition at line 64 of file test_cellforce_mpi.cpp.
|
static |
Definition at line 84 of file test_cellforce_mpi.cpp.
References N.
Referenced by state_initialization::_resample_axis(), test_scalar_cutcell_gates::cell_velocity(), gsv9_split::cmd_prod(), gsv9::energy(), exact_apertures_spheres::exact_openness(), run_channel_18::interp_component(), vof_channel_18::interp_component(), gsv56::main(), main(), test_scalar_cutcell_gates::mean_flux_fields(), uf_outlet_diag::probe(), micromodel_2d::run(), and imbibition_packing::trapped_gas().
Definition at line 96 of file test_cellforce_mpi.cpp.
Referenced by main().
|
static |
Definition at line 109 of file test_cellforce_mpi.cpp.
Referenced by main().
|
static |
Definition at line 147 of file test_cellforce_mpi.cpp.
Referenced by main().
|
static |
Definition at line 157 of file test_cellforce_mpi.cpp.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 164 of file test_cellforce_mpi.cpp.
References blobs(), configure(), gatherGlobal(), GCELLS, peclet::flow::Solver< Grid >::getPressure(), peclet::flow::Solver< Grid >::getVelocity(), maxAbs(), maxAbsDiff(), N, peclet::flow::Solver< Grid >::setAdvection(), peclet::flow::Solver< Grid >::setPressureGeometry(), slice(), peclet::flow::Solver< Grid >::step(), and STEPS.
|
staticconstexpr |
Definition at line 53 of file test_cellforce_mpi.cpp.
|
static |
Definition at line 53 of file test_cellforce_mpi.cpp.
Definition at line 54 of file test_cellforce_mpi.cpp.