33template<
class BasePhaseModel>
37 const word& phaseName,
41 BasePhaseModel(
fluid, phaseName, index)
47template<
class BasePhaseModel>
54template<
class BasePhaseModel>
61template<
class BasePhaseModel>
66 <<
"Cannot construct a species fraction equation for a pure phase"
73template<
class BasePhaseModel>
83template<
class BasePhaseModel>
88 <<
"Cannot get a species fraction by name from a pure phase"
91 return NullObjectRef<volScalarField>();
95template<
class BasePhaseModel>
100 <<
"Cannot access the species fractions of for a pure phase"
107template<
class BasePhaseModel>
117template<
class BasePhaseModel>
122 <<
"Cannot access the species fractions of for a pure phase"
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Class which represents pure phases, i.e. without any species. Returns an empty list of mass fractions...
virtual ~PurePhaseModel()=default
Destructor.
virtual const UPtrList< volScalarField > & YActive() const
Return the active species mass fractions.
virtual PtrList< volScalarField > & YRef()
Access the species mass fractions.
virtual tmp< fvScalarMatrix > YiEqn(volScalarField &Yi)
Return the species fraction equation.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Class to represent a system of phases and model interfacial transfers between them.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)