POST User Guide  POST Version 9.8.1
Turbulence Modelling

Calculates the production of turbulent kinetic energy.

Tasks related to turbulence modelling.

calcCellEdgeLengths

This task computes the respective cell edge lengths in all three directions. It is limited to only structured, hexadreal meshes.

Usage
--calcCellEdgeLengths/-ccel
Example
--calcCellEdgeLengths/-ccel
Warning
Only available for structured meshes.
Since
9.5.0-dev275

diffStatistics

Averaged variables generated with ComputeStatistics over \(N_\alpha\) samples can be written as

\[ \overline{\phi}^{1 \to N_\alpha} = \frac{1}{N_\alpha} \sum_{i = 1}^{N_\alpha} \phi_i. \]

Assume, there are two data sets both starting at the same time step with \(N_2 > N_1\) samples. This task computes the average started at \(N_1 + 1\) via the relation

\[ \overline{\phi}^{N_1 + 1 \to N_2} = \frac{N_2 \overline{\phi}^{1 \to N_2} - N_1 \overline{\phi}^{1 \to N_1}}{N_2 - N_1} = \frac{1}{N_2 - N_1} \sum_{i = N_1 + 1}^{N_2} \phi_i. \]

Usage
--diffStatistics/-dS
Example
--input TRACE.statistics.100000.cgns --input TRACE.statistics.50000.cgns --diffStatistics --output statistics.50001-100000.cgns
Precondition
  • Both data sets must have started averaging at the same time step.
  • The data set with the greater number of samples \(N_2\) must be read first.
Since
9.2.XXX

distanceWallCoordinate

Compute the first distance to the wall in wall coordinates for the wall adjacent cell (DistanceWallCoordinate) and store the results on viscous wall blocks.

\[ y^+ = \mathbf n \cdot (\mathbf x_\text{cell} - \mathbf x_\text{face}) \frac{\rho u_\tau}{\mu}. \]

with the center of the cell \(\mathbf x_\text{cell}\) and the boundary face \(\mathbf x_\text{face}\) and the face normal vector \(\mathbf{n}\).

Usage
--distanceWallCoordinate/-dwc
Example
--input TRACE.cgns -rbc --calcMolecularViscosity --shearStressWall --frictionVelocity --distanceWallCoordinate
Precondition
  • read 3D CGNS file including boundaries (see input)
  • compute viscosity, wall shear stress and friction velocity
Since
9.2.434

favreAverageSpatially

Compute spatial Favre or Reynolds average of all variables found in 3D or 2D boundary blocks along specified index directions. The results are stored in a new block 3D/2D with only one cell/face in the homogeneous index directions.

Usage
--favreAverageSpatially/-fas -index <i|j|k> [...]
Parameters
-indexIndex direction(s) in which flow is homogeneous (must be one or more of i, j, k). (mandatory)
Example
--favreAverageSpatially/-fas -index i k
will compute average over i and k indices as shown in the figure for a channel flow mesh where the wall normal index direction is j.
Application of spatial Favre average to channel flow solution. The resulting averaged block is shown in red.
Precondition
  • Density must be available in data set.
  • Blocks must be structured.
  • Blocks must not be splitted along the index directions which are averaged.
  • 2D blocks must be of type boundary.
Since
9.1.172

nonDimensionalCellSize

Computes the non-dimensional cell sizes at the wall for Finite-Volume and Discontinuous-Galerkin solutions.

FV structured meshes

For FV on structured meshes, cell sizes are given along i,j,k index directions for the wall adjacent cell. For a Cartesian grid this would yield

\[ \Delta s_i^+ = \Delta x_i^+ = \Delta x_i \frac{\rho u_\tau}{\mu}. \]

The average edge length is computed as

\[ \Delta s_i = \frac{V}{A_i} \]

with the cell volume \(V\) and the area of the i-face \(A_i\).

Symbol Variable name
\(\Delta s_i^+\) CellSizeWallCoordinateI
\(\Delta s_j^+\) CellSizeWallCoordinateJ
\(\Delta s_k^+\) CellSizeWallCoordinateK
FV unstructured meshes

FV on unstructured are currently not supported.

DG unstructured meshes

