valueMulticomponentMixture< ThermoType >::thermoMixture Class Reference

Public Member Functions

 thermoMixture (const PtrList< ThermoType > &specieThermos)
 
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 >::thermoMixture

Definition at line 58 of file valueMulticomponentMixture.H.

Constructor & Destructor Documentation

◆ thermoMixture()

thermoMixture ( const PtrList< ThermoType > &  specieThermos)
inline

Definition at line 85 of file valueMulticomponentMixture.H.

Member Function Documentation

◆ W()

Foam::scalar W

Molecular weight [kg/kmol].

Definition at line 124 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 132 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 143 of file valueMulticomponentMixture.C.

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

Here is the call 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 199 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 65 of file valueMulticomponentMixture.C.

References args, forAll, and psi.

◆ harmonicMassWeighted()

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

Definition at line 85 of file valueMulticomponentMixture.C.

References args, and forAll.

Friends And Related Function Documentation

◆ valueMulticomponentMixture

friend class valueMulticomponentMixture
friend

Definition at line 81 of file valueMulticomponentMixture.H.


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