Loading...
Searching...
No Matches
SpecieMixture< MixtureType > Class Template Referenceabstract

Foam::SpecieMixture. More...

#include <SpecieMixture.H>

Inheritance diagram for SpecieMixture< MixtureType >:
Collaboration diagram for SpecieMixture< MixtureType >:

Public Member Functions

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

Detailed Description

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

Foam::SpecieMixture.

Source files

Definition at line 56 of file SpecieMixture.H.

Constructor & Destructor Documentation

◆ SpecieMixture()

template<class MixtureType>
SpecieMixture ( const dictionary & thermoDict,
const fvMesh & mesh,
const word & phaseName )

Construct from dictionary, mesh and phase name.

Definition at line 28 of file SpecieMixture.C.

References mesh, and thermoDict.

◆ ~SpecieMixture()

template<class MixtureType>
virtual ~SpecieMixture ( )
virtualdefault

Destructor.

Member Function Documentation

◆ W() [1/2]

template<class MixtureType>
Foam::scalar W ( const label speciei) const
virtual

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

Definition at line 47 of file SpecieMixture.C.

◆ Hc()

template<class MixtureType>
Foam::scalar Hc ( const label speciei) const
virtual

Chemical enthalpy [J/kg].

Definition at line 57 of file SpecieMixture.C.

◆ Cp() [1/4]

template<class MixtureType>
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 64 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cv() [1/3]

template<class MixtureType>
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 76 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ HE()

template<class MixtureType>
Foam::scalar HE ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Enthalpy/Internal energy [J/kg].

Definition at line 88 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Ha()

template<class MixtureType>
Foam::scalar Ha ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Absolute enthalpy [J/kg].

Definition at line 100 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Hs()

template<class MixtureType>
Foam::scalar Hs ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Sensible enthalpy [J/kg].

Definition at line 112 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ S()

template<class MixtureType>
Foam::scalar S ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Entropy [J/(kg K)].

Definition at line 124 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Es()

template<class MixtureType>
Foam::scalar Es ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Sensible internal energy [J/kg].

Definition at line 136 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ G()

template<class MixtureType>
Foam::scalar G ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Gibbs free energy [J/kg].

Definition at line 148 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ A()

template<class MixtureType>
Foam::scalar A ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Helmholtz free energy [J/kg].

Definition at line 160 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ mu()

template<class MixtureType>
Foam::scalar mu ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Dynamic viscosity [kg/m/s].

Definition at line 172 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa() [1/3]

template<class MixtureType>
Foam::scalar kappa ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Thermal conductivity [W/m/K].

Definition at line 184 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ alphah()

template<class MixtureType>
Foam::scalar alphah ( const label speciei,
const scalar p,
const scalar T ) const
virtual

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

Definition at line 196 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ rho()

template<class MixtureType>
Foam::scalar rho ( const label speciei,
const scalar p,
const scalar T ) const
virtual

Density [kg/m3].

Definition at line 208 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cp() [2/4]

◆ Cp() [3/4]

◆ Cv() [2/3]

◆ Cp() [4/4]

◆ Cv() [3/3]

◆ W() [2/2]

◆ kappa() [2/3]

◆ kappa() [3/3]


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/reactionThermo/mixtures/SpecieMixture/SpecieMixture.H
  • src/thermophysicalModels/reactionThermo/mixtures/SpecieMixture/SpecieMixture.C