Loading...
Searching...
No Matches
DeardorffDiffStress< BasicTurbulenceModel > Class Template Reference

Differential SGS Stress Equation Model for incompressible and compressible flows. More...

#include <DeardorffDiffStress.H>

Inheritance diagram for DeardorffDiffStress< BasicTurbulenceModel >:
Collaboration diagram for DeardorffDiffStress< BasicTurbulenceModel >:

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
typedef BasicTurbulenceModel::rhoField rhoField
typedef BasicTurbulenceModel::transportModel transportModel
Public Types inherited from ReynoldsStress< LESModel< BasicTurbulenceModel > >
typedef BasicTurbulenceModel::alphaField alphaField
typedef BasicTurbulenceModel::rhoField rhoField
typedef BasicTurbulenceModel::transportModel transportModel

Public Member Functions

 TypeName ("DeardorffDiffStress")
 Runtime type information.
 DeardorffDiffStress (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Constructor from components.
virtual ~DeardorffDiffStress ()=default
 Destructor.
virtual bool read ()
 Read model coefficients if they have changed.
virtual void correct ()
 Correct sub-grid stress, eddy-Viscosity and related properties.
Public Member Functions inherited from ReynoldsStress< LESModel< BasicTurbulenceModel > >
Foam::tmp< Foam::fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 ReynoldsStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 Construct from components.
virtual ~ReynoldsStress ()=default
 Destructor.
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity.
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy.
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor.
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor.
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
virtual void validate ()
 Validate the turbulence fields after construction.

Protected Member Functions

virtual void correctNut ()
 Update the eddy-viscosity.
Protected Member Functions inherited from ReynoldsStress< LESModel< BasicTurbulenceModel > >
void boundNormalStress (volSymmTensorField &R) const
void correctWallShearStress (volSymmTensorField &R) const
void checkRealizabilityConditions (const volSymmTensorField &R) const

Protected Attributes

dimensionedScalar Ck_
dimensionedScalar Cm_
dimensionedScalar Ce_
dimensionedScalar Cs_
Protected Attributes inherited from ReynoldsStress< LESModel< BasicTurbulenceModel > >
dimensionedScalar couplingFactor_
volSymmTensorField R_
volScalarField nut_

Detailed Description

template<class BasicTurbulenceModel>
class Foam::LESModels::DeardorffDiffStress< BasicTurbulenceModel >

Differential SGS Stress Equation Model for incompressible and compressible flows.

Reference:

    Deardorff, J. W. (1973).
    The use of subgrid transport equations in a three-dimensional model
    of atmospheric turbulence.
    Journal of Fluids Engineering, 95(3), 429-438.

This SGS model uses a full balance equation for the SGS stress tensor to simulate the behaviour of B.

This implementation is as described in the above paper except that the triple correlation model of Donaldson is replaced with the generalized gradient diffusion model of Daly and Harlow:

    Daly, B. J., & Harlow, F. H. (1970).
    Transport equations in turbulence.
    Physics of Fluids (1958-1988), 13(11), 2634-2649.

with the default value for the coefficient Cs of 0.25 from

    Launder, B. E., Reece, G. J., & Rodi, W. (1975).
    Progress in the development of a Reynolds-stress turbulence closure.
    Journal of fluid mechanics, 68(03), 537-566.
Source files

Definition at line 81 of file DeardorffDiffStress.H.

Member Typedef Documentation

◆ alphaField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 120 of file DeardorffDiffStress.H.

◆ rhoField

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 121 of file DeardorffDiffStress.H.

◆ transportModel

template<class BasicTurbulenceModel>
typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 122 of file DeardorffDiffStress.H.

Constructor & Destructor Documentation

◆ DeardorffDiffStress()

template<class BasicTurbulenceModel>
DeardorffDiffStress ( const alphaField & alpha,
const rhoField & rho,
const volVectorField & U,
const surfaceScalarField & alphaRhoPhi,
const surfaceScalarField & phi,
const transportModel & transport,
const word & propertiesName = turbulenceModel::propertiesName,
const word & type = typeName )

◆ ~DeardorffDiffStress()

template<class BasicTurbulenceModel>
virtual ~DeardorffDiffStress ( )
virtualdefault

Destructor.

Member Function Documentation

◆ correctNut()

template<class BasicTurbulenceModel>
void correctNut ( )
protectedvirtual

Update the eddy-viscosity.

Implements ReynoldsStress< LESModel< BasicTurbulenceModel > >.

Definition at line 36 of file DeardorffDiffStress.C.

References Ck_, optionList::correct(), delta, k, options::New(), ReynoldsStress< LESModel< BasicTurbulenceModel > >::nut_, and Foam::sqrt().

Referenced by correct().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

template<class BasicTurbulenceModel>
TypeName ( "DeardorffDiffStress< BasicTurbulenceModel >" )

Runtime type information.

◆ read()

template<class BasicTurbulenceModel>
bool read ( )
virtual

Read model coefficients if they have changed.

Implements ReynoldsStress< LESModel< BasicTurbulenceModel > >.

Definition at line 121 of file DeardorffDiffStress.C.

References Ce_, Ck_, Cm_, Cs_, read(), and ReynoldsStress< LESModel< BasicTurbulenceModel > >::ReynoldsStress().

Referenced by read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ correct()

Member Data Documentation

◆ Ck_

template<class BasicTurbulenceModel>
dimensionedScalar Ck_
protected

Definition at line 104 of file DeardorffDiffStress.H.

Referenced by correctNut(), DeardorffDiffStress(), and read().

◆ Cm_

template<class BasicTurbulenceModel>
dimensionedScalar Cm_
protected

Definition at line 105 of file DeardorffDiffStress.H.

Referenced by correct(), DeardorffDiffStress(), and read().

◆ Ce_

template<class BasicTurbulenceModel>
dimensionedScalar Ce_
protected

Definition at line 106 of file DeardorffDiffStress.H.

Referenced by correct(), DeardorffDiffStress(), and read().

◆ Cs_

template<class BasicTurbulenceModel>
dimensionedScalar Cs_
protected

Definition at line 107 of file DeardorffDiffStress.H.

Referenced by correct(), DeardorffDiffStress(), and read().


The documentation for this class was generated from the following files: