SpecieMixture< MixtureType > Class Template Referenceabstract

Foam::SpecieMixture. More...

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

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 Wi (const label speciei) const
 Molecular weight of the given specie [kg/kmol]. More...
 
virtual scalar Hf (const label speciei) const
 Enthalpy of formation [J/kg]. More...
 
virtual scalar rho (const label speciei, const scalar p, const scalar T) const
 Density [kg/m^3]. More...
 
virtual tmp< volScalarFieldrho (const label speciei, const volScalarField &p, const volScalarField &T) const
 Density [kg/m^3]. More...
 
virtual scalar Cp (const label speciei, const scalar p, const scalar T) const
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual tmp< volScalarFieldCp (const label speciei, const volScalarField &p, const volScalarField &T) const
 Heat capacity at constant pressure [J/kg/K]. More...
 
virtual scalar HE (const label speciei, const scalar p, const scalar T) const
 Enthalpy/Internal energy [J/kg]. More...
 
virtual tmp< scalarFieldHE (const label speciei, const scalarField &p, const scalarField &T) const
 Enthalpy/Internal energy [J/kg]. More...
 
virtual tmp< volScalarFieldHE (const label speciei, const volScalarField &p, const volScalarField &T) const
 Enthalpy/Internal energy [J/kg]. More...
 
virtual scalar Hs (const label speciei, const scalar p, const scalar T) const
 Sensible enthalpy [J/kg]. More...
 
virtual tmp< scalarFieldHs (const label speciei, const scalarField &p, const scalarField &T) const
 Sensible enthalpy [J/kg]. More...
 
virtual tmp< volScalarFieldHs (const label speciei, const volScalarField &p, const volScalarField &T) const
 Sensible enthalpy [J/kg]. More...
 
virtual scalar Ha (const label speciei, const scalar p, const scalar T) const
 Absolute enthalpy [J/kg]. More...
 
virtual tmp< scalarFieldHa (const label speciei, const scalarField &p, const scalarField &T) const
 Absolute enthalpy [J/kg]. More...
 
virtual tmp< volScalarFieldHa (const label speciei, const volScalarField &p, const volScalarField &T) const
 Absolute enthalpy [J/kg]. More...
 
virtual scalar mu (const label speciei, const scalar p, const scalar T) const
 Dynamic viscosity [kg/m/s]. More...
 
