20 : m_noSpecies(noSpecies), noVariables(nDim + 2 + noSpecies) {
39 :
m_noSpecies(noSpecies), noVariables(nDim + 2 + noSpecies) {
57 for(
MInt i = 0; i < noVariables; i++) {
58 names[i] = varNames[i];
142 MString m_viscousFluxScheme =
"FIVE_POINT";
143 m_viscousFluxScheme = Context::getSolverProperty<MString>(
"viscousFluxScheme",
m_solverId, AT_, &m_viscousFluxScheme);
void mAlloc(T *&a, const MLong N, const MString &objectName, MString function)
allocates memory for one-dimensional array 'a' of size N
MBool mDeallocate(T *&a)
deallocates the memory previously allocated for element 'a'
static MBool propertyExists(const MString &name, MInt solver=m_noSolvers)
This function checks if a property exists in general.
MFloat m_sutherlandConstant
ConservativeVariables * CV
MFloat m_sutherlandPlusOneThermal
MFloat m_sutherlandPlusOne
MFloat m_centralizeSurfaceVariablesFactor
MFloat m_enhanceThreePointViscFluxFactor
FvSysEqnNS(const MInt solverId, const MInt noSpecies)
MFloat m_referenceTemperature
MFloat m_F1BGammaMinusOne
MFloat m_sutherlandConstantThermal
MInt string2enum(MString theString)
This global function translates strings in their corresponding enum values (integer values)....
std::basic_string< char > MString
Static indices for accessing conservative variables in nDim spatial dimensions.
static constexpr MInt RHO_C
ConservativeVariables(const MInt noSpecies)
Static indices for accessing flux variables in this SysEqn identical to the conservative variables.
FluxVariables(const MInt noSpecies)
Static indices for accessing primitive variables in nDim spatial dimensions.
void getPrimitiveVariableNames(MString *names)
PrimitiveVariables(const MInt noSpecies)