Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EddyDiffusivity< BasicTurbulenceModel > Class Template Reference

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

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

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 &trasport, const word &propertiesName)
 Construct. More...
 
virtual ~EddyDiffusivity ()
 Destructor. More...
 
virtual bool read ()
 Re-read model coefficients if they have changed. 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...
 
virtual void correctEnergyTransport ()
 Correct the turbulence thermal diffusivity for energy transport. More...
 

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 48 of file EddyDiffusivity.H.

Member Typedef Documentation

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 73 of file EddyDiffusivity.H.

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 74 of file EddyDiffusivity.H.

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 75 of file EddyDiffusivity.H.

Constructor & Destructor Documentation

EddyDiffusivity ( 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 50 of file EddyDiffusivity.C.

Referenced by EddyDiffusivity< BasicTurbulenceModel >::correctNut().

Here is the caller graph for this function:

virtual ~EddyDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 95 of file EddyDiffusivity.H.

References EddyDiffusivity< BasicTurbulenceModel >::read().

Here is the call graph for this function:

Member Function Documentation

void correctNut ( )
protectedvirtual

Definition at line 31 of file EddyDiffusivity.C.

References EddyDiffusivity< BasicTurbulenceModel >::EddyDiffusivity(), and nut.

Here is the call graph for this function:

bool read ( )
virtual

Re-read model coefficients if they have changed.

Definition at line 94 of file EddyDiffusivity.C.

References Foam::read().

Referenced by EddyDiffusivity< BasicTurbulenceModel >::~EddyDiffusivity().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual tmp<volScalarField> alphat ( ) const
inlinevirtual

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

Definition at line 105 of file EddyDiffusivity.H.

References EddyDiffusivity< BasicTurbulenceModel >::alphaEff(), EddyDiffusivity< BasicTurbulenceModel >::alphat_, EddyDiffusivity< BasicTurbulenceModel >::correctEnergyTransport(), EddyDiffusivity< BasicTurbulenceModel >::kappaEff(), and patchi.

Here is the call graph for this function:

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 112 of file EddyDiffusivity.H.

virtual tmp<volScalarField> kappaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for temperature.

[J/m/s/K]

Definition at line 119 of file EddyDiffusivity.H.

Referenced by EddyDiffusivity< BasicTurbulenceModel >::alphat().

Here is the caller graph for this function:

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

Return the effective turbulent thermal diffusivity for temperature.

[J/m/s/K]

Definition at line 126 of file EddyDiffusivity.H.

virtual tmp<volScalarField> alphaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity for enthalpy.

[kg/m/s]

Definition at line 133 of file EddyDiffusivity.H.

Referenced by EddyDiffusivity< BasicTurbulenceModel >::alphat().

Here is the caller graph for this function:

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 140 of file EddyDiffusivity.H.

void correctEnergyTransport ( )
virtual

Correct the turbulence thermal diffusivity for energy transport.

Definition at line 110 of file EddyDiffusivity.C.

Referenced by EddyDiffusivity< BasicTurbulenceModel >::alphat().

Here is the caller graph for this function:

Member Data Documentation

dimensionedScalar Prt_
protected

Definition at line 59 of file EddyDiffusivity.H.

volScalarField alphat_
protected

Definition at line 63 of file EddyDiffusivity.H.

Referenced by EddyDiffusivity< BasicTurbulenceModel >::alphat().


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