34 template<
class BasePhaseModel,
class ReactionType>
38 const word& phaseName,
42 BasePhaseModel(
fluid, phaseName, index),
43 reaction_(ReactionType::
New(this->thermo_(), this->turbulence_()))
49 template<
class BasePhaseModel,
class ReactionType>
56 template<
class BasePhaseModel,
class ReactionType>
65 template<
class BasePhaseModel,
class ReactionType>
72 return reaction_->R(Yi);
76 template<
class BasePhaseModel,
class ReactionType>
80 return reaction_->Qdot();
ReactingPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
virtual ~ReactingPhaseModel()
Destructor.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from Foam::string.
virtual tmp< fvScalarMatrix > R(volScalarField &Yi) const
Return the species fraction equation.
virtual void correctThermo()
Correct the thermodynamics.
virtual tmp< volScalarField > Qdot() const
Return heat release rate.
A class for managing temporary objects.