ThermalDiffusivity< BasicTurbulenceModel > Class Template Reference

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

Inheritance diagram for ThermalDiffusivity< BasicTurbulenceModel >:
[legend]
Collaboration diagram for ThermalDiffusivity< BasicTurbulenceModel >:
[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 &transport, const word &propertiesName)
 Construct. More...
 
virtual ~ThermalDiffusivity ()=default
 Destructor. More...
 
virtual tmp< volScalarFieldkappa () const
 Return the thermal diffusivity for temperature [J/m/s/K]. More...
 
virtual tmp< scalarFieldkappa (const label patchi) const
 Return the laminar thermal diffusivity for temperature on patch. More...
 
virtual tmp< volScalarFieldalpha () const
 Return the laminar thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalpha (const label patchi) const
 Return the laminar thermal diffusivity for enthalpy on patch. More...
 
virtual tmp< volScalarFieldalphat () const
 Return the turbulent thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalphat (const label patchi) const
 Return the turbulent thermal diffusivity for enthalpy for a patch. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Return the effective turbulent thermal diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff () const
 Return the effective turbulent thermal diffusivity for enthalpy. More...
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for enthalpy. 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 &transportModel, 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 &transportModel, 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 51 of file ThermalDiffusivity.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 58 of file ThermalDiffusivity.H.

◆ rhoField

Definition at line 59 of file ThermalDiffusivity.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 60 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 transport,
const word propertiesName 
)

Construct.

Definition at line 33 of file ThermalDiffusivity.C.

◆ ~ThermalDiffusivity()

virtual ~ThermalDiffusivity ( )
virtualdefault

Destructor.

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 transportModel,
const word propertiesName = turbulenceModel::propertiesName 
)
static

Return a reference to the selected turbulence model.

Definition at line 63 of file ThermalDiffusivity.C.

◆ New() [2/2]

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

Return a reference to the selected turbulence model.

Definition at line 93 of file ThermalDiffusivity.C.

◆ kappa() [1/2]

virtual tmp< volScalarField > kappa ( ) const
inlinevirtual

Return the thermal diffusivity for temperature [J/m/s/K].

Definition at line 112 of file ThermalDiffusivity.H.

◆ kappa() [2/2]

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

Return the laminar thermal diffusivity for temperature on patch.

[J/m/s/K]

Definition at line 119 of file ThermalDiffusivity.H.

◆ alpha() [1/2]

virtual tmp< volScalarField > alpha ( ) const
inlinevirtual

Return the laminar thermal diffusivity for enthalpy [kg/m/s].

Definition at line 125 of file ThermalDiffusivity.H.

◆ alpha() [2/2]

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

Return the laminar thermal diffusivity for enthalpy on patch.

[kg/m/s]

Definition at line 132 of file ThermalDiffusivity.H.

◆ alphat() [1/2]

Foam::tmp< Foam::volScalarField > alphat
virtual

Return the turbulent thermal diffusivity for enthalpy [kg/m/s].

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

Definition at line 121 of file ThermalDiffusivity.C.

References Foam::dimDensity, Foam::dimViscosity, IOobject::groupName(), Time::New(), IOobject::NO_READ, IOobject::NO_WRITE, and Foam::Zero.

Here is the call graph for this function:

◆ alphat() [2/2]

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

◆ kappaEff() [1/2]

virtual tmp< volScalarField > kappaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for temperature.

[J/m/s/K]

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

Definition at line 146 of file ThermalDiffusivity.H.

Referenced by thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), and wallHeatTransferFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ kappaEff() [2/2]

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

◆ alphaEff() [1/2]

virtual tmp< volScalarField > alphaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for enthalpy.

[kg/m/s]

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

Definition at line 160 of file ThermalDiffusivity.H.

Referenced by wallHeatFlux::execute(), convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ alphaEff() [2/2]

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

Return the effective turbulent thermal diffusivity for enthalpy.

for a patch [kg/m/s]

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

Definition at line 167 of file ThermalDiffusivity.H.


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