35 #ifndef multiComponentMixture_H 36 #define multiComponentMixture_H 51 template<
class ThermoType>
64 speciesCompositionTable speciesComposition_;
67 mutable ThermoType mixture_;
71 mutable ThermoType mixtureVol_;
80 speciesCompositionTable readSpeciesComposition
87 void correctMassFractions();
118 return "multiComponentMixture<" + ThermoType::typeName() +
'>';
124 return specieThermos_;
130 return speciesComposition_;
162 return specieThermos_[speciei];
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 list of keyword definitions, which are a keyword followed by any number of values (e...
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
Specialization of basicMixture for a mixture consisting of a number for molecular species...
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
virtual ~multiComponentMixture()
Destructor.
const PtrList< ThermoType > & specieThermos() const
Return the raw specie thermodynamic data.
A class for handling words, derived from string.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
Foam::multiComponentMixture.
An STL-conforming hash table.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const speciesCompositionTable & specieComposition() const
Return the table of species composition.
A wordList with hashed indices for faster lookup by name.
const ThermoType & cellMixture(const label celli) const
Mesh data needed to do the Finite Volume discretisation.
multiComponentMixture(const dictionary &, const fvMesh &, const word &)
Construct from dictionary, mesh and phase name.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const
static word typeName()
Return the instantiated type name.
void read(const dictionary &)
Read dictionary.