35 #ifndef veryInhomogeneousMixture_H
36 #define veryInhomogeneousMixture_H
50 template<
class ThermoType>
72 enum species { FT, FU, B };
117 return "veryInhomogeneousMixture<" + ThermoType::typeName() +
'>';
123 return {
"ft",
"fu",
"b"};
127 scalar
fres(
const scalar ft)
const
129 return max(ft - (scalar(1) - ft)/stoicRatio_.
value(), scalar(0));
138 const scalarFieldListSlice&
144 const scalarFieldListSlice&
150 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::veryInhomogeneousMixture.
static wordList specieNames()
Return the specie names.
veryInhomogeneousMixture(const dictionary &)
Construct from a dictionary.
const thermoType & reactants(const scalarFieldListSlice &) const
Return the reactant mixture.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
static word typeName()
Return the instantiated type name.
virtual ~veryInhomogeneousMixture()
Destructor.
ThermoType transportMixtureType
Mixing type for transport properties.
void operator=(const veryInhomogeneousMixture< ThermoType > &)=delete
Disallow default bitwise assignment.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
const thermoType & products(const scalarFieldListSlice &) const
Return the product mixture.
void read(const dictionary &)
Read dictionary.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
const thermoType & mixture(const scalar ft, const scalar fu) const
Return the mixture for the given composition.
scalar fres(const scalar ft) const
Return the residual fraction of fuel in the burnt mixture.
A class for handling words, derived from string.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)