PlasCom2  1.0
XPACC Multi-physics simluation application
simulation::domain::boundary::bc::navierstokes Namespace Reference

Enumerations

enum  BCType {
  SAT_FARFIELD =0, SAT_NOSLIP_ISOTHERMAL, SAT_SLIP_ADIABATIC, HOLE,
  SPONGE, NUMBCTYPE
}
 

Functions

int ResolveBCName (const std::string &inName)
 
std::string ResolveBCType (int inType)
 
void LinearSponge (const std::vector< size_t > &bufferSizes, int normalDir, const pcpp::IndexIntervalType &spongeRegion, const pcpp::IndexIntervalType &partitionOpInterval, const pcpp::IndexIntervalType &opBufferInterval, const double *bcParams, const int *bcFlags, const int numEquations, const std::vector< double *> &stateBuffers, const std::vector< double *> &targetBuffers, std::vector< double *> &rhsBuffers)
 
void SpongeZone (const std::vector< size_t > &bufferSizes, int normalDir, const pcpp::IndexIntervalType &spongeRegion, const pcpp::IndexIntervalType &partitionOpInterval, const pcpp::IndexIntervalType &opBufferInterval, const double *bcParams, const int *bcFlags, const int *iMask, const int disabledMask, const int numEquations, const std::vector< double *> &stateBuffers, const std::vector< double *> &targetBuffers, std::vector< double *> &rhsBuffers)
 

Variables

static const char * bcNames [] = {"SAT_FARFIELD","SAT_NOSLIP_ISOTHERMAL","SAT_SLIP_ADIABATIC","HOLE","SPONGE","UNKNOWN"}
 

Enumeration Type Documentation

◆ BCType

enum BCType
Enumerator
SAT_FARFIELD 
SAT_NOSLIP_ISOTHERMAL 
SAT_SLIP_ADIABATIC 
HOLE 
SPONGE 
NUMBCTYPE 

Definition at line 9 of file NavierStokesBC.H.

Function Documentation

◆ LinearSponge()

void LinearSponge ( const std::vector< size_t > &  bufferSizes,
int  normalDir,
const pcpp::IndexIntervalType spongeRegion,
const pcpp::IndexIntervalType partitionOpInterval,
const pcpp::IndexIntervalType opBufferInterval,
const double *  bcParams,
const int *  bcFlags,
const int  numEquations,
const std::vector< double *> &  stateBuffers,
const std::vector< double *> &  targetBuffers,
std::vector< double *> &  rhsBuffers 
)
Todo:
use kernels for sponge bc operation
Todo:
use kernels for sponge bc operation

Definition at line 28 of file NavierStokesBC.C.

References opDir.

Referenced by rhs< GridT, StateT, OperatorT >::HandleBoundaryConditions().

Here is the caller graph for this function:

◆ ResolveBCName()

int ResolveBCName ( const std::string &  inName)

Definition at line 10 of file NavierStokesBC.C.

References bcNames, and NUMBCTYPE.

◆ ResolveBCType()

std::string ResolveBCType ( int  inType)

Definition at line 19 of file NavierStokesBC.C.

References bcNames, and NUMBCTYPE.

◆ SpongeZone()

void SpongeZone ( const std::vector< size_t > &  bufferSizes,
int  normalDir,
const pcpp::IndexIntervalType spongeRegion,
const pcpp::IndexIntervalType partitionOpInterval,
const pcpp::IndexIntervalType opBufferInterval,
const double *  bcParams,
const int *  bcFlags,
const int *  iMask,
const int  disabledMask,
const int  numEquations,
const std::vector< double *> &  stateBuffers,
const std::vector< double *> &  targetBuffers,
std::vector< double *> &  rhsBuffers 
)

Definition at line 178 of file NavierStokesBC.C.

Referenced by rhs< GridT, StateT, OperatorT >::HandleBoundaryConditions().

Here is the caller graph for this function:

Variable Documentation

◆ bcNames

const char* bcNames[] = {"SAT_FARFIELD","SAT_NOSLIP_ISOTHERMAL","SAT_SLIP_ADIABATIC","HOLE","SPONGE","UNKNOWN"}
static

Definition at line 10 of file NavierStokesBC.H.

Referenced by ResolveBCName(), and ResolveBCType().