31 template<
class ChemistryModel>
39 coeffsDict_(this->subDict(
"odeCoeffs")),
47 template<
class ChemistryModel>
54 template<
class ChemistryModel>
74 odeSolver_->solve(0, deltaT, cTp_, subDeltaT);
78 c[i] =
max(0.0, cTp_[i]);
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An abstract base class for solving chemistry.
ode(const fvMesh &mesh, const word &phaseName)
Construct from mesh and phase name.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
virtual ~ode()
Destructor.
virtual void solve(scalarField &c, scalar &T, scalar &p, scalar &deltaT, scalar &subDeltaT) const
Update the concentrations and return the chemical time.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)