36 #ifndef MultiComponentPhaseModel_H 37 #define MultiComponentPhaseModel_H 39 #include "phaseModel.H" 50 template<
class BasePhaseModel>
73 const word& phaseName,
74 const bool referencePhase,
91 virtual bool pure()
const;
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
virtual void correctSpecies()
Correct the species fractions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar residualAlpha_
Residual phase fraction.
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
Generic GeometricField class.
MultiComponentPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from string.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
word name(const complex &)
Return a string representation of a complex.
virtual ~MultiComponentPhaseModel()
Destructor.
Class which represents a phase with multiple species. Returns the species' mass fractions, and their governing equations.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A class for managing temporary objects.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
UPtrList< volScalarField > YActive_
Pointer list to active species.