32 template<
class BasePhaseModel,
class ReactionType>
35 const phaseSystem& fluid,
36 const word& phaseName,
40 BasePhaseModel(fluid, phaseName, index, false),
46 this->thermo_ = &reaction_->thermo();
48 this->thermo_->validate
59 template<
class BasePhaseModel,
class ReactionType>
66 template<
class BasePhaseModel,
class ReactionType>
69 reaction_->setTurbulence
71 const_cast<compressibleTurbulenceModel&>
73 this->
mesh().
template lookupObject<compressibleTurbulenceModel>
84 BasePhaseModel::correctThermo();
90 template<
class BasePhaseModel,
class ReactionType>
97 return reaction_->R(Yi);
101 template<
class BasePhaseModel,
class ReactionType>
105 return reaction_->Sh();
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< fvScalarMatrix > R(volScalarField &Yi) const
Return the species fraction equation.
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.
virtual tmp< volScalarField > Sh() const
Return the reacton heat source.
A class for managing temporary objects.