Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
kkLOmega Class Reference

Low Reynolds-number k-kl-omega turbulence model for incompressible flows. More...

Inheritance diagram for kkLOmega:
Inheritance graph
[legend]
Collaboration diagram for kkLOmega:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("kkLOmega")
 Runtime type information. More...
 
 kkLOmega (const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Construct from components. More...
 
virtual ~kkLOmega ()
 Destructor. More...
 
virtual bool read ()
 Read RASProperties dictionary. More...
 
tmp< volScalarFieldDkEff (const volScalarField &alphaT) const
 Return the effective diffusivity for k. More...
 
tmp< volScalarFieldDomegaEff (const volScalarField &alphaT) const
 Return the effective diffusivity for omega. More...
 
virtual tmp< volScalarFieldkl () const
 Return the laminar kinetic energy. More...
 
virtual tmp< volScalarFieldkt () const
 Return the turbulence kinetic energy. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate. More...
 
virtual tmp< volScalarFieldk () const
 Return the total fluctuation kinetic energy. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the total fluctuation kinetic energy dissipation rate. More...
 
virtual void validate ()
 Validate the turbulence fields after construction. More...
 
virtual void correct ()
 Solve the turbulence equations and correct the turbulence viscosity. More...
 
- Public Member Functions inherited from eddyViscosity< incompressible::RASModel >
 eddyViscosity (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. More...
 
virtual ~eddyViscosity ()
 Destructor. More...
 
volScalarFieldevNut ()
 Return non-const access to the turbulence viscosity. 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< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
- Public Member Functions inherited from linearViscousStress< incompressible::RASModel >
 linearViscousStress (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. More...
 
virtual ~linearViscousStress ()
 Destructor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 Return the source term for the momentum equation. More...
 

Protected Member Functions

virtual void correctNut ()
 

Protected Attributes

dimensionedScalar A0_
 
dimensionedScalar As_
 
dimensionedScalar Av_
 
dimensionedScalar Abp_
 
dimensionedScalar Anat_
 
dimensionedScalar Ats_
 
dimensionedScalar CbpCrit_
 
dimensionedScalar Cnc_
 
dimensionedScalar CnatCrit_
 
dimensionedScalar Cint_
 
dimensionedScalar CtsCrit_
 
dimensionedScalar CrNat_
 
dimensionedScalar C11_
 
dimensionedScalar C12_
 
dimensionedScalar CR_
 
dimensionedScalar CalphaTheta_
 
dimensionedScalar Css_
 
dimensionedScalar CtauL_
 
dimensionedScalar Cw1_
 
dimensionedScalar Cw2_
 
dimensionedScalar Cw3_
 
dimensionedScalar CwR_
 
dimensionedScalar Clambda_
 
dimensionedScalar CmuStd_
 
dimensionedScalar Prtheta_
 
dimensionedScalar Sigmak_
 
dimensionedScalar Sigmaw_
 
volScalarField kt_
 
volScalarField kl_
 
volScalarField omega_
 
volScalarField epsilon_
 
const volScalarFieldy_
 Wall distance. More...
 
- Protected Attributes inherited from eddyViscosity< incompressible::RASModel >
volScalarField nut_
 

Additional Inherited Members

- Public Types inherited from eddyViscosity< incompressible::RASModel >
typedef incompressible::RASModel::alphaField alphaField
 
typedef incompressible::RASModel::rhoField rhoField
 
typedef incompressible::RASModel::transportModel transportModel
 
- Public Types inherited from linearViscousStress< incompressible::RASModel >
typedef incompressible::RASModel::alphaField alphaField
 
typedef incompressible::RASModel::rhoField rhoField
 
typedef incompressible::RASModel::transportModel transportModel
 

Detailed Description

Low Reynolds-number k-kl-omega turbulence model for incompressible flows.

This turbulence model is described in:

    Walters, D. K., & Cokljat, D. (2008).
    A three-equation eddy-viscosity model for Reynolds-averaged
    Navier–Stokes simulations of transitional flow.
    Journal of Fluids Engineering, 130(12), 121401.

however the paper contains several errors which must be corrected for the model to operation correctly as explained in

    Furst, J. (2013).
    Numerical simulation of transitional flows with laminar kinetic energy.
    Engineering MECHANICS, 20(5), 379-388.

All these corrections and updates are included in this implementation.

The default model coefficients are

    kkLOmegaCoeffs
    {
        A0             4.04
        As             2.12
        Av             6.75
        Abp            0.6
        Anat           200
        Ats            200
        CbpCrit        1.2
        Cnc            0.1
        CnatCrit       1250
        Cint           0.75
        CtsCrit        1000
        CrNat          0.02
        C11            3.4e-6
        C12            1.0e-10
        CR             0.12
        CalphaTheta    0.035
        Css            1.5
        CtauL          4360
        Cw1            0.44
        Cw2            0.92
        Cw3            0.3
        CwR            1.5
        Clambda        2.495
        CmuStd         0.09
        Prtheta        0.85
        Sigmak         1
        Sigmaw         1.17
    }
Source files

Definition at line 110 of file kkLOmega.H.

Constructor & Destructor Documentation

kkLOmega ( const geometricOneField alpha,
const geometricOneField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName = turbulenceModel::propertiesName,
const word type = typeName 
)

Construct from components.

Definition at line 223 of file kkLOmega.C.

References Foam::bound(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), kkLOmega::epsilon_, kkLOmega::kl_, kkLOmega::kt_, eddyViscosity< incompressible::RASModel >::nut_, and kkLOmega::omega_.

Referenced by kkLOmega::correctNut().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual ~kkLOmega ( )
inlinevirtual

Destructor.

Definition at line 233 of file kkLOmega.H.

References kkLOmega::read().

Here is the call graph for this function:

Member Function Documentation

void correctNut ( )
protectedvirtual

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 212 of file kkLOmega.C.

References kkLOmega::kkLOmega(), and NotImplemented.

Here is the call graph for this function:

TypeName ( "kkLOmega"  )

Runtime type information.

bool read ( )
virtual
tmp<volScalarField> DkEff ( const volScalarField alphaT) const
inline

Return the effective diffusivity for k.

Definition at line 243 of file kkLOmega.H.

References nu.

Referenced by kkLOmega::correct().

Here is the caller graph for this function:

tmp<volScalarField> DomegaEff ( const volScalarField alphaT) const
inline

Return the effective diffusivity for omega.

Definition at line 252 of file kkLOmega.H.

References nu.

Referenced by kkLOmega::correct().

Here is the caller graph for this function:

virtual tmp<volScalarField> kl ( ) const
inlinevirtual

Return the laminar kinetic energy.

Definition at line 261 of file kkLOmega.H.

References kkLOmega::kl_.

virtual tmp<volScalarField> kt ( ) const
inlinevirtual

Return the turbulence kinetic energy.

Definition at line 267 of file kkLOmega.H.

References kkLOmega::kt_.

virtual tmp<volScalarField> omega ( ) const
inlinevirtual

Return the turbulence specific dissipation rate.

Definition at line 273 of file kkLOmega.H.

References kkLOmega::omega_.

virtual tmp<volScalarField> k ( ) const
inlinevirtual

Return the total fluctuation kinetic energy.

Implements eddyViscosity< incompressible::RASModel >.

Definition at line 279 of file kkLOmega.H.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField().

Here is the call graph for this function:

virtual tmp<volScalarField> epsilon ( ) const
inlinevirtual

Return the total fluctuation kinetic energy dissipation rate.

Definition at line 298 of file kkLOmega.H.

References kkLOmega::correct(), kkLOmega::epsilon_, and kkLOmega::validate().

Here is the call graph for this function:

void validate ( )
virtual

Validate the turbulence fields after construction.

Update turbulence viscosity and other derived fields as requires

Reimplemented from eddyViscosity< incompressible::RASModel >.

Definition at line 596 of file kkLOmega.C.

Referenced by kkLOmega::epsilon().

Here is the caller graph for this function:

void correct ( )
virtual

Member Data Documentation

dimensionedScalar A0_
protected

Definition at line 163 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar As_
protected

Definition at line 164 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Av_
protected

Definition at line 165 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Abp_
protected

Definition at line 166 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar Anat_
protected

Definition at line 167 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar Ats_
protected

Definition at line 168 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar CbpCrit_
protected

Definition at line 169 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Cnc_
protected

Definition at line 170 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar CnatCrit_
protected

Definition at line 171 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Cint_
protected

Definition at line 172 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar CtsCrit_
protected

Definition at line 173 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar CrNat_
protected

Definition at line 174 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar C11_
protected

Definition at line 175 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar C12_
protected

Definition at line 176 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar CR_
protected

Definition at line 177 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar CalphaTheta_
protected

Definition at line 178 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Css_
protected

Definition at line 179 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar CtauL_
protected

Definition at line 180 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Cw1_
protected

Definition at line 181 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar Cw2_
protected

Definition at line 182 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar Cw3_
protected

Definition at line 183 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar CwR_
protected

Definition at line 184 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar Clambda_
protected

Definition at line 185 of file kkLOmega.H.

Referenced by kkLOmega::correct(), and kkLOmega::read().

dimensionedScalar CmuStd_
protected

Definition at line 186 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Prtheta_
protected

Definition at line 187 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Sigmak_
protected

Definition at line 188 of file kkLOmega.H.

Referenced by kkLOmega::read().

dimensionedScalar Sigmaw_
protected

Definition at line 189 of file kkLOmega.H.

Referenced by kkLOmega::read().

volScalarField kt_
protected

Definition at line 194 of file kkLOmega.H.

Referenced by kkLOmega::correct(), kkLOmega::kkLOmega(), and kkLOmega::kt().

volScalarField kl_
protected

Definition at line 195 of file kkLOmega.H.

Referenced by kkLOmega::correct(), kkLOmega::kkLOmega(), and kkLOmega::kl().

volScalarField omega_
protected

Definition at line 196 of file kkLOmega.H.

Referenced by kkLOmega::correct(), kkLOmega::kkLOmega(), and kkLOmega::omega().

volScalarField epsilon_
protected

Definition at line 197 of file kkLOmega.H.

Referenced by kkLOmega::correct(), kkLOmega::epsilon(), and kkLOmega::kkLOmega().

const volScalarField& y_
protected

Wall distance.

Note: different to wall distance in parent RASModel which is for near-wall cells only

Definition at line 202 of file kkLOmega.H.

Referenced by kkLOmega::correct().


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