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

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

◆ ~SpecieMixture()

virtual ~SpecieMixture ( )
inlinevirtual

Destructor.

Definition at line 100 of file SpecieMixture.H.

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.

◆ Hf()

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

Enthalpy of formation [J/kg].

Definition at line 138 of file SpecieMixture.C.

◆ rho() [1/2]

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

Density [kg/m^3].

Definition at line 145 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call 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 157 of file SpecieMixture.C.

References Foam::dimDensity, p, rho, and Foam::T().

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

References p, and Foam::T().

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

References Cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, p, and Foam::T().

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

References p, and Foam::T().

Here is the call 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 221 of file SpecieMixture.C.

References p, and Foam::T().

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

References Foam::dimEnergy, Foam::dimMass, p, and Foam::T().

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

References p, and Foam::T().

Here is the call 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 265 of file SpecieMixture.C.

References Hs(), p, and Foam::T().

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

References Foam::dimEnergy, Foam::dimMass, Hs(), p, and Foam::T().

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

References p, and Foam::T().

Here is the call 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 309 of file SpecieMixture.C.

References Ha(), p, and Foam::T().

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

References Foam::dimEnergy, Foam::dimMass, Ha(), p, and Foam::T().

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

References p, and Foam::T().

Here is the call 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 353 of file SpecieMixture.C.

References Foam::dimLength, Foam::dimMass, Foam::dimTime, Foam::constant::physicoChemical::mu, p, and Foam::T().

Here is the call graph for this function:

◆ kappa() [1/2]

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

Thermal conductivity [W/m/K].

Definition at line 373 of file SpecieMixture.C.

References p, and Foam::T().

Here is the call graph for this function:

◆ kappa() [2/2]

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

Thermal conductivity [W/m/K].

Definition at line 385 of file SpecieMixture.C.

References Foam::dimLength, Foam::dimPower, Foam::dimTemperature, Foam::constant::electromagnetic::kappa, p, and Foam::T().

Here is the call graph for this function:

◆ Cp() [3/4]

virtual const volScalarField& Cp ( ) const
pure virtual

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

◆ 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 const volScalarField& Cv ( ) const
pure virtual

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

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


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