flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_telescope_varrho_mpi.cpp File Reference
#include <mpi.h>
#include <cmath>
#include <cstdio>
#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 double rhoAt (int gz)
static void run (IbmSolver &s, int ox, int oy, int oz, int lnx, int lny, int lnz, int forceLevel, bool telescope, std::vector< double > &u, std::vector< double > &p, int &teleCount)
int main (int argc, char **argv)

Variables

static constexpr int N = 32
static constexpr int STEPS = 4
static constexpr double RHO0 = 1.0
static constexpr double RATIO = 100.0
static constexpr double MU = 0.1
static constexpr double DT = 0.5
static constexpr double WIN = 0.05

Function Documentation

◆ rhoAt()

double rhoAt ( int gz)
static

Definition at line 23 of file test_telescope_varrho_mpi.cpp.

References N, RATIO, and RHO0.

Referenced by run().

◆ run()

void run ( IbmSolver & s,
int ox,
int oy,
int oz,
int lnx,
int lny,
int lnz,
int forceLevel,
bool telescope,
std::vector< double > & u,
std::vector< double > & p,
int & teleCount )
static

Definition at line 27 of file test_telescope_varrho_mpi.cpp.

References DT, MU, RHO0, rhoAt(), STEPS, and WIN.

Referenced by main().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 58 of file test_telescope_varrho_mpi.cpp.

References N, and run().

Variable Documentation

◆ N

int N = 32
staticconstexpr

Definition at line 20 of file test_telescope_varrho_mpi.cpp.

◆ STEPS

int STEPS = 4
static

Definition at line 20 of file test_telescope_varrho_mpi.cpp.

◆ RHO0

double RHO0 = 1.0
staticconstexpr

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

◆ RATIO

double RATIO = 100.0
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by pressureGradientError(), rhoAt(), and rhoAt().

◆ MU

double MU = 0.1
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

◆ DT

double DT = 0.5
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

◆ WIN

double WIN = 0.05
static

Definition at line 21 of file test_telescope_varrho_mpi.cpp.

Referenced by configureSlug(), and run().