32 template<
class BasePhaseModel,
class ReactionType>
35 const phaseSystem&
fluid,
36 const word& phaseName,
37 const bool referencePhase,
41 BasePhaseModel(fluid, phaseName, referencePhase, index),
42 reaction_(ReactionType::
New(this->thermo_(), this->turbulence_()))
48 template<
class BasePhaseModel,
class ReactionType>
55 template<
class BasePhaseModel,
class ReactionType>
64 template<
class BasePhaseModel,
class ReactionType>
71 return reaction_->R(Yi);
75 template<
class BasePhaseModel,
class ReactionType>
79 return reaction_->Qdot();
virtual tmp< fvScalarMatrix > R(volScalarField &Yi) const
Return the fuel consumption rate matrix.
ReactingPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual tmp< volScalarField > Qdot() const
Return heat release rate.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
virtual ~ReactingPhaseModel()
Destructor.
virtual void correctReactions()
Correct the reaction rates.
A class for managing temporary objects.