Go to the documentation of this file.
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"
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
dimensionedScalar residualAlpha_
Residual phase fraction.
virtual ~MultiComponentPhaseModel()=default
Destructor.
label inertIndex_
Inert species index.
virtual const PtrList< volScalarField > & Y() const
Constant access the species mass fractions.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
MultiComponentPhaseModel(const phaseSystem &fluid, const word &phaseName)
word name(const complex &c)
Return string representation of complex.
UPtrList< volScalarField > YActive_
Pointer list to active species.
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...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
virtual void correctThermo()
Correct the thermodynamics.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
Class to represent a system of phases and model interfacial transfers between them.
Generic GeometricField class.
dimensionedScalar Sct_
Turbulent Schmidt number.