30 template<
class ThermoType>
37 reactants_(
"reactants",
dict.subDict(
"reactants")),
38 products_(
"products",
dict.subDict(
"products")),
39 mixture_(
"mixture", reactants_)
45 template<
class ThermoType>
61 mixture_ =
b*reactants_;
62 mixture_ += (1 -
b)*products_;
69 template<
class ThermoType>
73 const scalarFieldListSlice&
Y
80 template<
class ThermoType>
84 const scalarFieldListSlice&
Y
91 template<
class ThermoType>
95 const scalarFieldListSlice&,
103 template<
class ThermoType>
107 const scalarFieldListSlice&
Y
114 template<
class ThermoType>
118 const scalarFieldListSlice&
Y
125 template<
class ThermoType>
129 reactants_ = ThermoType(
"reactants",
dict.
subDict(
"reactants"));
130 products_ = ThermoType(
"products",
dict.
subDict(
"products"));
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 transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
ThermoType transportMixtureType
Mixing type for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
homogeneousMixture(const dictionary &)
Construct from a dictionary.
void read(const dictionary &)
Read dictionary.
const thermoType & mixture(const scalar) const
Return the mixture for the given composition.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
static const coefficient B("B", dimless, 18.678)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
PtrList< volScalarField > & Y