38 #ifndef PurePhaseModel_H 39 #define PurePhaseModel_H 41 #include "phaseModel.H" 52 template<
class BasePhaseModel>
62 PtrList<volScalarField>
Y_;
71 const phaseSystem&
fluid,
72 const word& phaseName,
86 virtual bool pure()
const;
92 virtual const PtrList<volScalarField>&
Y()
const;
98 virtual PtrList<volScalarField>&
YRef();
101 virtual const UPtrList<volScalarField>&
YActive()
const;
104 virtual UPtrList<volScalarField>&
YActiveRef();
115 #include "PurePhaseModel.C"
PtrList< volScalarField > Y_
Empty mass fraction field list.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
PurePhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
virtual ~PurePhaseModel()=default
Destructor.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.