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

Turbulence model for laminar flow. More...

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

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 
- Public Types inherited from linearViscousStress< BasicTurbulenceModel >
typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 TypeName ("laminar")
 Runtime type information. More...
 
 laminar (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Construct from components. More...
 
virtual ~laminar ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual bool read ()
 Read turbulenceProperties dictionary. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity, i.e. 0 for laminar flow. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity, i.e. the laminar viscosity. More...
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 Return the effective viscosity on patch. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy, i.e. 0 for laminar flow. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate,. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor, i.e. 0 for laminar flow. More...
 
virtual void correct ()
 Correct the laminar viscosity. More...
 
- Public Member Functions inherited from linearViscousStress< BasicTurbulenceModel >
 linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 Construct from components. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Static Public Member Functions

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

Detailed Description

template<class BasicTurbulenceModel>
class Foam::laminar< BasicTurbulenceModel >

Turbulence model for laminar flow.

Source files

Definition at line 49 of file laminar.H.

Member Typedef Documentation

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 56 of file laminar.H.

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 57 of file laminar.H.

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 58 of file laminar.H.

Constructor & Destructor Documentation

laminar ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName 
)

Construct from components.

Definition at line 37 of file laminar.C.

References laminar< BasicTurbulenceModel >::New().

Here is the call graph for this function:

virtual ~laminar ( )
inlinevirtual

Member Function Documentation

TypeName ( "laminar< BasicTurbulenceModel >"  )

Runtime type information.

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

Return a reference to the selected turbulence model.

Definition at line 66 of file laminar.C.

Referenced by laminar< BasicTurbulenceModel >::laminar().

Here is the caller graph for this function:

const Foam::dictionary & coeffDict ( ) const
virtual

Const access to the coefficients dictionary.

Definition at line 96 of file laminar.C.

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

Here is the caller graph for this function:

bool read ( )
virtual

Read turbulenceProperties dictionary.

Implements linearViscousStress< BasicTurbulenceModel >.

Definition at line 103 of file laminar.C.

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

Here is the caller graph for this function:

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

Return the turbulence viscosity, i.e. 0 for laminar flow.

Definition at line 111 of file laminar.C.

References Foam::dimViscosity.

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

Here is the caller graph for this function:

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

Return the turbulence viscosity on patch.

Definition at line 136 of file laminar.C.

References patchi, and scalarField().

Here is the call graph for this function:

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

Return the effective viscosity, i.e. the laminar viscosity.

Definition at line 149 of file laminar.C.

References nu.

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

Here is the caller graph for this function:

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

Return the effective viscosity on patch.

Definition at line 164 of file laminar.C.

References nu.

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

Return the turbulence kinetic energy, i.e. 0 for laminar flow.

Definition at line 174 of file laminar.C.

References Foam::sqr().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Return the turbulence kinetic energy dissipation rate,.

i.e. 0 for laminar flow

Definition at line 198 of file laminar.C.

References Foam::dimTime, and Foam::sqr().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Foam::tmp< Foam::volSymmTensorField > R ( ) const
virtual

Return the Reynolds stress tensor, i.e. 0 for laminar flow.

Definition at line 225 of file laminar.C.

References Foam::sqr().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void correct ( )
virtual

Correct the laminar viscosity.

Implements linearViscousStress< BasicTurbulenceModel >.

Definition at line 251 of file laminar.C.

References correct.

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

Here is the caller graph for this function:


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