Go to the documentation of this file.
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]);
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
ode(const fvMesh &mesh, const word &phaseName)
Construct from mesh and phase name.
An abstract base class for solving chemistry.
virtual ~ode()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
Mesh data needed to do the Finite Volume discretisation.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void solve(scalarField &c, scalar &T, scalar &p, scalar &deltaT, scalar &subDeltaT) const
Update the concentrations and return the chemical time.
const dimensionedScalar c
Speed of light in a vacuum.