Foam::multicomponentMixture. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermodynamics this mixture is instantiated for. More... | |
Public Member Functions | |
multicomponentMixture (const dictionary &) | |
Construct from a dictionary. More... | |
multicomponentMixture (const multicomponentMixture< ThermoType > &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~multicomponentMixture () |
Destructor. More... | |
wordList | specieNames () const |
Return the specie names. More... | |
void | read (const dictionary &) |
Read dictionary. More... | |
const PtrList< ThermoType > & | specieThermos () const |
Return the raw specie thermodynamic data. More... | |
const ThermoType & | specieThermo (const label speciei) const |
Return thermo based on index. More... | |
const List< specieElement > & | specieComposition (const label speciei) const |
Return composition based on index. More... | |
Definition at line 50 of file multicomponentMixture.H.
typedef ThermoType thermoType |
The type of thermodynamics this mixture is instantiated for.
Definition at line 57 of file multicomponentMixture.H.
multicomponentMixture | ( | const dictionary & | dict | ) |
Construct from a dictionary.
Definition at line 32 of file multicomponentMixture.C.
References dict, and Foam::blockMeshTools::read().
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 89 of file multicomponentMixture.H.
Foam::wordList specieNames |
void read | ( | const dictionary & | dict | ) |
Read dictionary.
Definition at line 58 of file multicomponentMixture.C.
References dict, forAll, dictionary::isDict(), dictionary::lookupOrDefault(), List< T >::size(), dictionary::subDict(), and dictionary::toc().
|
inline |
Return the raw specie thermodynamic data.
Definition at line 102 of file multicomponentMixture.H.
Referenced by coefficientWilkeMulticomponentMixture< ThermoType >::thermoMixture(), coefficientWilkeMulticomponentMixture< ThermoType >::transportMixture(), and coefficientWilkeMulticomponentMixture< ThermoType >::transportMixtureType::transportMixtureType().
|
inline |
Return thermo based on index.
Definition at line 108 of file multicomponentMixture.H.
const Foam::List< Foam::specieElement > & specieComposition | ( | const label | speciei | ) | const |
Return composition based on index.
Definition at line 103 of file multicomponentMixture.C.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.