flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_velocitymg_bc_mpi.cpp File Reference
#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
 

Typedef Documentation

◆ IbmSolver

Definition at line 27 of file test_velocitymg_bc_mpi.cpp.

Function Documentation

◆ sphereSdf()

static std::vector< double > sphereSdf ( )
static

Definition at line 34 of file test_velocitymg_bc_mpi.cpp.

References N.

Referenced by main().

◆ configure()

static void configure ( IbmSolver &  s,
bool  vmg,
bool  slipZ 
)
static

Definition at line 47 of file test_velocitymg_bc_mpi.cpp.

References DT, MU, RHO, and UIN.

Referenced by main().

◆ main()

Variable Documentation

◆ N

constexpr int N = 32
staticconstexpr

Definition at line 29 of file test_velocitymg_bc_mpi.cpp.

Referenced by main(), and sphereSdf().

◆ STEPS

constexpr int STEPS = 4
static

Definition at line 29 of file test_velocitymg_bc_mpi.cpp.

Referenced by main().

◆ RHO

constexpr double RHO = 1.0
staticconstexpr

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

Referenced by configure().

◆ MU

constexpr double MU = 1.0
static

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

Referenced by configure().

◆ UIN

constexpr double UIN = 1e-3
static

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

Referenced by configure().

◆ DT

const double DT = std::getenv("TEST_DT") ? std::atof(std::getenv("TEST_DT")) : 1e3
static

Definition at line 32 of file test_velocitymg_bc_mpi.cpp.

Referenced by configure().