33template<
class ThermoType>
34Foam::homogeneousMixture<ThermoType>::homogeneousMixture
51 mixture_(
"mixture", reactants_),
58template<
class ThermoType>
74 mixture_ =
b*reactants_;
75 mixture_ += (1 -
b)*products_;
82template<
class ThermoType>
85 reactants_ = ThermoType(
thermoDict.subDict(
"reactants"));
86 products_ = ThermoType(
thermoDict.subDict(
"products"));
90template<
class ThermoType>
100 else if (speciei == 1)
107 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..1"
basicCombustionMixture(const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
Construct from dictionary, specie names, mesh and phase name.
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.
void read(const dictionary &)
Read dictionary.
const ThermoType & mixture(const scalar) const
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
PtrList< volScalarField > & Y
const dictionary & thermoDict
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
hashedWordList speciesTable
A table of species as a hashedWordList.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...