32 template<
class BasePhaseModel,
class ReactionType>
35 const phaseSystem& fluid,
36 const word& phaseName,
40 BasePhaseModel(fluid, phaseName, index, false),
46 combustionModel::combustionPropertiesName,
51 this->thermo_ = &reaction_->thermo();
53 this->thermo_->validate
64 template<
class BasePhaseModel,
class ReactionType>
71 template<
class BasePhaseModel,
class ReactionType>
74 reaction_->setTurbulence
76 const_cast<compressibleTurbulenceModel&>
78 this->
mesh().
template lookupObject<compressibleTurbulenceModel>
95 template<
class BasePhaseModel,
class ReactionType>
102 return reaction_->R(Yi);
106 template<
class BasePhaseModel,
class ReactionType>
110 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)
static const char *const typeName
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
static const word propertiesName
Default name of the turbulence properties dictionary.
static word groupName(Name name, const word &group)
virtual ~ReactingPhaseModel()
Destructor.
virtual void correctThermo()
Correct the thermodynamics.
word name(const complex &)
Return a string representation of a complex.
A class for managing temporary objects.