31 template<
class ThermoType>
37 template<
class ThermoType>
53 reactants_(thermoDict.
subDict(
"reactants")),
54 products_(thermoDict.
subDict(
"products")),
55 mixture_(
"mixture", reactants_),
62 template<
class ThermoType>
78 mixture_ = b*reactants_;
79 mixture_ += (1 -
b)*products_;
86 template<
class ThermoType>
89 reactants_ = ThermoType(thermoDict.
subDict(
"reactants"));
90 products_ = ThermoType(thermoDict.
subDict(
"products"));
94 template<
class ThermoType>
104 else if (speciei == 1)
111 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..1" intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const thermoType & mixture(const scalar) const
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
hashedWordList speciesTable
A table of species as a hashedWordList.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
A class for handling words, derived from string.
Specialisation of the basicMixture for combustion.
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
errorManip< error > abort(error &err)
Foam::homogeneousMixture.
PtrList< volScalarField > & Y
Mesh data needed to do the Finite Volume discretisation.
void read(const dictionary &)
Read dictionary.
homogeneousMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.