For DG on unstructured meshes, the cell sizes are given in the stream-wise ( \(\Delta\xi\)), wall-normal ( \(\Delta\eta\)) and cross-flow ( \(\Delta\zeta\)) direction.

The cell sizes are defined as

\[ \Delta \xi = ||\frac{\partial \boldsymbol{x}}{\partial \boldsymbol{\xi}} \cdot \boldsymbol{u}||, \]

\[ \Delta \eta = ||\frac{\partial \boldsymbol{x}}{\partial \boldsymbol{\xi}} \cdot \boldsymbol{n}||, \]

\[ \Delta \zeta = ||\frac{\partial \boldsymbol{x}}{\partial \boldsymbol{\xi}} \cdot \boldsymbol{w}||. \]

Here \(\xi_i\) are the coordinates on the DG reference element, \(\boldsymbol{u}\) is the stream-wise directed vector, \(\boldsymbol{n}\) is the wall-normal vector and \(\boldsymbol{w}\) is the cross-flow vector. The stream-wise vector \(\boldsymbol{u}\) is the normed wall shear stress vector \(\boldsymbol{\tau_w}\). The cross flow direction is computed from the cross product of the stream-wise vector times the wall-normal vector ( \(\boldsymbol{w}=\boldsymbol{u}\times\boldsymbol{n}\)).

The non-dimensionalization is then given by

\[ \Delta \square^+ = \frac{\rho u_\tau }{\mu}\frac{\Delta \square}{N}, \]

where \(N\) is the polynomial degree of the ansatz function of the solution, \(\rho\) the density, \(\mu\) the molecular viscosity and \(u_\tau\) the friction velocity on the wall.

Symbol Variable name
\(\Delta \xi^+\) CellSizeWallCoordinateXi
\(\Delta \eta^+\) CellSizeWallCoordinateEta
\(\Delta \zeta^+\) CellSizeWallCoordinateZeta
Usage
--nonDimensionalCellSize/-ndcs
Example
FV
--input TRACE.cgns -rbc --calcMolecularViscosity --shearStressWall --frictionVelocity --nonDimensionalCellSize
DG
--input TRACE.cgns -rbc --calcPrimitiveVariables --gradient --calcTemperature --calcMolecularViscosity --interpolate2d --shearStressWall --frictionVelocity --nonDimensionalCellSize --visualizeDGSolutions -o cellsizes.plt -dim 2
Precondition
  • structured, cell centered finite volume mesh or unstructured meshes and discontinuous-galerkin solutions
  • read 3D cgns file including boundaries (see input)
  • compute viscosity, wall shear stress and friction velocity
Since
9.1.199

calcMaximumEdgeLength

This task computes the maximum edge length of each cell and stores a fix value for maximum direction. Xi = 1 Eta = 2 Zeta = 3 Xi and Eta = 4 Xi and Zeta = 5 Eta = Zeta = 6 All three edges have the same length = 7

Usage
--calcMaximumEdgeLength/-cmel
Since
9.3.068

transformReynoldsStressCylindrical

Transforms the Reynolds stress tensor components \(\uu ij^{xyz}\) from a Cartesian to a cylindrical basis \(\uu ij^{xr\theta}\). This is done using the transformation

\[ \uu{i}{j}^{xr\theta} = R_{ip}^{xyz \to xr\theta} \uu{p}{q}^{xyz} \left(R^{xyz \to xr\theta}\right)_{qj}^T. \]

with the transformation matrix

\[ \mathbf R^{xyz \to x r \theta} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & \cos \theta & \sin \theta \\ 0 & -\sin \theta & \cos \theta \end{pmatrix}. \]

Summation over three components is implied if index occurs twice within a product.

Usage
--transformReynoldsStressCylindrical/-tRSC
Precondition
Cell centered flow solution.
Since
9.0.054

applyReynoldsStressRealizability

Apply the following realizability conditions to the Reynolds stress tensor \(\uu ij\) (no summation over greek indices):

  1. Limit normal stresses to positive values

    \[ \uu \alpha \alpha \to \max \left[ \uu \alpha \alpha, \epsilon \right] \]

    with a small positive value \(\epsilon\) to avoid divisions by zero.
  2. Limit shear stresses according to limited normal stresses

    \[ \uu \alpha \beta \to \sgn \left( \uu \alpha \beta \right) \sqrt{\uu \alpha \alpha \cdot \uu \beta \beta} \quad \text{if} \quad \uu \alpha \beta ^2 > \uu \alpha \alpha \uu \beta \beta. \]

