38 #ifndef MultiComponentPhaseModel_H 39 #define MultiComponentPhaseModel_H 41 #include "phaseModel.H" 55 template<
class BasePhaseModel,
class phaseThermo>
121 virtual const phaseThermo&
thermo()
const;
124 virtual phaseThermo&
thermo();
154 # include "MultiComponentPhaseModel.C" scalar Sct_
Schmidt number.
label inertIndex_
Inert species index.
virtual void solveYi(PtrList< volScalarField::Internal > &, PtrList< volScalarField::Internal > &)
Solve species fraction equation.
const hashedWordList & species() const
Species table.
virtual ~MultiComponentPhaseModel()=default
Destructor.
void calculateVolumeFractions()
Transfor mass fraction into volume fractions.
PtrList< volScalarField > X_
Ptr list of volumetric fractions for species.
virtual void correct()
Correct phase thermo.
virtual const PtrList< volScalarField > & Y() const
Constant access the species mass fractions.
MultiComponentPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
autoPtr< phaseThermo > thermoPtr_
Thermophysical model.
void calculateMassFractions()
Transfor volume fraction into mass fractions.
A class for handling words, derived from Foam::string.
bool addDiffusion_
Add diffusion transport on Yi's Eq.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
Class which represents a phase with multiple species. Returns the species' mass fractions, and their governing equations.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
virtual const phaseThermo & thermo() const
Access to thermo.
label inertIndex() const
Return inert species index.
hashedWordList species_
Species table.