33 template<
class BasePhaseModel>
36 const phaseSystem&
fluid,
37 const word& phaseName,
38 const bool referencePhase,
42 BasePhaseModel(fluid, phaseName, referencePhase, index),
43 reaction_(combustionModel::
New(this->thermo_(), this->turbulence_()))
49 template<
class BasePhaseModel>
56 template<
class BasePhaseModel>
65 template<
class BasePhaseModel>
71 return reaction_->R(Yi);
75 template<
class BasePhaseModel>
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)
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
virtual tmp< volScalarField > Qdot() const
Return heat release rate.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~ReactingPhaseModel()
Destructor.
virtual void correctReactions()
Correct the reaction rates.
A class for managing temporary objects.