39 #ifndef inhomogeneousEGRMixture_H
40 #define inhomogeneousEGRMixture_H
54 template<
class ThermoType>
76 enum species { FT, FU, B, EGR };
121 return "inhomogeneousEGRMixture<" + ThermoType::typeName() +
'>';
127 return {
"ft",
"fu",
"b",
"egr"};
131 scalar
fres(
const scalarFieldListSlice&
Y)
const;
144 const scalarFieldListSlice&
150 const scalarFieldListSlice&
156 const scalarFieldListSlice&,
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Combustion mixture for inhomogeneous lean, stoichiometric or rich conditions with exhaust gas recircu...
static wordList specieNames()
Return the specie names.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
virtual ~inhomogeneousEGRMixture()
Destructor.
void operator=(const inhomogeneousEGRMixture< ThermoType > &)=delete
Disallow default bitwise assignment.
static word typeName()
Return the instantiated type name.
inhomogeneousEGRMixture(const dictionary &)
Construct from a dictionary.
ThermoType transportMixtureType
Mixing type for transport properties.
scalar fres(const scalarFieldListSlice &Y) const
Return the residual fraction of fuel in the burnt mixture.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
void read(const dictionary &)
Read dictionary.
void reset(PtrList< volScalarField > &Y) const
Reset the mixture to an unburnt state and update EGR.
const thermoType & mixture(const scalar ft, const scalar fu, const scalar egr) const
Return the mixture for the given composition.
A class for handling words, derived from string.
PtrList< volScalarField > & Y