41 #ifndef multiComponentMixture_H 42 #define multiComponentMixture_H 56 template<
class ThermoType>
57 class multiComponentMixture
59 public basicSpecieMixture
64 PtrList<ThermoType> speciesData_;
67 mutable ThermoType mixture_;
71 mutable ThermoType mixtureVol_;
78 const ThermoType& constructSpeciesData(
const dictionary&
thermoDict);
81 void correctMassFractions();
84 multiComponentMixture(
const multiComponentMixture<ThermoType>&);
103 const word& phaseName
111 const word& phaseName
124 return "multiComponentMixture<" + ThermoType::typeName() +
'>';
127 const ThermoType&
cellMixture(
const label celli)
const;
160 inline const ThermoType&
getLocalThermo(
const label speciei)
const 162 return speciesData_[speciei];
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~multiComponentMixture()=default
Destructor.
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.
A class for handling words, derived from Foam::string.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
Foam::multiComponentMixture.
const dictionary & thermoDict
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
List< word > wordList
List of word.
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.