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

dynSmagorinsky Class Reference

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

Inheritance diagram for dynSmagorinsky:
Collaboration diagram for dynSmagorinsky:

List of all members.


Public Member Functions

 TypeName ("dynSmagorinsky")
 Runtime type information.
 dynSmagorinsky (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Construct from components.
virtual ~dynSmagorinsky ()
 Destructor.
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 dynamic 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

    k = cI*delta^2*||D||^2
    nuSgs = cD*delta^2*||D||
    nuEff = nuSgs + nu

In the dynamic version of the choric  Smagorinsky model
the coefficients cI and cD are calculated during the simulation,

    cI=<K*m>/<m*m>

and

    cD=<L.M>/<M.M>,

where

    K = 0.5*(F(U.U) - F(U).F(U))
    m = delta^2*(4*||F(D)||^2 - F(||D||^2))
    L = dev(F(U*U) - F(U)*F(U))
    M = delta^2*(F(||D||*dev(D)) - 4*||F(D)||*F(dev(D)))

Source files

Definition at line 79 of file dynSmagorinsky.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 87 of file dynSmagorinsky.C.

virtual ~dynSmagorinsky (  )  [inline, virtual]

Destructor.

Definition at line 122 of file dynSmagorinsky.H.


Member Function Documentation

TypeName ( "dynSmagorinsky"   ) 

Runtime type information.

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

Return SGS kinetic energy.

Implements GenEddyVisc.

Reimplemented in dynMixedSmagorinsky.

Definition at line 129 of file dynSmagorinsky.H.

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

Correct Eddy-Viscosity and related properties.

Reimplemented from GenEddyVisc.

Reimplemented in dynMixedSmagorinsky.

Definition at line 120 of file dynSmagorinsky.C.

References Foam::dev(), Foam::fvc::grad(), and Foam::symm().

Here is the call graph for this function:

bool read (  )  [virtual]

Read LESProperties dictionary.

Reimplemented from GenEddyVisc.

Reimplemented in dynMixedSmagorinsky.

Definition at line 132 of file dynSmagorinsky.C.

References LESModel::delta().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd