7#ifndef STRUCTUREDBNDRYCND3D
8#define STRUCTUREDBNDRYCND3D
19template <MBool isRans>
121 computeFrictionPressureCoef_<true>();
123 computeFrictionPressureCoef_<false>();
125 template <MBool computePower>
187 static constexpr MInt m_reverseCellIdDim[18] = {-1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1, -1, 1, 1, 1};
189 static constexpr MInt m_reverseCellIdGC[18] = {1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0};
3D structured solver class
Base class of the structured solver.
Class for the 3D stuctured boundary conditions.
void initBc2500(MInt)
Rescaling inflow.
MFloat m_isothermalWallTemperature
void readAndDistributeSpongeCoordinates()
void initBc7909(MInt)
Synthetic Turbulence Generation.
void bc2730(MInt)
Simple outflow with pressure gradient for FSC boundary layer.
void bc1006(MInt)
Moving rigid isothermal wall functions.
void bc1004(MInt)
Moving rigid wall functions.
void createSpongeAtBndryCnd()
void initBc2004(MInt)
Initialize with standard pressure extrapolation at inflow or prescribe p_inf at outflow.
void initBc2009(MInt)
Characteristic boundary condition supersonic after shock.
void bc2097(MInt)
Subsonic Inflow for a plenum.
virtual void bc6002(MInt) override
void bc2601(MInt)
Prescribe given profile BC.
void setRotationalBCProperties()
void bc2999(MInt)
Blasius bl inflow boundary condition.
static constexpr MInt m_reverseCellIdGC[18]
void computeFrictionPressureCoef_(const MBool auxDataWindows=false)
New function to compute the skin friction and pressure coefficient and the part for the force coeffic...
MInt cellIndexBC(MInt i, MInt j, MInt k)
FvStructuredSolver3D * m_solver
MFloat generate_rand()
Random number generator.
void bc2002(MInt)
Supersonic Inflow.
void initBc6002(MInt) override
MInt getPointIdfromPoint(MInt origin, MInt incI, MInt incJ, MInt incK)
void crossProduct(MFloat *, MFloat *, MFloat *)
void computeWallDistances()
MFloat generate_rand_weighted()
Weighted random number generator.
void bc1007(MInt)
Oscillating wall.
MInt getPointIdFromCell(MInt i, MInt j, MInt k)
void bc2020(MInt)
Laminar Poiseuille inflow.
void bc2888(MInt)
Falkner-Skan-Cooke inflow boundary condition.
void bc2099(MInt)
Subsonic Inflow with u=(y/delta)^(1/7)
MInt m_noPeriodicConnections
void bc3001(MInt)
Streamline symmetry.
static constexpr const MInt nDim
void initBc2601(MInt)
Prescribe profile BC.
MInt pointIndex(MInt i, MInt j, MInt k)
MInt cellIndex(MInt i, MInt j, MInt k)
void bc2700(MInt)
supersonic inflow with imposed acoustic or entropy waves
std::pair< MInt, MInt > getMirrorCellIdPair(MInt i, MInt j, MInt k, MInt face)
MFloat ** m_stgGlobalLengthScales
MFloat temperature(MInt cellId)
static constexpr MInt m_reverseCellIdDim[18]
void correctBndryCndIndices()
void initBc2600(MInt)
Prescribe profile BC.
void bc2600(MInt)
Prescribe given profile BC.
void bc2001(MInt)
Subsonic Inflow.
void bc2003(MInt)
Subsonic in/outflow simple.
virtual void computeFrictionPressureCoef(MBool computePower) override
void bc2014(MInt)
Subsonic rotational inflow.
MFloat dist(MFloat *a, MFloat *b)
MFloat * m_2601streamwisePos
MInt getReverseCellId(MInt i, MInt j, MInt k, MInt face)
MFloat pressure(MInt cellId)
void bc2009(MInt)
Outflow condition after shock.
void initBc2402(MInt)
Channel flow / Pipe Flow.
void bc2500(MInt)
Rescaling Boundary Conditions.
void initBc2700(MInt)
Init for the acoustic and entropy waves.
void bc7909(MInt)
Reformulated Synthetic Turbulence Generation.
MInt getExtrNghbrId(MInt cellId, MInt face)
void bc2005(MInt)
Supersonic outflow.
Base class of the structured boundary conditions.