Go to the documentation of this file.
38 #ifndef PurePhaseModel_H
39 #define PurePhaseModel_H
41 #include "phaseModel.H"
52 template<
class BasePhaseModel>
72 const word& phaseName,
86 virtual bool pure()
const;
115 #include "PurePhaseModel.C"
A class for handling words, derived from Foam::string.
PtrList< volScalarField > Y_
Empty mass fraction field list.
A class for managing temporary objects.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
virtual ~PurePhaseModel()
Destructor.
virtual const PtrList< volScalarField > & Y() const
Return the species mass 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.
word name(const complex &c)
Return string representation of complex.
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....
PurePhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
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.
Class to represent a system of phases and model interfacial transfers between them.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
Generic GeometricField class.
Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions...
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.