30 template<
class ThermoType>
33 stoicRatio_(
"stoichiometricAirFuelMassRatio",
dimless,
dict),
34 fuel_(
"fuel",
dict.subDict(
"fuel")),
35 oxidant_(
"oxidant",
dict.subDict(
"oxidant")),
36 products_(
"burntProducts",
dict.subDict(
"burntProducts")),
37 mixture_(
"mixture", fuel_)
43 template<
class ThermoType>
51 if (ft < 0.0001 && egr < 0.0001)
57 scalar fu =
b*ft + (1 -
b)*fres(ft);
58 scalar ox = 1 - ft - (ft - fu)*stoicRatio_.value();
63 const scalar pr = 1 - fu - ox;
66 mixture_ += ox*oxidant_;
67 mixture_ += pr*products_;
74 template<
class ThermoType>
78 const scalarFieldListSlice&
Y
85 template<
class ThermoType>
89 const scalarFieldListSlice&
Y
96 template<
class ThermoType>
100 const scalarFieldListSlice&,
108 template<
class ThermoType>
116 template<
class ThermoType>
124 template<
class ThermoType>
131 oxidant_ = ThermoType(
"oxidant",
dict.
subDict(
"oxidant"));
132 products_ = ThermoType(
"burntProducts",
dict.
subDict(
"burntProducts"));
static const Foam::dimensionedScalar B("B", Foam::dimless, 18.678)
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
egrMixture(const dictionary &)
Construct from a dictionary.
ThermoType transportMixtureType
Mixing type for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const thermoType & mixture(const scalar ft, const scalar b, const scalar egr) const
Return the mixture for the given composition.
void read(const dictionary &)
Read dictionary.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
const dimensionSet dimless
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y