30 template<
class ThermoType>
36 stoicRatio_(
"stoichiometricAirFuelMassRatio",
dimless,
dict),
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>
59 const scalar fu =
b*ft + (1 -
b)*fres(ft);
60 const scalar ox = 1 - ft - (ft - fu)*stoicRatio_.value();
61 const scalar pr = 1 - fu - ox;
64 mixture_ += ox*oxidant_;
65 mixture_ += pr*products_;
72 template<
class ThermoType>
76 const scalarFieldListSlice&
Y
83 template<
class ThermoType>
87 const scalarFieldListSlice&
Y
94 template<
class ThermoType>
98 const scalarFieldListSlice&,
106 template<
class ThermoType>
110 const scalarFieldListSlice&
Y
117 template<
class ThermoType>
121 const scalarFieldListSlice&
Y
128 template<
class ThermoType>
135 oxidant_ = ThermoType(
"oxidant",
dict.
subDict(
"oxidant"));
136 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 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.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
ThermoType transportMixtureType
Mixing type for transport properties.
inhomogeneousMixture(const dictionary &)
Construct from a dictionary.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
void read(const dictionary &)
Read dictionary.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const dimensionSet dimless
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< volScalarField > & Y