38#ifndef MultiComponentPhaseModel_H
39#define MultiComponentPhaseModel_H
41#include "phaseModel.H"
52template<
class BasePhaseModel>
81 const word& phaseName,
98 virtual bool pure()
const;
Class which represents a phase with multiple species. Returns the species' mass fractions,...
virtual ~MultiComponentPhaseModel()
Destructor.
virtual void correctThermo()
Correct the thermodynamics.
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.
scalar Sct_
Schmidt number.
virtual bool pure() const
Return whether the phase is pure (i.e., not multi-component).
dimensionedScalar residualAlpha_
Residual phase fraction.
MultiComponentPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
label inertIndex_
Inert species index.
virtual ~MultiComponentPhaseModel()=default
Destructor.
UPtrList< volScalarField > YActive_
Pointer list to active species.
virtual UPtrList< volScalarField > & YActiveRef()
Access the active species mass fractions.
virtual const PtrList< volScalarField > & Y() const
Constant access the species mass fractions.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.