OpenFOAM Tutorial | pitzDaily | LES Turbulence Model

Written by

December 1, 2020




The turbulenceProperties dictionary is read by any solver that includes turbulence modelling. Within that file is the simulationType keyword that controls the type of turbulence modelling to be used, either:

uses no turbulence models;
uses Reynolds-averaged stress (RAS) modelling;
uses large-eddy simulation (LES) or detached-eddy simulation (DES) modelling.

If RAS is selected, the choice of RAS modelling is specified in a RAS subdictionary. The RAS turbulence model is selected by the RASModel entry from a long list of available models that are listed in Table A.5. Similarly, if LES is selected, the choice of LES modelling is specified in a LES subdictionary and the LES turbulence model is selected by the LESModel entry. Note that DES models are defined as a subset of the available LES models.

The entries required in the RAS subdictionary are listed in Table 5.3 and those for the LES subdictionary are listed in Table 5.4.

RASModel Name of RAS turbulence model
turbulence Switch to turn turbulence modelling on/off
printCoeffs Switch to print model coeffs to terminal at simulation startup
<RASModel>Coeffs Optional dictionary of coefficients for the respective RASModel
Table 5.3: Keyword entries in the RAS dictionary.

LESModel Name of LES model
delta Name of delta δ \relax \special {t4ht= model
<LESModel>Coeffs Dictionary of coefficients for the respective LESModel
<delta>Coeffs Dictionary of coefficients for each delta model
Table 5.4: Keyword entries in the LES dictionary.

The incompressible and compressible RAS turbulence models, isochoric and anisochoric LES models and delta models are all named and described in Table A.5. Examples of their use can be found in the $FOAM_TUTORIALS.

5.3.1 Model coefficients

The coefficients for the RAS turbulence models are given default values in their respective source code. If the user wishes to override these default values, then they can do so by adding a sub-dictionary entry to the RAS dictionary, whose keyword name is that of the model with Coeffs appended, e.g. kEpsilonCoeffs for the kEpsilon model. If the printCoeffs switch is on an example of the relevant …Coeffs dictionary is printed to standard output when the model is created at the beginning of a run. The user can simply copy this into the RAS dictionary and edit the entries as required.

5.3.2 Wall functions

A range of wall function models is available in OpenFOAM that are applied as boundary conditions on individual patches. This enables different wall function models to be applied to different wall regions. The choice of wall function model is specified through νt  \relax \special {t4ht= in the 0/nut file. For example, a 0/nut file:

18dimensions      [0 2 -1 0 0 0 0];
20internalField   uniform 0;
24    movingWall
25    {
26        type            nutkWallFunction;
27        value           uniform 0;
28    }
29    fixedWalls
30    {
31        type            nutkWallFunction;
32        value           uniform 0;
33    }
34    frontAndBack
35    {
36        type            empty;
37    }
41// ************************************************************************* //

There are a number of wall function models available in the release, e.g. nutkWallFunction, nutUWallFunction, nutUSpaldingWallFunction. The user can consult the relevant directories for a full list of wall function models:

    find $FOAM_SRC/TurbulenceModels -name wallFunctions

In this tutorial, you will learn how simulate a LES Turbulence Model using OpenFOAM.

Tutorial: Heat transfer through pipes using ANSYS Fluent.

Related Articles

Stay Up to Date With The Latest News & Updates

Help us keep growing

CFD.NINJA is financed with its own resources, if you want to support us we will be grateful.

Join Our Newsletter

Subscribe to receive emails with detailed information related to the CFD.

Follow Us

Subscribe to our social networks to receive notifications about our new tutorials

Pin It on Pinterest


Share This

Share this post with your friends!

Advertisment ad adsense adlogger