Foam::multiComponentMixture. More...
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... | |
Definition at line 51 of file InterfaceCompositionModel.H.
typedef ThermoType thermoType |
The type of thermodynamics this mixture is instantiated for.
Definition at line 89 of file multiComponentMixture.H.
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 | ( | const dictionary & | thermoDict, |
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from dictionary, mesh and phase name.
Definition at line 117 of file multiComponentMixture.C.
|
virtualdefault |
Destructor.
|
inlinestatic |
Return the instantiated type name.
Definition at line 121 of file multiComponentMixture.H.
const ThermoType & cellMixture | ( | const label | celli | ) | const |
Definition at line 142 of file multiComponentMixture.C.
References n.
const ThermoType & patchFaceMixture | ( | const label | patchi, |
const label | facei | ||
) | const |
Definition at line 159 of file multiComponentMixture.C.
References n.
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 |
|
inline |
Return the raw specie thermodynamic data.
Definition at line 150 of file multiComponentMixture.H.
void read | ( | const dictionary & | thermoDict | ) |
Read dictionary.
Definition at line 236 of file multiComponentMixture.C.
References forAll, and thermoDict.
|
inline |
Return thermo based on index.
Definition at line 159 of file multiComponentMixture.H.
Referenced by InterfaceCompositionModel< Thermo, OtherThermo >::getLocalThermo().