41#ifndef multiComponentMixture_H
42#define multiComponentMixture_H
56template<
class ThermoType>
67 mutable ThermoType mixture_;
71 mutable ThermoType mixtureVol_;
81 void correctMassFractions();
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 pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular speci...
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.
Foam::multiComponentMixture.
const ThermoType & cellMixture(const label celli) const
const PtrList< ThermoType > & speciesData() const
Return the raw specie thermodynamic data.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
virtual ~multiComponentMixture()=default
Destructor.
const ThermoType & cellVolMixture(const scalar p, const scalar T, const label celli) const
static word typeName()
Return the instantiated type name.
const ThermoType & patchFaceMixture(const label patchi, const label facei) const
const ThermoType & patchFaceVolMixture(const scalar p, const scalar T, const label patchi, const label facei) const
void read(const dictionary &)
Read dictionary.
const ThermoType & getLocalThermo(const label speciei) const
Return thermo based on index.
A class for handling words, derived from Foam::string.
const dictionary & thermoDict