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>
90 template<
class ThermoType>
100 else if (speciei == 1)
107 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..1" error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const ThermoType & mixture(const scalar) const
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from Foam::string.
Specialization of the basicSpecieMixture for combustion.
const dictionary & thermoDict
errorManip< error > abort(error &err)
The homogeneous mixture contains species ("b").
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
PtrList< volScalarField > & Y
Mesh data needed to do the Finite Volume discretisation.
void read(const dictionary &)
Read dictionary.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.