DeardorffDiffStress< BasicMomentumTransportModel > Class Template Reference

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

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

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from ReynoldsStress< LESModel< BasicMomentumTransportModel > >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from LESModel< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 TypeName ("DeardorffDiffStress")
 Runtime type information. More...
 
 DeardorffDiffStress (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Constructor from components. More...
 
 DeardorffDiffStress (const DeardorffDiffStress &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~DeardorffDiffStress ()
 Destructor. More...
 
virtual bool read ()
 Read model coefficients if they have changed. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate. More...
 
virtual void correct ()
 Correct sub-grid stress, eddy-Viscosity and related properties. More...
 
void operator= (const DeardorffDiffStress &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from ReynoldsStress< LESModel< BasicMomentumTransportModel > >
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 viscosity &viscosity)
 Construct from components. More...
 
virtual ~ReynoldsStress ()
 Destructor. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy. More...
 
virtual tmp< volSymmTensorFieldsigma () const
 Return the Reynolds stress tensor [m^2/s^2]. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
- Public Member Functions inherited from LESModel< BasicMomentumTransportModel >
 TypeName ("LES")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, LESModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity),(alpha, rho, U, alphaRhoPhi, phi, viscosity))
 
 LESModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
 LESModel (const LESModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~LESModel ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
const volScalarFielddelta () const
 Access function to filter width. More...
 
virtual tmp< volScalarFieldnu () const
 Return the laminar viscosity. More...
 
virtual tmp< scalarFieldnu (const label patchi) const
 Return the laminar viscosity on patchi. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity. More...
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 Return the effective viscosity on patch. More...
 
virtual void predict ()
 Predict the turbulence transport coefficients if possible. More...
 
void operator= (const LESModel &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

virtual void correctNut ()
 Update the eddy-viscosity. More...
 
- Protected Member Functions inherited from ReynoldsStress< LESModel< BasicMomentumTransportModel > >
void boundNormalStress (volSymmTensorField &R) const
 
void correctWallShearStress (volSymmTensorField &R) const
 
virtual tmp< fvSymmTensorMatrixRSource () const
 Source term for the R equation. More...
 
tmp< fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 
- Protected Member Functions inherited from LESModel< BasicMomentumTransportModel >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 

Protected Attributes

dimensionedScalar Ck_
 
dimensionedScalar Cm_
 
dimensionedScalar Ce_
 
dimensionedScalar Cs_
 
- Protected Attributes inherited from ReynoldsStress< LESModel< BasicMomentumTransportModel > >
dimensionedScalar couplingFactor_
 
volSymmTensorField R_
 
volScalarField nut_
 
- Protected Attributes inherited from LESModel< BasicMomentumTransportModel >
dictionary LESDict_
 LES coefficients dictionary. More...
 
Switch turbulence_
 Turbulence on/off flag. More...
 
Switch printCoeffs_
 Flag to print the model coeffs at run-time. More...
 
dictionary coeffDict_
 Model coefficients dictionary. More...
 
dimensionedScalar kMin_
 Lower limit of k. More...
 
dimensionedScalar nutMaxCoeff_
 Upper limit coefficient for nut. More...
 
autoPtr< laminarModels::generalisedNewtonianViscosityModelviscosityModel_
 Run-time selectable generalised Newtonian viscosity model. More...
 
autoPtr< Foam::LESdeltadelta_
 Run-time selectable delta model. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from LESModel< BasicMomentumTransportModel >
static autoPtr< LESModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Return a reference to the selected LES model. More...
 

Detailed Description

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

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 generalised 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 79 of file DeardorffDiffStress.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 103 of file DeardorffDiffStress.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 104 of file DeardorffDiffStress.H.

Constructor & Destructor Documentation

◆ DeardorffDiffStress() [1/2]

DeardorffDiffStress ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

◆ DeardorffDiffStress() [2/2]

DeardorffDiffStress ( const DeardorffDiffStress< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~DeardorffDiffStress()

virtual ~DeardorffDiffStress ( )
inlinevirtual

Destructor.

Definition at line 130 of file DeardorffDiffStress.H.

Member Function Documentation

◆ correctNut()

void correctNut
protectedvirtual

Update the eddy-viscosity.

Implements ReynoldsStress< LESModel< BasicMomentumTransportModel > >.

Definition at line 40 of file DeardorffDiffStress.C.

References delta, k, dictionary::New(), and Foam::sqrt().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "DeardorffDiffStress< BasicMomentumTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Read model coefficients if they have changed.

Implements ReynoldsStress< LESModel< BasicMomentumTransportModel > >.

Definition at line 121 of file DeardorffDiffStress.C.

References Foam::read().

Here is the call graph for this function:

◆ epsilon()

tmp< volScalarField > epsilon
virtual

Return the turbulence kinetic energy dissipation rate.

Definition at line 141 of file DeardorffDiffStress.C.

References delta, k, GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::sqrt().

Here is the call graph for this function:

◆ omega()

tmp< volScalarField > omega
virtual

Return the turbulence specific dissipation rate.

Definition at line 155 of file DeardorffDiffStress.C.

References delta, k, GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::sqrt().

Here is the call graph for this function:

◆ correct()

◆ operator=()

void operator= ( const DeardorffDiffStress< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ Ck_

dimensionedScalar Ck_
protected

Definition at line 89 of file DeardorffDiffStress.H.

◆ Cm_

dimensionedScalar Cm_
protected

Definition at line 90 of file DeardorffDiffStress.H.

◆ Ce_

dimensionedScalar Ce_
protected

Definition at line 91 of file DeardorffDiffStress.H.

◆ Cs_

dimensionedScalar Cs_
protected

Definition at line 92 of file DeardorffDiffStress.H.


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