7#ifndef FVSTRUCTUREDSOLVER2D_H
8#define FVSTRUCTUREDSOLVER2D_H
22 template <MBool isRans>
49 template <MFloat (FvStructuredSolver::*)(MInt) const = &FvStructuredSolver::dummy>
64 template <MBool twoEqRans = false>
66 template <MBool twoEqRans = false>
91 template <fluxmethod ausm, MInt noVars>
93 template <fluxmethod ausm, MInt noVars>
107 template <MBool twoEqRans = false>
109 template <MBool twoEqRans = false>
2D structured solver class
void addGhostPointCoordinateValues()
void applyBoundaryCondition()
void AusmDV(MFloat *QLeft, MFloat *QRight, const MInt dim, const MInt cellId)
void AusmLES_PTHRC(MFloat *QLeft, MFloat *QRight, MInt dim, MInt cellId)
Same AUSM scheme as AusmLES with additional damping controlled by the 4th order pressure derivative....
virtual void computeFrictionPressureCoef(MBool computePower) override
void gather(const MBool, std::vector< std::unique_ptr< StructuredComm< 2 > > > &) override
void viscousFluxCorrection()
void computeCellCentreCoordinates()
void allocateSingularities()
void computePorousRHSCorrection()
void moveGrid(const MBool isRestart, const MBool zeroPos) override
MInt getPointIdFromPoint(MInt origin, MInt incI, MInt incJ)
MInt cellIndex(MInt i, MInt j)
void AusmLES(MFloat *QLeft, MFloat *QRight, const MInt dim, const MInt cellId)
AUSM Central.
void computeReconstructionConstantsSVD()
virtual void initialCondition()
Computation of infinity values for the conservative and primitive variables Initialization ot the ent...
void scatter(const MBool, std::vector< std::unique_ptr< StructuredComm< 2 > > > &) override
MFloat pressure(MInt cellId)
void viscousFluxCompactCorrection()
MFloat getPSI(MInt, MInt)
StructuredBndryCnd< 2 > * m_structuredBndryCnd
virtual void initSolutionStep(MInt mode)
initalize the solution step
void AusmLES_MovingGrid(MFloatScratchSpace &QLeft, MFloatScratchSpace &QRight, MInt dim, MInt cellId)
MInt pointIndex(MInt i, MInt j)
virtual void computePorousRHS(MBool) override
void(FvStructuredSolver2D::* fluxmethod)(MFloat *, MFloat *, MInt, MInt)
static constexpr const MInt nDim
void viscousFluxLESCompact()
FvStructuredSolver2DRans * m_ransSolver
MInt getPointIdFromCell(MInt i, MInt j)
MInt getCellIdFromCell(MInt origin, MInt incI, MInt incJ)
void computePrimitiveVariables() override
void(FvStructuredSolver2D::* viscFluxMethod)()
MFloat crossProduct(MFloat vec1[2], MFloat vec2[2])
void computePrimitiveVariables_()
void extrapolateGhostPointCoordinatesBC()
void Muscl(MInt timerId=-1) override
void(FvStructuredSolver2D::* reconstructSurfaceData)()
virtual void computeTimeStep()
Base class of the structured solver.
This class is a ScratchSpace.
Class for the 2D stuctured boundary conditions.
Base class of the structured boundary conditions.
virtual void computeFrictionPressureCoef(MBool)=0