flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
test_sharp_viscous_mpi.cpp File Reference
#include <mpi.h>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <limits>
#include <vector>
#include "flow_ibm.hpp"
#include "peclet/core/decomp/block_decomposer.hpp"

Go to the source code of this file.

Typedefs

using CCConst
using CCField
using IbmSolver

Enumerations

enum class  ClosureKind

Functions

static double urand (int id, int gx, int gy, int gz)
static double colourValue (int gx, int gy, int gz)
static std::vector< double > evalSharp (IbmSolver &s, const int o[3], const int ln[3])
static void configure (IbmSolver &s, bool walls)
int main (int argc, char **argv)

Variables

static constexpr int NX = 16
static constexpr int NY = 12
static constexpr int NZ = 10
static constexpr int G = IbmSolver::G
static constexpr int kVals = 48
static double gCen [3] = {7.3, 5.9, 4.6}
static double gR = 3.7

Typedef Documentation

◆ CCConst

Definition at line 27 of file mac_cutcell.hpp.

◆ CCField

Definition at line 26 of file mac_cutcell.hpp.

◆ IbmSolver

Definition at line 5663 of file flow_ibm.hpp.

Enumeration Type Documentation

◆ ClosureKind

enum class peclet::flow::ClosureKind
strong

Definition at line 28 of file property_closures.hpp.

Function Documentation

◆ urand()

double urand ( int id,
int gx,
int gy,
int gz )
static

Definition at line 47 of file test_sharp_viscous_mpi.cpp.

References NX, NY, and NZ.

Referenced by evalSharp().

◆ colourValue()

double colourValue ( int gx,
int gy,
int gz )
static

Definition at line 64 of file test_sharp_viscous_mpi.cpp.

References gCen, gR, NX, NY, and NZ.

Referenced by evalSharp().

◆ evalSharp()

std::vector< double > evalSharp ( IbmSolver & s,
const int o[3],
const int ln[3] )
static

◆ configure()

void configure ( IbmSolver & s,
bool walls )
static

Definition at line 197 of file test_sharp_viscous_mpi.cpp.

Referenced by main().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 204 of file test_sharp_viscous_mpi.cpp.

References configure(), evalSharp(), gCen, gR, kVals, NX, NY, and NZ.

Variable Documentation

◆ NX

int NX = 16
staticconstexpr

Definition at line 42 of file test_sharp_viscous_mpi.cpp.

◆ NY

int NY = 12
static

Definition at line 42 of file test_sharp_viscous_mpi.cpp.

◆ NZ

int NZ = 10
static

Definition at line 42 of file test_sharp_viscous_mpi.cpp.

◆ G

int G = IbmSolver::G
staticconstexpr

Definition at line 43 of file test_sharp_viscous_mpi.cpp.

◆ kVals

int kVals = 48
staticconstexpr

Definition at line 45 of file test_sharp_viscous_mpi.cpp.

Referenced by evalSharp(), and main().

◆ gCen

double gCen[3] = {7.3, 5.9, 4.6}
static

Definition at line 60 of file test_sharp_viscous_mpi.cpp.

Referenced by colourValue(), and main().

◆ gR

double gR = 3.7
static

Definition at line 60 of file test_sharp_viscous_mpi.cpp.

Referenced by colourValue(), and main().