The Isochoric Smagorinsky Model for incompressible flows. More...
#include <incompressibleLESModels/Smagorinsky.H>
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
Definition at line 68 of file Smagorinsky.H.
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.
|
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.
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().