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>
70 return reaction_->R(speciei);
74 template<
class BasePhaseModel>
78 return reaction_->R(Yi);
82 template<
class BasePhaseModel>
86 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 ~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.
Base class for combustion models.
Class to represent a system of phases.
A class for managing temporary objects.
A class for handling words, derived from string.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.