1 const word
constProp(initialConditions.lookup(
"constantProperty"));
10 <<
"in initialConditions, unknown constantProperty type " 12 <<
" Valid types are: pressure volume temperature." 16 const word
fractionBasis(initialConditions.lookup(
"fractionBasis"));
19 FatalError <<
"in initialConditions, unknown fractionBasis type " <<
nl 20 <<
"Valid types are: mass or mole." 30 dictionary
fractions(initialConditions.subDict(
"fractions"));
35 const word&
name =
Y[i].name();
59 const word&
name =
Y[i].name();
73 const scalar
mw = 1.0/invW;
77 X0[i] =
Y0[i]*mw/
W[i];
94 scalar R0 = p0/(rho0*
T0);
97 scalar integratedHeat = 0.0;
100 <<
" p = " <<
p[0] <<
" [Pa]" <<
nl 101 <<
" T = " <<
thermo.T()[0] <<
" [K] " <<
nl 102 <<
" rho = " <<
rho[0] <<
" [kg/m^3]" <<
nl
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
rhoReactionThermo & thermo
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
scalarList Y0(nSpecie, 0.0)
scalarList X0(nSpecie, 0.0)
List< scalar > scalarList
A List of scalars.
const word constProp(initialConditions.lookup("constantProperty"))
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimEnergy
const word fractionBasis(initialConditions.lookup("fractionBasis"))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const scalarList W(::W(thermo))
PtrList< volScalarField > & Y
dictionary fractions(initialConditions.subDict("fractions"))
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)