|
flow 1.4.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.
Typedefs | |
| using | IbmSolver |
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 |
| using peclet::flow::IbmSolver |
Definition at line 5663 of file flow_ibm.hpp.
|
static |
|
static |
Definition at line 90 of file probe_vof_packing.cpp.
References NZ.
Referenced by configurePacking().
|
static |
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 envd(), NX, NY, NZ, and packingSdf().
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 analyticError(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourValue(), compareBlock(), configurePacking(), couetteError(), gateSolverMetric(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gidx(), main(), mgChecks(), packingVelocity(), phaseW(), pressureGradientError(), pressureGradientError(), pressureGradientError(), rhoAt(), runCase(), sdfAt(), sliceOf(), sliceOf(), sliceOf(), solverChecks(), source(), sphereSdf(), urand(), urand(), value(), wallPsi(), and worstPlane().
|
static |
Definition at line 50 of file probe_vof_packing.cpp.
Referenced by analyticError(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourValue(), compareBlock(), configurePacking(), couetteError(), gateSolverMetric(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gidx(), main(), mgChecks(), muAt(), packingVelocity(), phaseU(), pressureGradientError(), pressureGradientError(), pressureGradientError(), rhoAt(), runCase(), sdfAt(), sliceOf(), sliceOf(), sliceOf(), solverChecks(), source(), sphereSdf(), srcAt(), urand(), urand(), value(), wallBox(), wallPsi(), and worstPlane().
|
static |
Definition at line 50 of file probe_vof_packing.cpp.
Referenced by analyticError(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourAt(), colourValue(), configureColoJet(), configurePacking(), configurePacking(), couetteError(), forceXAt(), forceXAt(), forceXAt(), gateSolverMetric(), main(), mgChecks(), packingSdf(), packingSdf(), packingVelocity(), phaseU(), phaseV(), pressureGradientError(), pressureGradientError(), pressureGradientError(), rhoAt(), runCase(), sdfAt(), solverChecks(), source(), sphereSdf(), urand(), urand(), value(), and worstPlane().
Definition at line 51 of file probe_vof_packing.cpp.
Referenced by blobs(), blobs(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), gatherGlobal(), main(), and runCase().