34 template<
class BasePhaseModel>
38 const word& phaseName,
39 const bool referencePhase,
43 BasePhaseModel(fluid, phaseName, referencePhase, index),
50 template<
class BasePhaseModel>
57 template<
class BasePhaseModel>
62 BasePhaseModel::correctReactions();
66 template<
class BasePhaseModel>
73 template<
class BasePhaseModel>
77 return reaction_->R(speciei);
81 template<
class BasePhaseModel>
85 return reaction_->R(Yi);
89 template<
class BasePhaseModel>
93 return reaction_->Qdot();
Generic GeometricField class.
virtual void correctReactions()
Correct the reaction rates.
ReactingPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
virtual bool inert() const
Return whether the phase is inert (i.e., not reacting)
virtual ~ReactingPhaseModel()
Destructor.
virtual tmp< volScalarField::Internal > R(const label speciei) const
Return the consumption rate for a specie.
virtual tmp< volScalarField > Qdot() const
Return heat release rate.
Class to represent a system of phases.
Base class for reaction models.
A class for managing temporary objects.
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.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)