36 #ifndef PurePhaseModel_H 37 #define PurePhaseModel_H 39 #include "phaseModel.H" 50 template<
class BasePhaseModel>
70 const word& phaseName,
84 virtual bool pure()
const;
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
PtrList< volScalarField > Y_
Empty mass fraction field list.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
Generic GeometricField class.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from string.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
virtual ~PurePhaseModel()
Destructor.
word name(const complex &)
Return a string representation of a complex.
Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions...
PurePhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
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.