OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

Smagorinsky Class Reference

The Isochoric Smagorinsky Model for incompressible flows. More...

Inheritance diagram for Smagorinsky:
Collaboration diagram for Smagorinsky:

List of all members.


Public Member Functions

 TypeName ("Smagorinsky")
 Runtime type information.
 Smagorinsky (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct from components.
virtual ~Smagorinsky ()
 Destructor.
tmp< volScalarField > k (const tmp< volTensorField > &gradU) const
 Return SGS kinetic energy.
virtual tmp< volScalarField > k () const
 Return SGS kinetic energy.
virtual void correct (const tmp< volTensorField > &gradU)
 Correct Eddy-Viscosity and related properties.
virtual bool read ()
 Read LESProperties dictionary.

Detailed Description

The Isochoric Smagorinsky Model for incompressible flows.

Algebraic eddy viscosity SGS model founded on the assumption that local equilibrium prevails. Thus,

    B = 2/3*k*I - 2*nuSgs*dev(D)
    Beff = 2/3*k*I - 2*nuEff*dev(D)

where

    D = symm(grad(U));
    k = (2*ck/ce)*delta^2*||D||^2
    nuSgs = ck*sqrt(k)*delta
    nuEff = nuSgs + nu

Source files

Definition at line 63 of file Smagorinsky.H.


Constructor & Destructor Documentation

Smagorinsky ( const volVectorField &  U,
const surfaceScalarField &  phi,
transportModel &  transport 
)

Construct from components.

Definition at line 47 of file Smagorinsky.C.

References k(), and Foam::sqrt().

Here is the call graph for this function:

virtual ~Smagorinsky (  )  [inline, virtual]

Destructor.

Definition at line 99 of file Smagorinsky.H.


Member Function Documentation

TypeName ( "Smagorinsky"   ) 

Runtime type information.

tmp<volScalarField> k ( const tmp< volTensorField > &  gradU  )  const [inline]

Return SGS kinetic energy.

calculated from the given velocity gradient

Definition at line 109 of file Smagorinsky.H.

virtual tmp<volScalarField> k (  )  const [inline, virtual]

Return SGS kinetic energy.

Implements GenEddyVisc.

Reimplemented in mixedSmagorinsky.

Definition at line 115 of file Smagorinsky.H.

References LESModel::delta().

Here is the call graph for this function:

void correct ( const tmp< volTensorField > &  gradU  )  [virtual]

Correct Eddy-Viscosity and related properties.

Reimplemented from GenEddyVisc.

Reimplemented in mixedSmagorinsky.

Definition at line 72 of file Smagorinsky.C.

References Foam::fvc::grad().

Here is the call graph for this function:

bool read (  )  [virtual]

Read LESProperties dictionary.

Reimplemented from GenEddyVisc.

Reimplemented in mixedSmagorinsky, and Smagorinsky2.

Definition at line 79 of file Smagorinsky.C.

References correct().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • src/turbulenceModels/incompressible/LES/Smagorinsky/Smagorinsky.H
  • src/turbulenceModels/incompressible/LES/Smagorinsky/Smagorinsky.C
Copyright © 2000-2009 OpenCFD Ltd