Go to the documentation of this file.
40 #ifndef multiComponentMixture_H
41 #define multiComponentMixture_H
55 template<
class ThermoType>
56 class multiComponentMixture
58 public basicSpecieMixture
63 PtrList<ThermoType> speciesData_;
66 mutable ThermoType mixture_;
70 mutable ThermoType mixtureVol_;
77 const ThermoType& constructSpeciesData(
const dictionary&
thermoDict);
80 void correctMassFractions();
83 multiComponentMixture(
const multiComponentMixture<ThermoType>&);
102 const word& phaseName
110 const word& phaseName
123 return "multiComponentMixture<" + ThermoType::typeName() +
'>';
126 const ThermoType&
cellMixture(
const label celli)
const;
159 inline const ThermoType&
getLocalThermo(
const label speciei)
const
161 return speciesData_[speciei];
static word typeName()
Return the instantiated type name.
void read(const dictionary &)
Read dictionary.
A class for handling words, derived from Foam::string.
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
virtual ~multiComponentMixture()=default
Destructor.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Foam::multiComponentMixture.
const PtrList< ThermoType > & speciesData() const
Return the raw specie thermodynamic data.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const ThermoType & cellMixture(const label celli) const
const dictionary & thermoDict
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.