36 #ifndef MulticomponentPhaseModel_H
37 #define MulticomponentPhaseModel_H
50 template<
class BasePhaseModel>
62 const word& phaseName,
63 const bool referencePhase,
81 virtual bool pure()
const;
Generic GeometricField class.
Class which represents a phase with multiple species. Returns the species' mass fractions,...
virtual void correctSpecies()
Correct the species fractions.
virtual bool solveSpecie(const label speciei) const
Should the given specie be solved for? I.e., is it active and.
MulticomponentPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
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 ~MulticomponentPhaseModel()
Destructor.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Class to represent a system of phases.
A class for managing temporary objects.
A class for handling words, derived from string.
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 LagrangianState state)
Return a string representation of a Lagrangian state enumeration.