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 nMoles (const label speciei) const
 Number of moles of the given specie []. 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< 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 ( 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 >::nMoles().

Here is the call graph for this function:

virtual ~SpecieMixture ( )
inlinevirtual

Member Function Documentation

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

Number of moles of the given specie [].

Definition at line 53 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::W().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Definition at line 63 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Cp().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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 73 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Cv().

Here is the call graph for this function:

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 85 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Ha().

Here is the call graph for this function:

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

Absolute enthalpy [J/kg].

Definition at line 97 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:

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

Sensible enthalpy [J/kg].

Definition at line 109 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:

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

Chemical enthalpy [J/kg].

Definition at line 121 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:

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

Entropy [J/(kg K)].

Definition at line 131 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:

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

Sensible internal energy [J/kg].

Definition at line 143 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:

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

Gibbs free energy [J/kg].

Definition at line 155 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:

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

Helmholtz free energy [J/kg].

Definition at line 167 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:

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

Dynamic viscosity [kg/m/s].

Definition at line 179 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:

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

Thermal conductivity [W/m/K].

Definition at line 191 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::alphah().

Here is the call graph for this function:

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

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

Definition at line 203 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:

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

Density [kg/m3].

Definition at line 215 of file SpecieMixture.C.

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

Here is the caller graph for this function:

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].

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:

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].

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:

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

Thermal diffusivity for temperature.

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

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: