Go to the documentation of this file.
33 template<
class ThermoType>
51 mixture_(
"mixture", reactants_),
58 template<
class ThermoType>
74 mixture_ =
b*reactants_;
75 mixture_ += (1 -
b)*products_;
82 template<
class ThermoType>
85 reactants_ = ThermoType(
thermoDict.subDict(
"reactants"));
86 products_ = ThermoType(
thermoDict.subDict(
"products"));
90 template<
class ThermoType>
100 else if (speciei == 1)
107 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..1"
A class for handling words, derived from Foam::string.
void read(const dictionary &)
Read dictionary.
The homogeneous mixture contains species ("b").
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
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
const ThermoType & mixture(const scalar) const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dictionary & thermoDict
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.