virtual tmp< volScalarFieldmu (const label speciei, const volScalarField &p, const volScalarField &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 tmp< volScalarFieldkappa (const label speciei, const volScalarField &p, const volScalarField &T) const
 Thermal conductivity [W/m/K]. More...
 
virtual scalar alphah (const label speciei, const scalar p, const scalar T) const
 Thermal conductivity [W/m/K]. More...
 
virtual tmp< volScalarFieldalphah (const label speciei, const volScalarField &p, const volScalarField &T) const
 Thermal diffusivity of enthalpy [kg/m/s]. More...
 
virtual tmp< volScalarFieldCp () const =0
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< scalarFieldCp (const scalarField &T, const label patchi) const =0
 Heat capacity at constant pressure for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldCv () const =0
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< scalarFieldCv (const scalarField &T, const label patchi) const =0
 Heat capacity at constant volume for patch [J/kg/K]. More...
 
virtual tmp< volScalarFieldkappa () const =0
 Thermal diffusivity for temperature of mixture [W/m/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const =0
 Thermal diffusivity for temperature of mixture for patch [W/m/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 118 of file SpecieMixture.C.

◆ ~SpecieMixture()

Member Function Documentation

◆ Wi()

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

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

Definition at line 131 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ Hf()

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

Enthalpy of formation [J/kg].

Definition at line 138 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::rho().

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

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

◆ rho() [1/2]

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

Density [kg/m^3].

Definition at line 146 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ rho() [2/2]

Foam::tmp< Foam::volScalarField > rho ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Density [kg/m^3].

Definition at line 158 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::Cp(), Foam::dimDensity, and rho.

Here is the call graph for this function:

◆ Cp() [1/4]

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

References SpecieMixture< MixtureType >::Cp().

Here is the call graph for this function:

◆ Cp() [2/4]

Foam::tmp< Foam::volScalarField > Cp ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

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

Definition at line 190 of file SpecieMixture.C.

References Cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, and SpecieMixture< MixtureType >::HE().

Here is the call graph for this function:

◆ HE() [1/3]

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

Enthalpy/Internal energy [J/kg].

Definition at line 210 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ HE() [2/3]

Foam::tmp< Foam::scalarField > HE ( const label  speciei,
const scalarField p,
const scalarField T 
) const
virtual

Enthalpy/Internal energy [J/kg].

Definition at line 222 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::HE().

Here is the call graph for this function:

◆ HE() [3/3]

Foam::tmp< Foam::volScalarField > HE ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Enthalpy/Internal energy [J/kg].

Definition at line 234 of file SpecieMixture.C.

References Foam::dimEnergy, Foam::dimMass, and SpecieMixture< MixtureType >::Hs().

Here is the call graph for this function:

◆ Hs() [1/3]

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

Sensible enthalpy [J/kg].

Definition at line 254 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ Hs() [2/3]

Foam::tmp< Foam::scalarField > Hs ( const label  speciei,
const scalarField p,
const scalarField T 
) const
virtual

Sensible enthalpy [J/kg].

Definition at line 266 of file SpecieMixture.C.

References Hs(), and SpecieMixture< MixtureType >::Hs().

Here is the call graph for this function:

◆ Hs() [3/3]

Foam::tmp< Foam::volScalarField > Hs ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Sensible enthalpy [J/kg].

Definition at line 278 of file SpecieMixture.C.

References Foam::dimEnergy, Foam::dimMass, SpecieMixture< MixtureType >::Ha(), and Hs().

Here is the call graph for this function:

◆ Ha() [1/3]

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

Absolute enthalpy [J/kg].

Definition at line 298 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ Ha() [2/3]

Foam::tmp< Foam::scalarField > Ha ( const label  speciei,
const scalarField p,
const scalarField T 
) const
virtual

Absolute enthalpy [J/kg].

Definition at line 310 of file SpecieMixture.C.

References Ha(), and SpecieMixture< MixtureType >::Ha().

Here is the call graph for this function:

◆ Ha() [3/3]

Foam::tmp< Foam::volScalarField > Ha ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Absolute enthalpy [J/kg].

Definition at line 322 of file SpecieMixture.C.

References Foam::dimEnergy, Foam::dimMass, Ha(), and SpecieMixture< MixtureType >::mu().

Here is the call graph for this function:

◆ mu() [1/2]

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

Dynamic viscosity [kg/m/s].

Definition at line 342 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ mu() [2/2]

Foam::tmp< Foam::volScalarField > mu ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Dynamic viscosity [kg/m/s].

Definition at line 354 of file SpecieMixture.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, SpecieMixture< MixtureType >::kappa(), and Foam::constant::physicoChemical::mu.

Here is the call graph for this function:

◆ kappa() [1/4]

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

Thermal conductivity [W/m/K].

Definition at line 374 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::kappa().

Here is the call graph for this function:

◆ kappa() [2/4]

Foam::tmp< Foam::volScalarField > kappa ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

Thermal conductivity [W/m/K].

Definition at line 386 of file SpecieMixture.C.

References SpecieMixture< MixtureType >::alphah(), Foam::dimLength, Foam::dimPower, Foam::dimTemperature, and Foam::constant::electromagnetic::kappa.

Here is the call graph for this function:

◆ alphah() [1/2]

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

Thermal conductivity [W/m/K].

Definition at line 406 of file SpecieMixture.C.

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

Here is the caller graph for this function:

◆ alphah() [2/2]

Foam::tmp< Foam::volScalarField > alphah ( const label  speciei,
const volScalarField p,
const volScalarField T 
) const
virtual

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

Definition at line 418 of file SpecieMixture.C.

References Foam::dimLength, Foam::dimMass, and Foam::dimTime.

◆ Cp() [3/4]

virtual tmp<volScalarField> Cp ( ) const
pure virtual

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

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

Here is the caller graph for this function:

◆ Cp() [4/4]

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

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

◆ Cv() [1/2]

virtual tmp<volScalarField> Cv ( ) const
pure virtual

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

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

Here is the caller graph for this function:

◆ Cv() [2/2]

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

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

◆ kappa() [3/4]

virtual tmp<volScalarField> kappa ( ) const
pure virtual

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

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

Here is the caller graph for this function:

◆ kappa() [4/4]

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

Thermal diffusivity for temperature of mixture for patch [W/m/K].


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