Go to the documentation of this file.
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];
void read(const 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
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Foam::multiComponentMixture.
const PtrList< ThermoType > & speciesData() const
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
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const ThermoType & getLocalThermo(const label speciei) const
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const