Usage
--applyReynoldsStressRealizability/-aRSR
Since
8.2.121

calcAnisotropyTensor

The Reynolds stress anisotropy tensor can be defined as

\[ a_{ij} = \frac{\uu ij}{k} - \frac 2 3 \delta_{ij} \]

with the turbulent kinetic energy

\[ k = \frac 1 2 \uu ii. \]

The task returns the anisotropy tensor using the above definition.

Usage
--calcAnisotropyTensor/-cAT
Since
7.7.22

calcAnisotropyTensorBarycentricWeights

Instead of Lumley's invariant map, a barycentric map can be constructed using the eigenvalues of \(a_{ij}\) [1] . In principal coordinates, the spectral theorem states that the anisotropy tensor

\[ a_{ij} = \frac{\uu ij}{k} - \frac 2 3 \delta_{ij} \]

can be constructed as a linear combination

\[ \hat a_{ij} = C_{1C} \hat a^{1C}_{ij} + C_{2C} \hat a^{2C}_{ij} + C_{3C} \hat a^{3C}_{ij} \]

of its limiting states one-component (1C), isotropic two-component (2C) and isotropic (3C) turbulence with the weights

\begin{eqnarray*} C_{1C} &=& \frac 1 2 (\lambda_1 - \lambda_2) \\ C_{2C} &=& \lambda_2 - \lambda_3 \\ C_{3C} &=& \frac 3 2 \lambda_3 + 1 \end{eqnarray*}

given by the ordered eigenvalues of the anisotropy tensor

\[ \lambda_1 > \lambda_2 \quad \text{and} \quad \lambda_3 = - (\lambda_1 + \lambda_2). \]

The map is constructed by introducing the barycentric coordinates which can be chosen as

\[ x_B = C_{1C} + \frac 1 2 C_{3C} \quad \text{and} \quad y_B = \frac{\sqrt 3}{2} C_{3C}. \]

The concept introduced above has been taken a step further with the idea to use the weights as RGB colour channels to assign a unique colour to each state in the barycentric map [4] . The direct mapping of weight to channel is shown in the figure (right) with the one-component weight \(C_{1C}\) assigned to red, the isotropic two-component weight \(C_{2C}\) assigned to green and the isotropic weight \(C_{3D}\) assigned to blue.

Lumley invariant map coloured with two component parameter (left) vs. barycentric map coloured with RGB (right). Channel flow as symbols for orientation.

The weights can be scaled with

