38 #ifndef MultiComponentPhaseModel_H 39 #define MultiComponentPhaseModel_H 41 #include "phaseModel.H" 52 template<
class BasePhaseModel>
53 class MultiComponentPhaseModel
81 const word& phaseName,
98 virtual bool pure()
const;
127 #include "MultiComponentPhaseModel.C" scalar Sct_
Schmidt number.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
label inertIndex_
Inert species index.
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
dimensionedScalar residualAlpha_
Residual phase fraction.
virtual ~MultiComponentPhaseModel()=default
Destructor.
virtual const PtrList< volScalarField > & Y() const
Constant access the species mass fractions.
MultiComponentPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from Foam::string.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
virtual void correctThermo()
Correct the thermodynamics.
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
A class for managing temporary objects.
UPtrList< volScalarField > YActive_
Pointer list to active species.