Go to the documentation of this file.
33 template<
class ThermoType>
53 products_(
thermoDict.subDict(
"burntProducts")),
55 mixture_(
"mixture", fuel_),
65 template<
class ThermoType>
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>
96 fuel_ = ThermoType(
thermoDict.subDict(
"fuel"));
97 oxidant_ = ThermoType(
thermoDict.subDict(
"oxidant"));
98 products_ = ThermoType(
thermoDict.subDict(
"burntProducts"));
102 template<
class ThermoType>
112 else if (speciei == 1)
116 else if (speciei == 2)
123 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..2"
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
The very inhomogeneous mixture contains species ("ft", "fu", "b").
const ThermoType & mixture(const scalar, const scalar) const
hashedWordList speciesTable
A table of species as a hashedWordList.
Specialization of the basicSpecieMixture for combustion.
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
void read(const dictionary &)
Read dictionary.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dictionary & thermoDict
const dimensionSet dimless
Dimensionless.