Public Member Functions | List of all members
SpecieMixture< MixtureType > Class Template Referenceabstract

Foam::SpecieMixture. More...

Inheritance diagram for SpecieMixture< MixtureType >:
Inheritance graph
[legend]
Collaboration diagram for SpecieMixture< MixtureType >:
Collaboration graph
[legend]

Public Member Functions

 SpecieMixture (const dictionary &, const fvMesh &, const word &phaseName)
 Construct from dictionary, mesh and phase name. More...
 
virtual ~SpecieMixture ()
 Destructor. More...
 
virtual scalar W (const label speciei) const
 Molecular weight of the given specie [kg/kmol]. More...
 
virtual scalar Cp (const label speciei, const scalar p, const scalar T) const
 Heat capacity at constant pressure [J/(kg K)]. More...
 
virtual scalar Cv (const label speciei, const scalar p, const scalar T) const
 Heat capacity at constant volume [J/(kg K)]. More...
 
virtual scalar Ha (const label speciei, const scalar p, const scalar T) const
 Absolute enthalpy [J/kg]. More...
 
virtual scalar Hs (const label speciei, const scalar p, const scalar T) const
 Sensible enthalpy [J/kg]. More...
 
virtual scalar Hc (const label speciei) const
 Chemical enthalpy [J/kg]. More...
 
virtual scalar S (const label speciei, const scalar p, const scalar T) const
 Entropy [J/(kg K)]. More...
 
virtual scalar Es (const label speciei, const scalar p, const scalar T) const
 Sensible internal energy [J/kg]. More...
 
virtual scalar G (const label speciei, const scalar p, const scalar T) const
 Gibbs free energy [J/kg]. More...
 
virtual scalar A (const label speciei, const scalar p, const scalar T) const
 Helmholtz free energy [J/kg]. More...
 
virtual scalar mu (const label speciei, const scalar p, const scalar T) const
 Dynamic viscosity [kg/m/s]. More...
 
virtual scalar kappa (const label speciei, const scalar p, const scalar T) const
 Thermal conductivity [W/m/K]. More...
 
virtual scalar alphah (const label speciei, const scalar p, const scalar T) const
 Thermal diffusivity of enthalpy [kg/m/s]. More...
 
virtual scalar rho (const label speciei, const scalar p, const scalar T) const
 Density [kg/m3]. More...
 
virtual tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const =0
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCp () const =0
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchi) const =0
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCv () const =0
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< volScalarFieldW () const =0
 Molecular weight of the given specie [kg/kmol]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const =0
 Thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldkappa () const =0
 Thermal diffusivity for temperature of mixture [J/m/s/K]. More...
 

Detailed Description

template<class MixtureType>
class Foam::SpecieMixture< MixtureType >

Foam::SpecieMixture.

Source files

Definition at line 55 of file SpecieMixture.H.

Constructor & Destructor Documentation

◆ SpecieMixture()

SpecieMixture ( const dictionary thermoDict,
const fvMesh mesh,
const word phaseName 
)

Construct from dictionary, mesh and phase name.

Definition at line 34 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::W().

Here is the call graph for this function:

◆ ~SpecieMixture()

virtual ~SpecieMixture ( )
inlinevirtual

Member Function Documentation

◆ W() [1/2]

Foam::scalar W ( const label  speciei) const
virtual

Molecular weight of the given specie [kg/kmol].

Definition at line 53 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Cp().

Here is the call graph for this function:

◆ Cp() [1/3]

Foam::scalar Cp ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

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

Definition at line 63 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Cv().

Here is the call graph for this function:

◆ Cv() [1/3]

Foam::scalar Cv ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

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

Definition at line 75 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Ha().

Here is the call graph for this function:

◆ Ha()

Foam::scalar Ha ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Absolute enthalpy [J/kg].

Definition at line 87 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Hs().

Referenced by SpecieMixture< MixtureType >::Cv(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ Hs()

Foam::scalar Hs ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Sensible enthalpy [J/kg].

Definition at line 99 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Hc().

Referenced by SpecieMixture< MixtureType >::Ha(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ Hc()

Foam::scalar Hc ( const label  speciei) const
virtual

Chemical enthalpy [J/kg].

Definition at line 111 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::S().

Referenced by SpecieMixture< MixtureType >::Hs(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ S()

Foam::scalar S ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Entropy [J/(kg K)].

Definition at line 121 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Es().

Referenced by SpecieMixture< MixtureType >::Hc(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ Es()

Foam::scalar Es ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Sensible internal energy [J/kg].

Definition at line 133 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::G().

Referenced by SpecieMixture< MixtureType >::S(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ G()

Foam::scalar G ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Gibbs free energy [J/kg].

Definition at line 145 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::A().

Referenced by SpecieMixture< MixtureType >::Es(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ A()

Foam::scalar A ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Helmholtz free energy [J/kg].

Definition at line 157 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::mu().

Referenced by SpecieMixture< MixtureType >::G(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ mu()

Foam::scalar mu ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Dynamic viscosity [kg/m/s].

Definition at line 169 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::kappa().

Referenced by SpecieMixture< MixtureType >::A(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ kappa() [1/3]

Foam::scalar kappa ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Thermal conductivity [W/m/K].

Definition at line 181 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::alphah().

Here is the call graph for this function:

◆ alphah()

Foam::scalar alphah ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Thermal diffusivity of enthalpy [kg/m/s].

Definition at line 193 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::rho().

Referenced by SpecieMixture< MixtureType >::kappa(), and SpecieMixture< MixtureType >::~SpecieMixture().

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

◆ rho()

Foam::scalar rho ( const label  speciei,
const scalar  p,
const scalar  T 
) const
virtual

Density [kg/m3].

Definition at line 205 of file SpecieMixture.C.

Referenced by SpecieMixture< MixtureType >::alphah(), and SpecieMixture< MixtureType >::~SpecieMixture().

Here is the caller graph for this function:

◆ Cp() [2/3]

virtual tmp<scalarField> Cp ( const scalarField p,
const scalarField T,
const label  patchi 
) const
pure virtual

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

◆ Cp() [3/3]

virtual tmp<volScalarField> Cp ( ) const
pure virtual

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

Referenced by SpecieMixture< MixtureType >::W(), and SpecieMixture< MixtureType >::~SpecieMixture().

Here is the caller graph for this function:

◆ Cv() [2/3]

virtual tmp<scalarField> Cv ( const scalarField p,
const scalarField T,
const label  patchi 
) const
pure virtual

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

◆ Cv() [3/3]

virtual tmp<volScalarField> Cv ( ) const
pure virtual

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

Referenced by SpecieMixture< MixtureType >::Cp(), and SpecieMixture< MixtureType >::~SpecieMixture().

Here is the caller graph for this function:

◆ W() [2/2]

virtual tmp<volScalarField> W ( ) const
pure virtual

Molecular weight of the given specie [kg/kmol].

Referenced by SpecieMixture< MixtureType >::SpecieMixture(), and SpecieMixture< MixtureType >::~SpecieMixture().

Here is the caller graph for this function:

◆ kappa() [2/3]

virtual tmp<scalarField> kappa ( const label  patchi) const
pure virtual

Thermal diffusivity for temperature.

of mixture for patch [J/m/s/K]

◆ kappa() [3/3]

virtual tmp<volScalarField> kappa ( ) const
pure virtual

Thermal diffusivity for temperature of mixture [J/m/s/K].

Referenced by SpecieMixture< MixtureType >::mu(), and SpecieMixture< MixtureType >::~SpecieMixture().

Here is the caller graph for this function:

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