1 word
constProp(initialConditions.get<word>(
"constantProperty"));
4 FatalError <<
"in initialConditions, unknown constantProperty type "
5 <<
constProp << nl <<
" Valid types are: pressure volume."
12 FatalError <<
"in initialConditions, unknown fractionBasis type " << nl
13 <<
"Valid types are: mass or mole."
26 dynamic_cast<const reactingMixture<gasHThermoPhysics>&
>
35 dictionary
fractions(initialConditions.subDict(
"fractions"));
44 const scalar
mTot = sum(
X0);
70 const scalar
mw = 1.0/invW;
96 Info <<
constProp <<
" will be held constant." << nl
97 <<
" p = " <<
p[0] <<
" [Pa]" << nl
98 <<
" T = " <<
thermo.T()[0] <<
" [K] " << nl
99 <<
" rho = " <<
rho[0] <<
" [kg/m3]" << nl
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
PtrList< volScalarField > & Y
const volScalarField & p0
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< gasHThermoPhysics > specieData(Y.size())
dictionary fractions(initialConditions.subDict("fractions"))
scalarList Y0(nSpecie, Zero)
word fractionBasis(initialConditions.get< word >("fractionBasis"))
scalarList X0(nSpecie, Zero)
word constProp(initialConditions.get< word >("constantProperty"))
#define forAll(list, i)
Loop across all elements in list.