Public Types | Public Member Functions | Static Public Member Functions | List of all members
CompressibleTurbulenceModel< TransportModel > Class Template Reference

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

Inheritance diagram for CompressibleTurbulenceModel< TransportModel >:
Inheritance graph
[legend]
Collaboration diagram for CompressibleTurbulenceModel< TransportModel >:
Collaboration graph
[legend]

Public Types

typedef geometricOneField alphaField
 
typedef volScalarField rhoField
 
typedef TransportModel transportModel
 

Public Member Functions

 CompressibleTurbulenceModel (const word &type, const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &trasport, const word &propertiesName)
 Construct. More...
 
virtual ~CompressibleTurbulenceModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldmu () const
 Return the laminar dynamic viscosity. More...
 
virtual tmp< scalarFieldmu (const label patchi) const
 Return the laminar dynamic viscosity on patch. More...
 
virtual tmp< volScalarFieldmut () const
 Return the turbulence dynamic viscosity. More...
 
virtual tmp< scalarFieldmut (const label patchi) const
 Return the turbulence dynamic viscosity on patch. More...
 
virtual tmp< volScalarFieldmuEff () const
 Return the effective dynamic viscosity. More...
 
virtual tmp< scalarFieldmuEff (const label patchi) const
 Return the effective dynamic viscosity on patch. More...
 

Static Public Member Functions

static autoPtr< CompressibleTurbulenceModelNew (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 TransportModel>
class Foam::CompressibleTurbulenceModel< TransportModel >

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

Source files

Definition at line 51 of file CompressibleTurbulenceModel.H.

Member Typedef Documentation

Definition at line 64 of file CompressibleTurbulenceModel.H.

Definition at line 65 of file CompressibleTurbulenceModel.H.

typedef TransportModel transportModel

Definition at line 66 of file CompressibleTurbulenceModel.H.

Constructor & Destructor Documentation

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

Construct.

Definition at line 33 of file CompressibleTurbulenceModel.C.

References CompressibleTurbulenceModel< TransportModel >::New().

Here is the call graph for this function:

virtual ~CompressibleTurbulenceModel ( )
inlinevirtual

Destructor.

Definition at line 99 of file CompressibleTurbulenceModel.H.

Member Function Documentation

Foam::autoPtr< Foam::CompressibleTurbulenceModel< TransportModel > > 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 68 of file CompressibleTurbulenceModel.C.

References Foam::compressible::New().

Referenced by CompressibleTurbulenceModel< TransportModel >::CompressibleTurbulenceModel().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual tmp<volScalarField> mu ( ) const
inlinevirtual

Return the laminar dynamic viscosity.

Definition at line 106 of file CompressibleTurbulenceModel.H.

Referenced by CompressibleTurbulenceModel< TransportModel >::muEff().

Here is the caller graph for this function:

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

Return the laminar dynamic viscosity on patch.

Definition at line 112 of file CompressibleTurbulenceModel.H.

virtual tmp<volScalarField> mut ( ) const
inlinevirtual

Return the turbulence dynamic viscosity.

Definition at line 118 of file CompressibleTurbulenceModel.H.

References nut.

Referenced by CompressibleTurbulenceModel< TransportModel >::muEff().

Here is the caller graph for this function:

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

Return the turbulence dynamic viscosity on patch.

Definition at line 124 of file CompressibleTurbulenceModel.H.

References nut, and patchi.

virtual tmp<volScalarField> muEff ( ) const
inlinevirtual

Return the effective dynamic viscosity.

Definition at line 130 of file CompressibleTurbulenceModel.H.

References CompressibleTurbulenceModel< TransportModel >::mu(), and CompressibleTurbulenceModel< TransportModel >::mut().

Here is the call graph for this function:

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

Return the effective dynamic viscosity on patch.

Definition at line 136 of file CompressibleTurbulenceModel.H.

References CompressibleTurbulenceModel< TransportModel >::mu(), and CompressibleTurbulenceModel< TransportModel >::mut().

Here is the call graph for this function:


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