\[ C_i' = (C_i + c_\text{offset})^{c_\text{exponent}} \]

with the coefficients given as optional parameters. This results in modified colour maps.

The task returns the eigenvalues, barycentric coordinates and scaled barycentric weights.

Usage
--calcAnisotropyTensorBarycentricWeights/-cATBW [-offset <c_offset>] [-exponent <c_exponent>]
Parameters
-offsetOffset \(c_\text{offset}\) for barycentric weight (default 0) (optional)
-exponentExponent \(c_\text{exponent}\) for barycentric weight (default 1) (optional)
Example
--calcAnisotropyTensorBarycentricWeights/-cATBW -offset 0.2 -exponent 2.0
Since
9.1.374

calcAnisotropyInvariants

Calculates the invariants \(A_2\), \(A_3\) and \(A\) of the Reynolds stress anisotropy tensor. \(A\) is Lumley's two-componentiality factor which goes to zero in the limit of two-component turbulence.

\[ II = A_2 = a_{ij} a_{ji} \]

\[ III = A_3 = a_{ij} a_{jk} a_{ki} \]

\[ A = 1 - \frac 9 8 (A_2 - A_3) \]

Usage
--calcAnisotropyInvariants/-cAI
Precondition
Since
7.7.39

Calculates the production of turbulent kinetic energy according to the Kato-Launder model.

Author
Christian Morsbach
Date
October, 2022

calcKatoLaunderProductionK

Compute the turbulent kinetic energy production term according to Kato & Launder [8] :

\[ P_k = \frac{\mu_T}{\rho} S \Omega \]

With the strain norm

\[ S = \sqrt{2 S_{ij} S_{ij}}, \quad S_{ij} = \frac{1}{2} \left( \frac{\partial U_i}{\partial x_j} + \frac{\partial U_j}{\partial x_i} \right) \]

and the vorticity norm

\[ \Omega = \sqrt{2 \W{ij} \W{ij}}, \quad W_{ij} = \frac{1}{2} \left( \frac{\partial U_i}{\partial x_j} - \frac{\partial U_j}{\partial x_i} \right) \]

based on gradients of the absolute velocity.

Usage
--calcKatoLaunderProductionK/-cKLPk
Note
calcStrainRateTensor is not used here since the velocity gradients have to be computed for the absolute vorticity, anyway. This task assumes a rotation axis aligned with the x-axis.
Since
9.6

calcPerturbedAnisotropyTensor

The Reynolds stress anisotropy tensor can be defined as

\[ a_{ij} = \frac{\uu ij}{k} - \frac 2 3 \delta_{ij} \]

with the turbulent kinetic energy

\[ k = \frac 1 2 \uu ii. \]

The task returns the perturbed anisotropy tensor using the above definition. It is useful, if the perturbation framework for the quantification of turbulence model uncertainties used.

Usage
--calcPerturbedAnisotropyTensor/-cPAT
Since
7.7.22

Calculates the production of turbulent kinetic energy.

Author
Christian Morsbach
Date
December, 2011

\[ P_k = - \widetilde{u_i'' u_j''} S_{ij} \]

calcProductionK

Compute the turbulent kinetic energy production term from Reynolds stresses and velocity gradients:

\[ P_k = - \widetilde{u_i'' u_j''} S_{ij} \]

Usage
--calcProductionK/-cPk
Since
7.3

calcReynoldsStressesBoussinesq

Compute the Reynolds stresses for solutions obtained from linear eddy viscosity models (LEVM).

\[ \uu ij = - 2 \nu_T S_{ij} + \frac 2 3 k \delta_{ij} \]

Usage
--calcReynoldsStressesBoussinesq/-cRSB
Automatically executed tasks
Since
7.3.208

calcReynoldsStressesEARSM

Compute the Reynolds stresses for solutions obtained from explicit algebraic Reynolds stress models (EARSM).

\[ \uu ij = \uu ij^\text{Boussinesq} + k a_{ij}^\text{ex} \]

Usage
--calcReynoldsStressesEARSM/-cRSEARSM
Automatically executed tasks
- \ref sec_grad
- \ref sec_calcStrainRateTensor
- \ref sec_calcReynoldsStressesBoussinesq.
Precondition
TRACE must have written the extra-anisotropy triggered by the control file command WriteReynoldsStressExtraAnisotropy.
Since
7.7.36

calcSubgridLengthScale

This task computes all available subgrid length scales. It may help to see the influence of different length scales by evaluating a RANS precursor simulation or to evaluate a finished hybrid RANS/LES simulation. Available length scale approaches are following:

  • Grid based approach
    • Baseline [15] (default)
  • Vorticity based approaches
Usage
--calcSubgridLengthScale/-csls -hybridApproach <value> [-subgridApproach <value>]
Parameters
-hybridApproachSets the applied hybrid approach (DES, DDES, IDDES).
-subgridApproachSets the applied subgrid length scale approach (optional, default = GridBased, Chauvet, Probst, Mockett, Shur).
Example
--calcSubgridLengthScale/-csls -hybridApproach IDDES -subgridApproach Mockett
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
Warning
Use this task carefully. Existing length scale values from TRACE computation will be overwritten.
Since
9.3.0xx (replaced old task, available since 9.2.456)

calcTurbulenceIntensity

Calculates the turbulence intensity.

\[ TI = \sqrt \frac{2 * k}{3 u_{norm}**2} \]

Usage
--calcTurbulenceIntensity/-cti [-sgs]
Parameters
-sgsFlag to include sub-grid Reynolds stresses. Differs between modeled and resolved TKE.
Note
Clarification:
  • For RANS setups, the returned "TurbulenceIntensity" states the modeled TI.
  • For hybrid and other unsteady simulations (based on TRACE.statistics.cgns):
    • "TurbulenceIntensity" states the resolved TI
    • With the introduced optional flag, the user obtains "TurbulenceIntensitySgs" (modeled TI) and "TurbulenceIntensityTotal" considered as the sum of modeled and resolved TI.
    • If considering the instantaneous snapshot from TRACE.cgns, the user still obtains modeled TI, since only these values are stored here.
Automatically executed tasks
–calcVelocityNorm/-cvn
Since
9.6

calcTurbulentKineticEnergy

Calculates the turbulent kinetic energy from normal Reynolds stresses.

\[ k = \frac 1 2 \widetilde{u_i'' u_i''} \]

Usage
--calcTurbulentKineticEnergy/-ctke [-sgs -ratio]
Parameters
-sgsFlag to include sub-grid Reynolds stresses. Differs between modeled and resolved TKE.
-ratioFlag to compute the ratio of resolved and total turbulent kinetic energy. This option is only possible, if -sgs option is also called.
Note
Clarification:
  • For RANS setups, the returned "TurbulentEnergyKinetic" states the modeled TKE.
  • For hybrid and other unsteady simulations (based on TRACE.statistics.cgns):
    • "TurbulentEnergyKinetic" states the resolved TKE
    • With the introduced optional flag -sgs, the user obtains "TurbulentEnergyKineticSgs" (modeled TKE) and "TurbulentEnergyKineticTotal" considered as the sum of modeled and resolved TKE.
    • If considering the instantaneous snapshot from TRACE.cgns, the user still obtains modeled TKE, since only these values are stored here.
Since
9.5

calcTurbulentLengthScale

This task computes the physical turbulent length scale via

\[ l_\mathrm{T} = \frac{\sqrt{k}}{\omega} \]

Usage
--calcTurbulentLengthScale/-ctls
Note
This task computes the physically defined turbulent length scale. Two equation models such as the Wilcox k-w model or the Menter SST model include a specific model constant \(\beta_{k}\) (or \(\beta^*\) or \(C_{\mu}\)) to determine their respective turbulent length scale.
Precondition

desBlendingFunction

This task computes the DES blending function originally proposed by Strelets [17]. It blends between upwind (1) and central (0) discretisation and is given by

\[ \texttt{DESBlendingKW/DESBlendingSST} = \sigma_\max \tanh \left( A^{C_{H1}} \right) \]

with

\begin{eqnarray} A &=& C_{H2} \max \left( \frac{C_\text{DES} \Delta}{g L_\text{turb}} - 0.5, 0 \right) \\ L_\text{turb} &=& \sqrt{\frac{\nu_T + \nu}{\beta_k^{\frac 3 2} K}} \\ K &=& \max \left( \sqrt{\frac{S^2 + W^2}{2}}, \frac{0.1}{\tau^*} \right) \\ g &=& \tanh B^4 \\ B &=& \frac{C_{H3} W \max (S, W)}{\max \left( \frac{S^2 + W^2}{2}, 10^{-20} \right)}. \end{eqnarray}

The convective time scale is obtained from the command line parameter via

\[ \tau^* = \tau \frac{a_0}{L_0}. \]

\(\Delta\) is the related subgrid length scale and depends on applied approach (see calcSubgridLengthScale).

\( S, W, \nu_t\) and \(\nu\) are the strain norm, vorticity norm, eddy viscosity and molecular viscosity respectively.

The KW and SST/SA versions are distinguished by their respective DES constant:

Model \(C_\text{DES}\)
KW 0.78
SST/SA 0.65

The remaining constants are chosen as

\[ \sigma_\max = 1.0, \quad C_{H1} = 3.0, \quad C_{H2} = 1.0, \quad C_{H3} = 2.0. \]

Usage
--desBlendingFunction/-dbf -basisModel <value> -tau <value> [-additionalOutput]
Parameters
-basisModelSets the applied basis model (SpalartAllmaras, Wilcox1988 or MenterSST2003).
-tauCharacteristic time scale (in seconds) set in GMC for blending scheme.
-additionalOutputAllows additional output for deeper analysis of obtained results. Therefore intermediate determined terms are also computed and stored in output file.
Example
--desBlendingFunction/-dbf -basisModel MenterSST2003 -tau 0.01 -additionalOutput
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
Since
9.3.095

desElevatingFunctionShur

This task computes the elevating function of Shur [13] for IDDES simulation.

\[ f_e = \max \left( f_{e1} - 1, 0 \right) f_{e2} \]

with

\[ f_{e1}(d_w/\Delta_{SLS}) = \begin{cases} 2 \exp (-11.09 \alpha^2) & \text{if } \alpha \ge 0\\ 2 \exp (-9.0 \alpha^2) & \text{if } \alpha < 0 \end{cases} \]

and

\[ f_{e2} = 1.0 - \max \left( f_t, f_l \right) \]

where \(f_t = \tanh[(c_t^2 r_{dt})^3]\) and \(f_l = \tanh[(c_l^2 r_{dl})^{10}]\) with

\[ r_{dl} = \frac{\mu}{\rho \kappa^2 y_n^2 \sqrt{\parfrac{U_i}{x_j} \parfrac{U_i}{x_j}}} \]

and

\[ r_{dl} = \frac{\mu_t}{\rho \kappa^2 y_n^2 \sqrt{\parfrac{U_i}{x_j} \parfrac{U_i}{x_j}}} \]

The constants \(c_t\) and \(c_l\) are calibrated constants in TRACE. The value \(\alpha\) is the same as in desShieldingFunctionSpalart.

Usage
--desElevatingFunctionShur/-defs [-kappa <value>]
Parameters
-kappaLog law constant applied within DES shielding function \(\kappa\) (optional, default value \(\kappa = 0.4\)).
Example
--desElevatingFunctionShur/-defs -kappa 0.41
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
Since
9.3.095

desEvaluation

This task is a process chain to obtain all relevant DES related variables for evaluation.

Usage
--desEvaluation/-dese -hybridApproach <value> -basisModel <value> -tau <value> [-subgridApproach <value> -additionalOutput -kappa <value> -retain - var <value>]
Parameters
-hybridApproachSets the applied hybrid approach (DES, DDES, IDDES).
-basisModelSets the applied basis model (SpalartAllmaras, Wilcox1988 or MenterSST2003).
-tauCharacteristic time scale (in seconds) set in GMC for blending scheme.
-subgridApproachSets the applied subgrid length scale approach (optional, Default = GridBased, Chauvet, Probst, Mockett, Shur).
-additionalOutputActivates additional output of intermediate terms for blending and shielding function.
-kappaLog law constant applied within DES shielding function \(\kappa\) (optional, default value \(\kappa = 0.4\)).
-retainFlag to keep intermediate process variables and prevent deletion process.
-varOption to redefine variables which should be deleted from dataset. By default gradient and strain rate tensors will be removed.
Example
--desEvaluation/-dese -hybridApproach DDES -basisModel MenterSST2003 -tau 0.02
--desEvaluation/-dese -hybridApproach DDES -basisModel Wilcox1988 -tau 0.02 -subgridApproach shur -retain
--desEvaluation/-dese -hybridApproach DDES -basisModel Wilcox1988 -tau 0.02 -subgridApproach shur -var Density VelocityX Pressure
Automatically executed tasks
- \ref sec_calcMolecularViscosity
- \ref sec_grad
- \ref sec_calcStrainRateTensor
- \ref sec_calcVorticityVector
- calcTurbulentLenghtScale/ctls
- \ref sec_desElevatingFunctionShur
- \ref sec_calcSubgridLengthScale (executed only if not available in input CGNS, may be obtained from \b TRACE simulation, see \ref sec_WriteSubgridLengthScale)
- \ref sec_desBlendingFunction
- \ref sec_desShieldingFunctionSpalart
- \ref sec_desLengthScale
- \ref sec_desLengthScaleRatio
- \ref sec_deletePhysics (may be deactivated by user input)
Since
9.3.095 (replaced old task, available since 9.2.456)

desLengthScale

This task computes the DES length scale for each hybrid approach and basis model.

DES:

\[ l_\mathrm{DES} = l_{RANS} - \max \left( 0, l_\mathrm{RANS} - C_\mathrm{DES} \Delta_\mathrm{SLS} \right) \]

DDES:

\[ l_\mathrm{DDES} = l_\mathrm{RANS} - f_d \max \left( 0, l_\mathrm{RANS} - l_\mathrm{LES} \right) \]

For higher numerical stability implemented as:

\[ l_\mathrm{DDES} = \min \left( \left(1 - f_d \right) l_\mathrm{RANS} + f_d l_\mathrm{LES}, l_\mathrm{RANS} \right) \]

with \(l_\mathrm{LES} = C_\mathrm{DES} \Delta_\mathrm{SLS}\).

IDDES:

\[ l_\mathrm{IDDES} = \tilde f_d (1 + f_e) l_\mathrm{RANS} + (1 - \tilde f_d) C_\mathrm{DES} \Delta_\mathrm{SLS} \]

Important: For IDDES simulations, the shielding factor \(\tilde f_d\) behaves contradictory to \(f_d\) from DDES. That means, while \(f_d = 0\) states fully RANS-mode, \(\tilde f_d = 0\) states fully LES-mode. For further details see [13] .

The DES constant \(C_\mathrm{DES}\) is documented in desBlendingFunction.

Usage
--desLengthScale/-dls -hybridApproach <value> -basisModel <value>
Parameters
-hybridApproachSets the applied hybrid approach (DES, DDES, IDDES).
-basisModelSets the applied basis model (SpalartAllmaras, Wilcox1988 or MenterSST2003).
Example
--desLengthScale/-dls -hybridApproach IDDES -basisModel Wilcox1988
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
Since
9.3.095

desLengthScaleRatio

This task computes the DES length scale ratio. It is the ratio between the RANS length scale and the determined DES length scale computed in desLengthScale. Depending on the basis model, the turbulent length scale (for kw and sst) or turbulent distance (for sa) is defined as RANS length scale, because it is the relevant value in respective destruction term.

Usage
--desLengthScaleRatio/-dlsr -hybridApproach <value> -basisModel <value>
Parameters
-hybridApproachSets the applied hybrid approach (DES, DDES, IDDES).
-basisModelSets the applied basis model (SpalartAllmaras, Wilcox1988 or MenterSST2003).
Example
--desLengthScaleRatio/-dlsr -hybridMethod DDES -basisModel MenterSST2003
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
  • Following variables are needed: desLengthScale.
  • For Wilcox1988 or MenterSST2003, you will also need: –calcTurbulentLengthScale/-ctls.
Since
9.3.095

desShieldingFunctionSpalart

This task computes the shielding function for DDES as suggested by Spalart [16] or IDDES as proposed by [13].

\[ r_d = \frac{\mu_T + \mu}{\rho \kappa^2 y_n^2 \sqrt{\parfrac{U_i}{x_j} \parfrac{U_i}{x_j}}} \]

and

\[ f_d = 1 - \tanh \left( \left[ C_{D1} r_d \right]^3 \right) \]

For IDDES, we have

\[ r_d = \frac{\mu_T}{\rho \kappa^2 y_n^2 \sqrt{\parfrac{U_i}{x_j} \parfrac{U_i}{x_j}}}. \]

and

\[ \tilde f_d = \max \left( 1 - f_d, f_B \right) \]

with

\[ f_B = \min \left( 2 * \textrm{exp} (-9.0 \alpha^2), 1.0 \right) \]

whereas \(\alpha = 0.25 - d / \Delta_{SLS}\) and d is the distance to the wall for each cell.

Values for \(C_{D1}\) are different for turbulence models:

Model \(C_{D1}\) Reference
Wilcox k-w 8 [16]
Menter SST 20 [6]
Usage
--desShieldingFunctionSpalart/-dsfs -hybridApproach <value> -basisModel <value> [-additionalOutput -kappa <value>]
Parameters
-hybridApproachSets the applied hybrid approach (DDES, IDDES).
-basisModelSets the applied basis model (SpalartAllmaras, Wilcox1988 or MenterSST2003).
-additionalOutputActivates additional output for deeper analysis of obtained results. Therefore intermediate determined terms are also computed and stored in output file.
-kappaLog law constant applied within DES shielding function \(\kappa\) (optional, default value \(\kappa = 0.4\)).
Example
--desShieldingFunctionSpalart/-dsfs -hybridApproach DDES -basisModel MenterSST2003
--desShieldingFunctionSpalart/-dsfs -hybridApproach DDES -basisModel MenterSST2003 -kappa 0.45
Parent tasks
- \ref sec_desEvaluation (recommended entire process chain for DES evaluation)
Note
Requirements:
Since
9.3.095 (replaced old task, available since 9.0.056)