Go to the documentation of this file.
32 template<
class ChemistryModel>
36 coeffsDict_(this->subDict(
"odeCoeffs")),
44 template<
class ChemistryModel>
51 template<
class ChemistryModel>
63 if (odeSolver_->resize())
65 odeSolver_->resizeField(cTp_);
78 odeSolver_->solve(0, deltaT, cTp_, subDeltaT);
82 c[i] =
max(0.0, cTp_[i]);
Abstract base-class for ODE system solvers.
An abstract base class for solving chemistry.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Generic templated field type.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
label max(const labelHashSet &set, label maxValue=labelMin)
ode(typename ChemistryModel::reactionThermo &thermo)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual void solve(scalarField &c, scalar &T, scalar &p, scalar &deltaT, scalar &subDeltaT) const
const dimensionedScalar c