35 #ifndef inhomogeneousMixture_H
36 #define inhomogeneousMixture_H
50 template<
class ThermoType>
72 enum species { FT, B };
114 return "inhomogeneousMixture<" + ThermoType::typeName() +
'>';
124 scalar
fres(
const scalar ft)
const
126 return max(ft - (scalar(1) - ft)/stoicRatio_.
value(), scalar(0));
135 const scalarFieldListSlice&
141 const scalarFieldListSlice&
147 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.
Foam::inhomogeneousMixture.
static wordList specieNames()
Return the specie names.
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.
static word typeName()
Return the instantiated type name.
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.
void operator=(const inhomogeneousMixture< ThermoType > &)=delete
Disallow default bitwise assignment.
scalar fres(const scalar ft) const
Return the residual fraction of fuel in the burnt mixture.
virtual ~inhomogeneousMixture()
Destructor.
A class for handling words, derived from string.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)