32 template<
class BasePhaseModel,
class ReactionType>
35 const phaseSystem&
fluid,
36 const word& phaseName,
40 BasePhaseModel(fluid, phaseName, index),
41 reaction_(ReactionType::
New(this->thermo_(), this->turbulence_()))
47 template<
class BasePhaseModel,
class ReactionType>
54 template<
class BasePhaseModel,
class ReactionType>
63 template<
class BasePhaseModel,
class ReactionType>
70 return reaction_->R(Yi);
74 template<
class BasePhaseModel,
class ReactionType>
78 return reaction_->Qdot();
virtual tmp< fvScalarMatrix > R(volScalarField &Yi) const
Return the species fraction equation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
ReactingPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
virtual tmp< volScalarField > Qdot() const
Return heat release rate.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~ReactingPhaseModel()
Destructor.
virtual void correctThermo()
Correct the thermodynamics.
A class for managing temporary objects.