Loading...
Searching...
No Matches
EddyDiffusivity< BasicTurbulenceModel > Class Template Reference

Templated abstract base class for single-phase compressible turbulence models. More...

#include <EddyDiffusivity.H>

Inheritance diagram for EddyDiffusivity< BasicTurbulenceModel >:
Collaboration diagram for EddyDiffusivity< BasicTurbulenceModel >:

Public Types

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

Public Member Functions

 EddyDiffusivity (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.
virtual ~EddyDiffusivity ()=default
 Destructor.
virtual bool read ()
 Re-read model coefficients if they have changed.
virtual tmp< volScalarFieldalphat () const
 Return the turbulent thermal diffusivity for enthalpy [kg/m/s].
virtual tmp< scalarFieldalphat (const label patchi) const
 Return the turbulent thermal diffusivity for enthalpy for a patch.
virtual tmp< volScalarFieldkappaEff () const
 Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for temperature.
virtual tmp< volScalarFieldalphaEff () const
 Return the effective turbulent thermal diffusivity for enthalpy.
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Return the effective turbulent thermal diffusivity for enthalpy.
virtual void correctEnergyTransport ()
 Correct the turbulence thermal diffusivity for energy transport.

Protected Member Functions

virtual void correctNut ()

Protected Attributes

dimensionedScalar Prt_
volScalarField alphat_

Detailed Description

template<class BasicTurbulenceModel>
class Foam::EddyDiffusivity< BasicTurbulenceModel >

Templated abstract base class for single-phase compressible turbulence models.

Source files

Definition at line 47 of file EddyDiffusivity.H.

Member Typedef Documentation

◆ alphaField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 72 of file EddyDiffusivity.H.

◆ rhoField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 73 of file EddyDiffusivity.H.

◆ transportModel

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 74 of file EddyDiffusivity.H.

Constructor & Destructor Documentation

◆ EddyDiffusivity()

template<class BasicTurbulenceModel>
EddyDiffusivity ( 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 39 of file EddyDiffusivity.C.

References alpha, alphat_, Foam::dimless, phi, Prt_, rho, and U.

◆ ~EddyDiffusivity()

template<class BasicTurbulenceModel>
virtual ~EddyDiffusivity ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correctNut()

◆ read()

◆ alphat() [1/2]

template<class BasicTurbulenceModel>
virtual tmp< volScalarField > alphat ( ) const
inlinevirtual

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

Definition at line 111 of file EddyDiffusivity.H.

References alphat_.

Referenced by alphaEff(), alphaEff(), alphat(), kappaEff(), and kappaEff().

Here is the caller graph for this function:

◆ alphat() [2/2]

template<class BasicTurbulenceModel>
virtual tmp< scalarField > alphat ( const label patchi) const
inlinevirtual

Return the turbulent thermal diffusivity for enthalpy for a patch.

[kg/m/s]

Definition at line 121 of file EddyDiffusivity.H.

References alphat().

Here is the call graph for this function:

◆ kappaEff() [1/2]

template<class BasicTurbulenceModel>
virtual tmp< volScalarField > kappaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for temperature.

[J/m/s/K]

Definition at line 131 of file EddyDiffusivity.H.

References alphat().

Here is the call graph for this function:

◆ kappaEff() [2/2]

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

Return the effective turbulent thermal diffusivity for temperature.

[J/m/s/K]

Definition at line 141 of file EddyDiffusivity.H.

References alphat().

Here is the call graph for this function:

◆ alphaEff() [1/2]

template<class BasicTurbulenceModel>
virtual tmp< volScalarField > alphaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for enthalpy.

[kg/m/s]

Definition at line 151 of file EddyDiffusivity.H.

References alphat().

Here is the call graph for this function:

◆ alphaEff() [2/2]

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

Return the effective turbulent thermal diffusivity for enthalpy.

for a patch [kg/m/s]

Definition at line 161 of file EddyDiffusivity.H.

References alphat().

Here is the call graph for this function:

◆ correctEnergyTransport()

template<class BasicTurbulenceModel>
void correctEnergyTransport ( )
virtual

Correct the turbulence thermal diffusivity for energy transport.

Definition at line 98 of file EddyDiffusivity.C.

References correctNut().

Here is the call graph for this function:

Member Data Documentation

◆ Prt_

template<class BasicTurbulenceModel>
dimensionedScalar Prt_
protected

Definition at line 58 of file EddyDiffusivity.H.

Referenced by correctNut(), EddyDiffusivity(), and read().

◆ alphat_

template<class BasicTurbulenceModel>
volScalarField alphat_
protected

Definition at line 62 of file EddyDiffusivity.H.

Referenced by alphat(), correctNut(), and EddyDiffusivity().


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