flow 1.4.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.

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

Function Documentation

◆ sphereSdf()

std::vector< double > sphereSdf ( )
static

Definition at line 34 of file test_velocitymg_bc_mpi.cpp.

References N, and R.

Referenced by main().

◆ configure()

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

int N = 32
staticconstexpr

Definition at line 29 of file test_velocitymg_bc_mpi.cpp.

◆ STEPS

int STEPS = 4
static

Definition at line 29 of file test_velocitymg_bc_mpi.cpp.

◆ RHO

double RHO = 1.0
staticconstexpr

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

◆ MU

double MU = 1.0
static

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

◆ UIN

double UIN = 1e-3
static

Definition at line 30 of file test_velocitymg_bc_mpi.cpp.

◆ 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.