19 "u",
"v",
"w",
"rho",
"p",
"k",
"omega",
"c"};
22 "u",
"v",
"w",
"rho",
"p",
"nu",
"c"};
25 "u",
"v",
"w",
"rho",
"p",
"nu",
"c"};
28 "u",
"v",
"w",
"rho",
"p",
"k",
"omega",
"c"};
30template <MInt nDim,
class RANSModel>
38template <MInt nDim,
class RANSModel>
40 : m_noSpecies(noSpecies), noVariables(nDim + 2 + m_noRansEquations + noSpecies) {
55template <MInt nDim,
class RANSModel>
61template <MInt nDim,
class RANSModel>
64template <MInt nDim,
class RANSModel>
81template <MInt nDim,
class RANSModel>
87template <MInt nDim,
class RANSModel>
91 for(
MInt i = 0; i < noVariables; i++) {
92 names[i] = varNames[i];
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'
ConservativeVariables * CV
FvSysEqnRANS(const MInt solverId, const MInt noSpecies)
static constexpr MInt m_noRansEquations
std::basic_string< char > MString
Static indices for accessing flux variables in this SysEqn identical to the conservative variables.
Static indices for accessing primitive variables in nDim spatial dimensions.
Static indices for accessing conservative variables in nDim spatial dimensions.
static constexpr MInt RHO_N
static constexpr MInt m_noRansEquations
static constexpr MInt RHO_C
ConservativeVariables(const MInt noSpecies)
FluxVariables(const MInt noSpecies)
PrimitiveVariables(const MInt noSpecies)
static constexpr MInt m_noRansEquations
void getPrimitiveVariableNames(MString *names)