1 const word
constProp(initialConditions.lookup(
"constantProperty"));
10 <<
"in initialConditions, unknown constantProperty type "
12 <<
" Valid types are: pressure volume temperature."
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;
100 <<
" p = " <<
p[0] <<
" [Pa]" <<
nl
101 <<
" T = " <<
thermo.T()[0] <<
" [K] " <<
nl
102 <<
" rho = " <<
rho[0] <<
" [kg/m^3]" <<
nl
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimEnergy
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
List< scalar > scalarList
A List of scalars.
const dimensionSet dimMass
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dictionary fractions(initialConditions.subDict("fractions"))
const word fractionBasis(initialConditions.lookup("fractionBasis"))
const scalarList W(::W(thermo))
scalarList X0(nSpecie, 0.0)
const word constProp(initialConditions.lookup("constantProperty"))
scalarList Y0(nSpecie, 0.0)
PtrList< volScalarField > & Y
fluidMulticomponentThermo & thermo