35 #ifndef multiComponentMixture_H 36 #define multiComponentMixture_H 50 template<
class ThermoType>
61 mutable ThermoType mixture_;
65 mutable ThermoType mixtureVol_;
72 const ThermoType& constructSpeciesData(
const dictionary& thermoDict);
75 void correctMassFractions();
114 return "multiComponentMixture<" + ThermoType::typeName() +
'>';
152 return speciesData_[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...
Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular speci...
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
const PtrList< ThermoType > & speciesData() const
Return the raw specie thermodynamic data.
virtual ~multiComponentMixture()
Destructor.
A class for handling words, derived from string.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
Foam::multiComponentMixture.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
const ThermoType & cellMixture(const label celli) const
Mesh data needed to do the Finite Volume discretisation.
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.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.