Go to the documentation of this file.
33 template<
class ThermoType>
55 mixture_(
"mixture", fuel_),
64 template<
class ThermoType>
77 scalar fu =
b*ft + (1.0 -
b)*fres(ft, stoicRatio().value());
78 scalar ox = 1 - ft - (ft - fu)*stoicRatio().
value();
79 scalar pr = 1 - fu - ox;
82 mixture_ += ox*oxidant_;
83 mixture_ += pr*products_;
90 template<
class ThermoType>
101 template<
class ThermoType>
111 else if (speciei == 1)
115 else if (speciei == 2)
122 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..2"
A class for handling words, derived from Foam::string.
const Type & value() const
const dimensionedScalar b
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
hashedWordList speciesTable
A table of species as a hashedWordList.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
Specialization of the basicSpecieMixture for combustion.
const ThermoType & mixture(const scalar, const scalar) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
PtrList< volScalarField > & Y
#define FatalErrorInFunction
const dictionary & thermoDict
void read(const dictionary &)
The inhomogeneous mixture contains species ("ft", "b").
const dimensionSet dimless
const ThermoType & getLocalThermo(const label speciei) const