Go to the documentation of this file.
38 #ifndef MultiComponentPhaseModel_H
39 #define MultiComponentPhaseModel_H
41 #include "phaseModel.H"
55 template<
class BasePhaseModel,
class phaseThermo>
56 class MultiComponentPhaseModel
115 virtual const phaseThermo&
thermo()
const;
118 virtual phaseThermo&
thermo();
148 # include "MultiComponentPhaseModel.C"
autoPtr< phaseThermo > thermoPtr_
Thermophysical model.
label inertIndex() const
Return inert species index.
A class for handling words, derived from Foam::string.
label inertIndex_
Inert species index.
virtual const PtrList< volScalarField > & Y() const
Return the species mass fractions.
void calculateMassFractions()
Transfor volume fraction into mass fractions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
PtrList< volScalarField > X_
Ptr list of volumetric fractions for species.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
virtual void solveYi(PtrList< volScalarField::Internal > &, PtrList< volScalarField::Internal > &)
Solve species fraction equation.
hashedWordList species_
Species table.
virtual ~MultiComponentPhaseModel()
Destructor.
Class to represent a system of phases and model interfacial transfers between them.
void calculateVolumeFractions()
Transfor mass fraction into volume fractions.
MultiComponentPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
virtual void correct()
Correct phase thermo.
const hashedWordList & species() const
Species table.
virtual const phaseThermo & thermo() const
Access to thermo.