50 template<
class ThermoType>
72 enum species { FT, B, EGR };
114 return "egrMixture<" + ThermoType::typeName() +
'>';
120 return {
"ft",
"b",
"egr"};
124 scalar
fres(
const scalar ft)
const
126 return max(ft - (scalar(1) - ft)/stoicRatio_.
value(), scalar(0));
140 const scalarFieldListSlice&
146 const scalarFieldListSlice&
152 const scalarFieldListSlice&,
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
static wordList specieNames()
Return the specie names.
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.
static word typeName()
Return the instantiated type name.
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.
virtual ~egrMixture()
Destructor.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
scalar fres(const scalar ft) const
Return the residual fraction of fuel in the burnt mixture.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
void operator=(const egrMixture< ThermoType > &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)