38#ifndef PurePhaseModel_H
39#define PurePhaseModel_H
41#include "phaseModel.H"
52template<
class BasePhaseModel>
62 PtrList<volScalarField>
Y_;
71 const phaseSystem&
fluid,
72 const word& phaseName,
86 virtual bool pure()
const;
115 #include "PurePhaseModel.C"
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
PurePhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
virtual ~PurePhaseModel()=default
Destructor.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
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 ~PurePhaseModel()
Destructor.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component)
PtrList< volScalarField > Y_
Empty mass fraction field list.
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...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.