Differential SGS Stress Equation Model for incompressible and compressible flows. More...
Public Types | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
![]() | |
typedef LESModel< BasicMomentumTransportModel > ::alphaField | alphaField |
typedef LESModel< BasicMomentumTransportModel > ::rhoField | rhoField |
typedef LESModel< BasicMomentumTransportModel > ::transportModel | transportModel |
![]() | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
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 transportModel &transport, 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< volScalarField > | epsilon () const |
Return the turbulence kinetic energy 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... | |
![]() | |
Foam::tmp< Foam::fvVectorMatrix > | DivDevRhoReff (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) | |
Construct from components. More... | |
virtual | ~ReynoldsStress () |
Destructor. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the Reynolds stress tensor [m^2/s^2]. More... | |
virtual tmp< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (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... | |
![]() | |
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 transportModel &transport),(alpha, rho, U, alphaRhoPhi, phi, transport)) | |
LESModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) | |
Construct from components. More... | |
LESModel (const LESModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~LESModel () |
Destructor. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
const dimensionedScalar & | kMin () const |
Return the lower allowable limit for k (default: small) More... | |
dimensionedScalar & | kMin () |
Allow kMin to be changed. More... | |
const volScalarField & | delta () const |
Access function to filter width. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
void | operator= (const LESModel &)=delete |
Disallow default bitwise assignment. More... | |
Protected Member Functions | |
virtual void | correctNut () |
Update the eddy-viscosity. More... | |
![]() | |
void | boundNormalStress (volSymmTensorField &R) const |
void | correctWallShearStress (volSymmTensorField &R) const |
virtual tmp< fvSymmTensorMatrix > | RSource () const |
Source term for the R equation. More... | |
tmp< fvVectorMatrix > | DivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
![]() | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
dimensionedScalar | Ck_ |
dimensionedScalar | Cm_ |
dimensionedScalar | Ce_ |
dimensionedScalar | Cs_ |
![]() | |
dimensionedScalar | couplingFactor_ |
volSymmTensorField | R_ |
volScalarField | nut_ |
![]() | |
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 | epsilonMin_ |
Lower limit of epsilon. More... | |
dimensionedScalar | omegaMin_ |
Lower limit for omega. More... | |
autoPtr< Foam::LESdelta > | delta_ |
Run-time selectable delta model. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< LESModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) |
Return a reference to the selected LES model. More... | |
Differential SGS Stress Equation Model for incompressible and compressible flows.
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.
Definition at line 79 of file DeardorffDiffStress.H.
typedef BasicMomentumTransportModel::alphaField alphaField |
Definition at line 103 of file DeardorffDiffStress.H.
typedef BasicMomentumTransportModel::rhoField rhoField |
Definition at line 104 of file DeardorffDiffStress.H.
typedef BasicMomentumTransportModel::transportModel transportModel |
Definition at line 105 of file DeardorffDiffStress.H.
DeardorffDiffStress | ( | const alphaField & | alpha, |
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const transportModel & | transport, | ||
const word & | type = typeName |
||
) |
Constructor from components.
Definition at line 52 of file DeardorffDiffStress.C.
Referenced by DeardorffDiffStress< BasicMomentumTransportModel >::correctNut().
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 131 of file DeardorffDiffStress.H.
References DeardorffDiffStress< BasicMomentumTransportModel >::correct(), DeardorffDiffStress< BasicMomentumTransportModel >::epsilon(), DeardorffDiffStress< BasicMomentumTransportModel >::operator=(), and DeardorffDiffStress< BasicMomentumTransportModel >::read().
|
protectedvirtual |
Update the eddy-viscosity.
Implements ReynoldsStress< LESModel< BasicMomentumTransportModel > >.
Definition at line 40 of file DeardorffDiffStress.C.
References DeardorffDiffStress< BasicMomentumTransportModel >::DeardorffDiffStress(), delta, k, dictionary::New(), and Foam::sqrt().
TypeName | ( | "DeardorffDiffStress< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
virtual |
Read model coefficients if they have changed.
Implements ReynoldsStress< LESModel< BasicMomentumTransportModel > >.
Definition at line 121 of file DeardorffDiffStress.C.
References Foam::read().
Referenced by DeardorffDiffStress< BasicMomentumTransportModel >::~DeardorffDiffStress().
|
virtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 141 of file DeardorffDiffStress.C.
References delta, IOobject::groupName(), k, GeometricField< scalar, fvPatchField, volMesh >::New(), and Foam::sqrt().
Referenced by DeardorffDiffStress< BasicMomentumTransportModel >::~DeardorffDiffStress().
|
virtual |
Correct sub-grid stress, eddy-Viscosity and related properties.
Implements ReynoldsStress< LESModel< BasicMomentumTransportModel > >.
Definition at line 154 of file DeardorffDiffStress.C.
References fvConstraints::constrain(), correct, Foam::fvm::ddt(), delta, Foam::fvm::div(), epsilon, fvConstraints, fvModels, Foam::fvc::grad(), Foam::I, k, Foam::fvm::laplacian(), dictionary::New(), R, tmp< T >::ref(), Foam::fvm::Sp(), Foam::sqrt(), Foam::symm(), and Foam::twoSymm().
Referenced by DeardorffDiffStress< BasicMomentumTransportModel >::~DeardorffDiffStress().
|
delete |
Disallow default bitwise assignment.
Referenced by DeardorffDiffStress< BasicMomentumTransportModel >::~DeardorffDiffStress().
|
protected |
Definition at line 89 of file DeardorffDiffStress.H.
|
protected |
Definition at line 90 of file DeardorffDiffStress.H.
|
protected |
Definition at line 91 of file DeardorffDiffStress.H.
|
protected |
Definition at line 92 of file DeardorffDiffStress.H.