FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Smagorinsky Class Reference

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

#include <incompressibleLESModels/Smagorinsky.H>


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 68 of file Smagorinsky.H.

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.

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 55 of file Smagorinsky.C.

References Foam::fvc::grad().

virtual ~Smagorinsky (  ) [inline, virtual]

Destructor.

Definition at line 104 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 112 of file Smagorinsky.H.

References GenEddyVisc::ce_, incompressible::LESModel::delta(), Foam::dev(), Foam::magSqr(), Foam::sqr(), and Foam::symm().

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

Return SGS kinetic energy.

Implements GenEddyVisc.

Reimplemented in mixedSmagorinsky.

Definition at line 118 of file Smagorinsky.H.

References Foam::fvc::grad(), and incompressible::turbulenceModel::U().

Referenced by Smagorinsky2::B(), and mixedSmagorinsky::k().

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

Correct Eddy-Viscosity and related properties.

Reimplemented from GenEddyVisc.

Reimplemented in mixedSmagorinsky.

Definition at line 82 of file Smagorinsky.C.

References incompressible::LESModel::correct().

bool read (  ) [virtual]

Read LESProperties dictionary.

Reimplemented from GenEddyVisc.

Reimplemented in mixedSmagorinsky, and Smagorinsky2.

Definition at line 89 of file Smagorinsky.C.

References incompressible::LESModel::coeffDict(), GenEddyVisc::read(), and dimensioned< Type >::readIfPresent().

Referenced by Smagorinsky2::read().


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