35 #ifndef EulerImplicit_H 36 #define EulerImplicit_H 53 template<
class ChemistryModel>
An abstract base class for solving chemistry.
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...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
TypeName("EulerImplicit")
Runtime type information.
rhoReactionThermo & thermo
const dimensionedScalar & c
Speed of light in a vacuum.
EulerImplicit(const typename ChemistryModel::reactionThermo &thermo)
Construct from thermo.
virtual void solve(scalar &p, scalar &T, scalarField &c, const label li, scalar &deltaT, scalar &subDeltaT) const
Update the concentrations and return the chemical time.
A simple square matrix solver with scalar coefficients.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const scalar RR
Universal gas constant (default in [J/kmol/K])
An Euler implicit solver for chemistry.
void updateRRInReactionI(const label index, const scalar pr, const scalar pf, const scalar corr, const label lRef, const label rRef, const scalar p, const scalar T, simpleMatrix< scalar > &RR) const
virtual ~EulerImplicit()
Destructor.