30 template<
class ThermoType>
37 fuel_(
"fuel",
dict.subDict(
"fuel")),
38 oxidant_(
"oxidant",
dict.subDict(
"oxidant")),
39 products_(
"products",
dict.subDict(
"products")),
40 mixture_(
"mixture", fuel_)
46 template<
class ThermoType>
64 <<
"Cannot return specieThermo for specie " << speciei
72 template<
class ThermoType>
79 if (fu < 0.0001 && egr < 0.0001)
85 const scalar ox = 1 - fu - egr;
88 mixture_ += ox*oxidant_;
89 mixture_ += egr*products_;
96 template<
class ThermoType>
100 const scalarFieldListSlice&
Y
107 template<
class ThermoType>
111 const scalarFieldListSlice&
Y
118 template<
class ThermoType>
122 const scalarFieldListSlice&,
130 template<
class ThermoType>
135 oxidant_ = ThermoType(
"oxidant",
dict.
subDict(
"oxidant"));
136 products_ = ThermoType(
"products",
dict.
subDict(
"products"));
const ThermoType & specieThermo(const label speciei) const
ThermoType transportMixtureType
Mixing type for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const thermoType & mixture(const scalar fu, const scalar egr) const
Return the mixture for the given composition.
void read(const dictionary &)
Read dictionary.
UInhomogeneousEGRMixture(const dictionary &)
Construct from a dictionary.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Unburnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions with exhaust...
void read(const dictionary &)
Read dictionary.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
PtrList< volScalarField > & Y