33 template<
class ThermoType>
55 mixture_(
"mixture", fuel_),
65 template<
class ThermoType>
80 scalar fu =
b*ft + (1.0 -
b)*fres(ft, stoicRatio().value());
81 scalar ox = 1 - ft - (ft - fu)*stoicRatio().
value();
86 scalar pr = 1 - fu - ox;
89 mixture_ += ox*oxidant_;
90 mixture_ += pr*products_;
97 template<
class ThermoType>
108 template<
class ThermoType>
118 else if (speciei == 1)
122 else if (speciei == 2)
129 <<
"Unknown specie index " << speciei <<
". Valid indices are 0..2" const Type & value() const noexcept
Return const reference to value.
The egr mixture contains species ("ft", "b", "egr").
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 dimensionSet dimless
Dimensionless.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
void read(const dictionary &)
Read dictionary.
const ThermoType & mixture(const scalar, const scalar, const scalar) const
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
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 ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
const dictionary & thermoDict
errorManip< error > abort(error &err)
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.