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>
58 const scalar fu =
max(ft - (scalar(1) - ft)/stoicRatio_, scalar(0));
59 const scalar ox = 1 - ft - (ft - fu)*stoicRatio_;
60 const scalar pr = 1 - fu - ox;
63 mixture_ += ox*oxidant_;
64 mixture_ += pr*products_;
71 template<
class ThermoType>
75 const scalarFieldListSlice&
Y
82 template<
class ThermoType>
86 const scalarFieldListSlice&
Y
93 template<
class ThermoType>
97 const scalarFieldListSlice&,
105 template<
class ThermoType>
110 oxidant_ = ThermoType(
"oxidant",
dict.
subDict(
"oxidant"));
111 products_ = ThermoType(
"products",
dict.
subDict(
"products"));
Templated burnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
ThermoType transportMixtureType
Mixing type for transport properties.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
void read(const dictionary &)
Read dictionary.
BInhomogeneousMixture(const dictionary &)
Construct from a dictionary.
Burnt gas combustion mixture for inhomogeneous lean, stoichiometric or rich conditions.
void read(const dictionary &)
Read 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.
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
PtrList< volScalarField > & Y