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

dynMixedSmagorinsky Class Reference

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

Inheritance diagram for dynMixedSmagorinsky:
Collaboration diagram for dynMixedSmagorinsky:

List of all members.


Public Member Functions

 TypeName ("dynMixedSmagorinsky")
 Runtime type information.
 dynMixedSmagorinsky (const volVectorField &U, const surfaceScalarField &phi, transportModel &transport)
 Constructors from components.
 ~dynMixedSmagorinsky ()
tmp< volScalarField > k () const
 Return SGS kinetic energy.
tmp< volScalarField > epsilon () const
 Return sub-grid disipation rate.
tmp< volSymmTensorField > B () const
 Return the sub-grid stress tensor.
tmp< volSymmTensorField > devBeff () const
 Return the effective sub-grid turbulence stress tensor.
tmp< fvVectorMatrix > divDevBeff (volVectorField &U) const
 Returns div(B).
void correct (const tmp< volTensorField > &gradU)
 Correct Eddy-Viscosity and related properties.
bool read ()
 Read LESProperties dictionary.

Detailed Description

The Mixed Isochoric Smagorinsky Model for incompressible flows.

The mixed model is a linear combination of an eddy viscosity model with a scale similarity model.

      B = (L + C) + R = (F(v*v) - F(v)*F(v)) + R

The algebraic eddy viscosity SGS model is founded on the assumption that local equilibrium prevails, hence

    R = 2/3*rho*k*I - 2*nuEff*dev(D)
where
    k = cI*delta^2*||D||^2
    nuEff = ck*sqrt(k)*delta + nu

The Leonard and cross contributions are incorporated by adding,

    + div(((filter(U*U) - filter(U)*filter(U)) -
      0.333*I*tr(filter(U*U) - filter(U)*filter(U))))
    + div((filter(U*epsilon) - filter(U)*filter(epsilon)))
to the rhs. of the equations. This version implements filtering to evaluate the coefficients in the model.

Source files

Definition at line 74 of file dynMixedSmagorinsky.H.


Constructor & Destructor Documentation

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

Constructors from components.

Definition at line 38 of file dynMixedSmagorinsky.C.

~dynMixedSmagorinsky (  )  [inline]

Definition at line 103 of file dynMixedSmagorinsky.H.


Member Function Documentation

TypeName ( "dynMixedSmagorinsky"   ) 

Runtime type information.

tmp< volScalarField > k (  )  const [virtual]

Return SGS kinetic energy.

Reimplemented from dynSmagorinsky.

Definition at line 54 of file dynMixedSmagorinsky.C.

tmp< volScalarField > epsilon (  )  const [virtual]

Return sub-grid disipation rate.

Reimplemented from scaleSimilarity.

Definition at line 64 of file dynMixedSmagorinsky.C.

References k().

Here is the call graph for this function:

tmp< volSymmTensorField > B (  )  const [virtual]

Return the sub-grid stress tensor.

Reimplemented from scaleSimilarity.

Definition at line 74 of file dynMixedSmagorinsky.C.

tmp< volSymmTensorField > devBeff (  )  const [virtual]

Return the effective sub-grid turbulence stress tensor.

including the laminar stress

Reimplemented from scaleSimilarity.

Definition at line 84 of file dynMixedSmagorinsky.C.

tmp< fvVectorMatrix > divDevBeff ( volVectorField &  U  )  const [virtual]

Returns div(B).

This is the additional term due to the filtering of the NSE.

Reimplemented from scaleSimilarity.

Definition at line 94 of file dynMixedSmagorinsky.C.

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

Correct Eddy-Viscosity and related properties.

Reimplemented from dynSmagorinsky.

Definition at line 104 of file dynMixedSmagorinsky.C.

bool read (  )  [virtual]

Read LESProperties dictionary.

Reimplemented from dynSmagorinsky.

Definition at line 111 of file dynMixedSmagorinsky.C.

References correct().

Here is the call graph for this function:


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