valueMulticomponentMixture< ThermoType >::thermoMixtureType Class Reference

Mixing type for thermodynamic properties. More...

Public Member Functions

 thermoMixtureType (const PtrList< ThermoType > &specieThermos)
 Construct from list of specie thermo. More...
 
scalar W () const
 Molecular weight [kg/kmol]. More...
 
scalar rho (scalar p, scalar T) const
 Return density [kg/m^3]. More...
 
scalar psi (scalar p, scalar T) const
 Return compressibility [s^2/m^2]. More...
 
scalar Cp (const scalar p, const scalar T) const
 
scalar Cv (const scalar p, const scalar T) const
 
scalar hs (const scalar p, const scalar T) const
 
scalar ha (const scalar p, const scalar T) const
 
scalar hf () const
 
scalar Cpv (const scalar p, const scalar T) const
 Heat capacity at constant pressure/volume [J/kg/K]. More...
 
scalar gamma (const scalar p, const scalar T) const
 Gamma = Cp/Cv []. More...
 
scalar he (const scalar p, const scalar T) const
 Enthalpy/Internal energy [J/kg]. More...
 
scalar The (const scalar he, const scalar p, const scalar T0) const
 Temperature from enthalpy or internal energy. More...
 
template<class Method , class ... Args>
Foam::scalar massWeighted (Method psiMethod, const Args &... args) const
 
template<class Method , class ... Args>
Foam::scalar harmonicMassWeighted (Method psiMethod, const Args &... args) const
 

Friends

class valueMulticomponentMixture
 

Detailed Description

template<class ThermoType>
class Foam::valueMulticomponentMixture< ThermoType >::thermoMixtureType

Mixing type for thermodynamic properties.

Definition at line 61 of file valueMulticomponentMixture.H.

Constructor & Destructor Documentation

◆ thermoMixtureType()

thermoMixtureType ( const PtrList< ThermoType > &  specieThermos)
inline

Construct from list of specie thermo.

Definition at line 99 of file valueMulticomponentMixture.H.

Member Function Documentation

◆ W()

Foam::scalar W

Molecular weight [kg/kmol].

Definition at line 122 of file valueMulticomponentMixture.C.

References W().

Here is the call graph for this function:

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const

Return density [kg/m^3].

Definition at line 130 of file valueMulticomponentMixture.C.

References p, rho, and Foam::T().

Here is the call graph for this function:

◆ psi()

Foam::scalar psi ( scalar  p,
scalar  T 
) const

Return compressibility [s^2/m^2].

Definition at line 142 of file valueMulticomponentMixture.C.

References forAll, p, Foam::sqr(), and Foam::T().

Referenced by valueMulticomponentMixture< ThermoType >::thermoMixtureType::massWeighted().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cp()

Foam::scalar Cp ( const scalar  p,
const scalar  T 
) const

Definition at line 189 of file valueMulticomponentMixture.C.

◆ Cv()

Foam::scalar Cv ( const scalar  p,
const scalar  T 
) const

Definition at line 190 of file valueMulticomponentMixture.C.

◆ hs()

Foam::scalar hs ( const scalar  p,
const scalar  T 
) const

Definition at line 191 of file valueMulticomponentMixture.C.

◆ ha()

Foam::scalar ha ( const scalar  p,
const scalar  T 
) const

Definition at line 192 of file valueMulticomponentMixture.C.

◆ hf()

Foam::scalar hf

Definition at line 170 of file valueMulticomponentMixture.C.

◆ Cpv()

Foam::scalar Cpv ( const scalar  p,
const scalar  T 
) const

Heat capacity at constant pressure/volume [J/kg/K].

Definition at line 193 of file valueMulticomponentMixture.C.

◆ gamma()

Foam::scalar gamma ( const scalar  p,
const scalar  T 
) const

Gamma = Cp/Cv [].

Definition at line 194 of file valueMulticomponentMixture.C.

◆ he()

Foam::scalar he ( const scalar  p,
const scalar  T 
) const

Enthalpy/Internal energy [J/kg].

Definition at line 195 of file valueMulticomponentMixture.C.

◆ The()

Foam::scalar The ( const scalar  he,
const scalar  p,
const scalar  T0 
) const

Temperature from enthalpy or internal energy.

given an initial temperature T0

Definition at line 200 of file valueMulticomponentMixture.C.

References he(), Foam::MULES::limit(), p, Foam::T(), and T0.

Here is the call graph for this function:

◆ massWeighted()

Foam::scalar massWeighted ( Method  psiMethod,
const Args &...  args 
) const

Definition at line 33 of file valueMulticomponentMixture.C.

References args, forAll, and valueMulticomponentMixture< ThermoType >::thermoMixtureType::psi().

Here is the call graph for this function:

◆ harmonicMassWeighted()

Foam::scalar harmonicMassWeighted ( Method  psiMethod,
const Args &...  args 
) const

Definition at line 54 of file valueMulticomponentMixture.C.

References args, and forAll.

Friends And Related Function Documentation

◆ valueMulticomponentMixture

friend class valueMulticomponentMixture
friend

Definition at line 93 of file valueMulticomponentMixture.H.


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