Public Types | Public Member Functions | Static Public Member Functions | List of all members
ThermalDiffusivity< BasicTurbulenceModel > Class Template Reference

Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal transport. More...

Inheritance diagram for ThermalDiffusivity< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for ThermalDiffusivity< BasicTurbulenceModel >:
Collaboration graph
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef volScalarField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 ThermalDiffusivity (const word &type, const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
 Construct. More...
 
virtual ~ThermalDiffusivity ()
 Destructor. More...
 
virtual tmp< volScalarFieldalpha () const
 Thermal diffusivity for enthalpy of mixture [kg/m/s]. More...
 
virtual tmp< scalarFieldalpha (const label patchi) const
 Thermal diffusivity for enthalpy of mixture for patch [kg/m/s]. More...
 
virtual tmp< volScalarFieldkappa () const
 Thermal diffusivity for temperature of mixture [J/m/s/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const
 Thermal diffusivity for temperature of mixture. More...
 
virtual tmp< volScalarFieldalphat () const
 Turbulent thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalphat (const label patchi) const
 Turbulent thermal diffusivity for enthalpy for a patch [kg/m/s]. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff () const
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Effective thermal turbulent diffusivity of mixture. More...
 

Static Public Member Functions

static autoPtr< ThermalDiffusivityNew (const alphaField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected turbulence model. More...
 
static autoPtr< ThermalDiffusivityNew (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const transportModel &trasportModel, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected turbulence model. More...
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::ThermalDiffusivity< BasicTurbulenceModel >

Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal transport.

Source files

Definition at line 48 of file ThermalDiffusivity.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 55 of file ThermalDiffusivity.H.

◆ rhoField

Definition at line 56 of file ThermalDiffusivity.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 57 of file ThermalDiffusivity.H.

Constructor & Destructor Documentation

◆ ThermalDiffusivity()

ThermalDiffusivity ( const word type,
const alphaField alpha,
const volScalarField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel trasport,
const word propertiesName 
)

Construct.

Definition at line 32 of file ThermalDiffusivity.C.

◆ ~ThermalDiffusivity()

virtual ~ThermalDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 103 of file ThermalDiffusivity.H.

Member Function Documentation

◆ New() [1/2]

Foam::autoPtr< Foam::ThermalDiffusivity< BasicTurbulenceModel > > New ( const alphaField alpha,
const volScalarField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel trasportModel,
const word propertiesName = turbulenceModel::propertiesName 
)
static

Return a reference to the selected turbulence model.

Definition at line 62 of file ThermalDiffusivity.C.

Referenced by ThermalDiffusivity< Foam::PhaseCompressibleTurbulenceModel< Foam::fluidThermo > >::New(), and ThermalDiffusivity< Foam::PhaseCompressibleTurbulenceModel< Foam::fluidThermo > >::ThermalDiffusivity().

Here is the caller graph for this function:

◆ New() [2/2]

Foam::autoPtr< Foam::ThermalDiffusivity< BasicTurbulenceModel > > New ( const volScalarField rho,
const volVectorField U,
const surfaceScalarField phi,
const transportModel trasportModel,
const word propertiesName = turbulenceModel::propertiesName 
)
static

Return a reference to the selected turbulence model.

Definition at line 92 of file ThermalDiffusivity.C.

◆ alpha() [1/2]

virtual tmp<volScalarField> alpha ( ) const
inlinevirtual

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

Definition at line 110 of file ThermalDiffusivity.H.

Referenced by alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), and alphatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ alpha() [2/2]

virtual tmp<scalarField> alpha ( const label  patchi) const
inlinevirtual

Thermal diffusivity for enthalpy of mixture for patch [kg/m/s].

Definition at line 116 of file ThermalDiffusivity.H.

◆ kappa() [1/2]

virtual tmp<volScalarField> kappa ( ) const
inlinevirtual

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

Definition at line 122 of file ThermalDiffusivity.H.

Referenced by ThermalDiffusivity< Foam::PhaseCompressibleTurbulenceModel< Foam::fluidThermo > >::kappa().

Here is the caller graph for this function:

◆ kappa() [2/2]

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

Thermal diffusivity for temperature of mixture.

for patch [J/m/s/K]

Definition at line 129 of file ThermalDiffusivity.H.

◆ alphat() [1/2]

Foam::tmp< Foam::volScalarField > alphat ( ) const
virtual

◆ alphat() [2/2]

Foam::tmp< Foam::scalarField > alphat ( const label  patchi) const
virtual

◆ kappaEff() [1/2]

virtual tmp<volScalarField> kappaEff ( ) const
inlinevirtual

◆ kappaEff() [2/2]

virtual tmp<scalarField> kappaEff ( const label  patchi) const
inlinevirtual

Effective thermal turbulent diffusivity for temperature.

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

Reimplemented in EddyDiffusivity< ThermalDiffusivity< PhaseCompressibleTurbulenceModel< phaseModel > > >, EddyDiffusivity< phaseCompressibleTurbulenceModel >, and EddyDiffusivity< compressible::turbulenceModel >.

Definition at line 149 of file ThermalDiffusivity.H.

◆ alphaEff() [1/2]

virtual tmp<volScalarField> alphaEff ( ) const
inlinevirtual

◆ alphaEff() [2/2]

virtual tmp<scalarField> alphaEff ( const label  patchi) const
inlinevirtual

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