30 template<
class ThermoType>
36 stoicRatio_(
dict.
lookup<scalar>(
"stoichiometricAirFuelMassRatio")),
37 fuel_(
"fuel",
dict.subDict(
"fuel")),
38 oxidant_(
"oxidant",
dict.subDict(
"oxidant")),
39 products_(
"burntProducts",
dict.subDict(
"burntProducts")),
40 mixture_(
"mixture", fuel_)
46 template<
class ThermoType>
52 return max(ft - (scalar(1) - ft)/stoicRatio_, scalar(0));
56 template<
class ThermoType>
59 const scalarFieldListSlice&
Y
66 template<
class ThermoType>
69 const scalarFieldListSlice&
Y
72 return stoicRatio_*
Y[FT]/
max(scalar(1) -
Y[FT], small);
76 template<
class ThermoType>
89 const scalar fu =
b*ft + (1 -
b)*fres(ft);
90 const scalar ox = 1 - ft - (ft - fu)*stoicRatio_;
91 const scalar pr = 1 - fu - ox;
94 mixture_ += ox*oxidant_;
95 mixture_ += pr*products_;
102 template<
class ThermoType>
106 const scalarFieldListSlice&
Y
113 template<
class ThermoType>
117 const scalarFieldListSlice&
Y
124 template<
class ThermoType>
128 const scalarFieldListSlice&,
136 template<
class ThermoType>
140 const scalarFieldListSlice&
Y
147 template<
class ThermoType>
151 const scalarFieldListSlice&
Y
158 template<
class ThermoType>
161 stoicRatio_ =
dict.
lookup<scalar>(
"stoichiometricAirFuelMassRatio");
163 oxidant_ = ThermoType(
"oxidant",
dict.
subDict(
"oxidant"));
164 products_ = ThermoType(
"burntProducts",
dict.
subDict(
"burntProducts"));
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const thermoType & mixture(const scalar ft, const scalar b) const
Return the mixture for the given composition.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
leanInhomogeneousMixture(const dictionary &)
Construct from a dictionary.
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.
scalar Phi(const scalarFieldListSlice &Y) const
Return the fuel-oxidant equivalence ratio.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
void read(const dictionary &)
Read dictionary.
scalar fres(const scalar ft) const
Return the residual fraction of fuel in the burnt mixture.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
static const coefficient B("B", dimless, 18.678)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
PtrList< volScalarField > & Y