|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
#include <mpi.h>#include <algorithm>#include <cmath>#include <cstdio>#include <cstdlib>#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 > | gatherGlobal (const std::vector< double > &local, int ox, int oy, int oz, int lnx, int lny, int lnz, int rank, int size) |
| static std::vector< double > | packingSdf (int ox, int oy, int oz, int lnx, int lny, int lnz) |
| static double | envd (const char *k, double dflt) |
| static void | configurePacking (IbmSolver &s, int ox, int oy, int oz, int lnx, int lny, int lnz, bool perturb=false) |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | NX = 16 |
| static constexpr int | NY = 16 |
| static constexpr int | NZ = 32 |
| static constexpr std::size_t | GCELLS = (std::size_t)NX * NY * NZ |
|
static |
Definition at line 90 of file probe_vof_packing.cpp.
References NZ.
Referenced by configurePacking().
Definition at line 110 of file probe_vof_packing.cpp.
Referenced by configurePacking(), and main().
|
static |
Definition at line 115 of file probe_vof_packing.cpp.
References peclet::flow::Solver< Grid >::enableVof(), envd(), NX, NY, NZ, packingSdf(), peclet::flow::Solver< Grid >::setDomainBc(), peclet::flow::Solver< Grid >::setDt(), peclet::flow::Solver< Grid >::setField(), peclet::flow::Solver< Grid >::setMu(), peclet::flow::Solver< Grid >::setPressureIterations(), 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(), peclet::flow::Solver< Grid >::setVof(), peclet::flow::Solver< Grid >::setVofBackflow(), peclet::flow::Solver< Grid >::setVofInflow(), and peclet::flow::Solver< Grid >::setVofWispEps().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 183 of file probe_vof_packing.cpp.
References peclet::flow::Solver< Grid >::advectVof(), peclet::flow::Solver< Grid >::blockShape(), configurePacking(), envd(), peclet::flow::Solver< Grid >::fieldNames(), peclet::flow::Solver< Grid >::fieldView(), gatherGlobal(), GCELLS, peclet::flow::Solver< Grid >::getField(), peclet::flow::Solver< Grid >::getVof(), peclet::flow::Solver< Grid >::ghostWidth(), peclet::flow::Solver< Grid >::lastPressureIterations(), peclet::flow::Solver< Grid >::maxOpenDivergence(), NX, NY, NZ, and peclet::flow::Solver< Grid >::step().
|
staticconstexpr |
Definition at line 50 of file probe_vof_packing.cpp.
Referenced by configurePacking(), gateSolverMetric(), gatherGlobal(), and main().
|
static |
Definition at line 50 of file probe_vof_packing.cpp.
Referenced by configurePacking(), gateSolverMetric(), gatherGlobal(), and main().
|
static |
Definition at line 50 of file probe_vof_packing.cpp.
Referenced by configurePacking(), gateSolverMetric(), main(), and packingSdf().
Definition at line 51 of file probe_vof_packing.cpp.
Referenced by gatherGlobal(), and main().