multiComponentMixture< ThermoType > Class Template Reference

Foam::multiComponentMixture. More...

Inheritance diagram for multiComponentMixture< ThermoType >:
[legend]

Public Types

typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for. More...
 

Public Member Functions

 multiComponentMixture (const dictionary &, const wordList &specieNames, const ReactionTable< ThermoType > &thermoData, const fvMesh &mesh, const word &phaseName)
 
 multiComponentMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName)
 Construct from dictionary, mesh and phase name. More...
 
virtual ~multiComponentMixture ()=default
 Destructor. More...
 
const ThermoType & cellMixture (const label celli) const
 
const ThermoType & patchFaceMixture (const label patchi, const label facei) const
 
const ThermoType & cellVolMixture (const scalar p, const scalar T, const label celli) const
 
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. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
const ThermoType & getLocalThermo (const label speciei) const
 Return thermo based on index. More...
 

Static Public Member Functions

static word typeName ()
 Return the instantiated type name. More...
 

Detailed Description

template<class ThermoType>
class Foam::multiComponentMixture< ThermoType >

Foam::multiComponentMixture.

Source files

Definition at line 51 of file InterfaceCompositionModel.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

The type of thermodynamics this mixture is instantiated for.

Definition at line 89 of file multiComponentMixture.H.

Constructor & Destructor Documentation

◆ multiComponentMixture() [1/2]

multiComponentMixture ( const dictionary thermoDict,
const wordList specieNames,
const ReactionTable< ThermoType > &  thermoData,
const fvMesh mesh,
const word phaseName 
)

Construct from dictionary, specie names, thermo database, mesh and phase name

Definition at line 89 of file multiComponentMixture.C.

References forAll.

◆ multiComponentMixture() [2/2]

multiComponentMixture ( const dictionary thermoDict,
const fvMesh mesh,
const word phaseName 
)

Construct from dictionary, mesh and phase name.

Definition at line 117 of file multiComponentMixture.C.

◆ ~multiComponentMixture()

virtual ~multiComponentMixture ( )
virtualdefault

Destructor.

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Return the instantiated type name.

Definition at line 121 of file multiComponentMixture.H.

◆ cellMixture()

const ThermoType & cellMixture ( const label  celli) const

Definition at line 142 of file multiComponentMixture.C.

References n.

◆ patchFaceMixture()

const ThermoType & patchFaceMixture ( const label  patchi,
const label  facei 
) const

Definition at line 159 of file multiComponentMixture.C.

References n.

◆ cellVolMixture()

const ThermoType & cellVolMixture ( const scalar  p,
const scalar  T,
const label  celli 
) const

Definition at line 177 of file multiComponentMixture.C.

References forAll, n, p, and T.

◆ patchFaceVolMixture()

const ThermoType & patchFaceVolMixture ( const scalar  p,
const scalar  T,
const label  patchi,
const label  facei 
) const

Definition at line 205 of file multiComponentMixture.C.

References forAll, n, p, and T.

◆ speciesData()

const PtrList<ThermoType>& speciesData ( ) const
inline

Return the raw specie thermodynamic data.

Definition at line 150 of file multiComponentMixture.H.

◆ read()

void read ( const dictionary thermoDict)

Read dictionary.

Definition at line 236 of file multiComponentMixture.C.

References forAll, and thermoDict.

◆ getLocalThermo()

const ThermoType& getLocalThermo ( const label  speciei) const
inline

Return thermo based on index.

Definition at line 159 of file multiComponentMixture.H.

Referenced by InterfaceCompositionModel< Thermo, OtherThermo >::getLocalThermo().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: