Go to the documentation of this file.
29 #include "phaseSystem.H"
33 template<
class BasePhaseModel>
37 const word& phaseName,
41 BasePhaseModel(
fluid, phaseName, index)
47 template<
class BasePhaseModel>
54 template<
class BasePhaseModel>
61 template<
class BasePhaseModel>
66 <<
"Cannot construct a species fraction equation for a pure phase"
73 template<
class BasePhaseModel>
83 template<
class BasePhaseModel>
88 <<
"Cannot get a species fraction by name from a pure phase"
91 return NullObjectRef<volScalarField>();
95 template<
class BasePhaseModel>
100 <<
"Cannot access the species fractions of for a pure phase"
107 template<
class BasePhaseModel>
117 template<
class BasePhaseModel>
122 <<
"Cannot access the species fractions of for a pure phase"
PurePhaseModel(const phaseSystem &fluid, const word &phaseName)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual PtrList< volScalarField > & YRef()
virtual const PtrList< volScalarField > & Y() const
virtual ~PurePhaseModel()=default
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....
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
virtual bool pure() const
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
word name(const expressions::valueTypeCode typeCode)
Class to represent a system of phases and model interfacial transfers between them.
virtual UPtrList< volScalarField > & YActiveRef()
Generic GeometricField class.
virtual const UPtrList< volScalarField > & YActive() const