Single component mixture. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermodynamics this mixture is instantiated for. More... | |
typedef ThermoType | thermoMixtureType |
Mixing type for thermodynamic properties. More... | |
typedef ThermoType | transportMixtureType |
Mixing type for transport properties. More... | |
Public Member Functions | |
singleComponentMixture (const dictionary &) | |
Construct from a dictionary. More... | |
virtual | ~singleComponentMixture () |
Destructor. More... | |
wordList | specieNames () const |
Return the specie names. More... | |
const thermoMixtureType & | thermoMixture (const scalarFieldListSlice &) const |
Return the mixture for thermodynamic properties. More... | |
const transportMixtureType & | transportMixture (const scalarFieldListSlice &) const |
Return the mixture for transport properties. More... | |
const transportMixtureType & | transportMixture (const scalarFieldListSlice &, const thermoMixtureType &) const |
Return the mixture for transport properties. More... | |
void | read (const dictionary &) |
Read dictionary. More... | |
const ThermoType & | specieThermo (const label speciei) const |
Return thermo based on index. More... | |
Static Public Member Functions | |
static word | typeName () |
Return the instantiated type name. More... | |
Single component mixture.
Definition at line 50 of file singleComponentMixture.H.
typedef ThermoType thermoType |
The type of thermodynamics this mixture is instantiated for.
Definition at line 57 of file singleComponentMixture.H.
typedef ThermoType thermoMixtureType |
Mixing type for thermodynamic properties.
Definition at line 60 of file singleComponentMixture.H.
typedef ThermoType transportMixtureType |
Mixing type for transport properties.
Definition at line 63 of file singleComponentMixture.H.
singleComponentMixture | ( | const dictionary & | dict | ) |
Construct from a dictionary.
Definition at line 31 of file singleComponentMixture.C.
|
virtual |
Destructor.
Definition at line 43 of file singleComponentMixture.C.
|
inlinestatic |
Return the instantiated type name.
Note: This defines the same name as pureMixture so that non-reacting and reacting solvers are compatible
Definition at line 91 of file singleComponentMixture.H.
|
inline |
Return the specie names.
Definition at line 97 of file singleComponentMixture.H.
|
inline |
Return the mixture for thermodynamic properties.
Definition at line 103 of file singleComponentMixture.H.
|
inline |
Return the mixture for transport properties.
Definition at line 112 of file singleComponentMixture.H.
|
inline |
Return the mixture for transport properties.
Definition at line 121 of file singleComponentMixture.H.
void read | ( | const dictionary & | dict | ) |
Read dictionary.
Definition at line 50 of file singleComponentMixture.C.
References dict, and dictionary::subDict().
|
inline |
Return thermo based on index.
Definition at line 134 of file singleComponentMixture.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.