TRACE User Guide  TRACE Version 9.8.1
Turbulence Model Additional Commands

This page describes additional control file commands related to turbulence models. For setup and sub-options of turbulence models see Turbulence Model Settings.

WriteSubgridLengthScale

Write computed subgrid length scale for SRS computations to CGNS. The variable name is SubgridLengthScale.

Usage
WriteSubgridLengthScale
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteSubgridLengthScale
Note
The specification of basis model (i.e. Spalart-Allmaras or Menter SST \(k-\omega\)) and extensions will be done in control file. The output variable name won't consider this differentiation - in contrast to POST computations.
Since
9.2.266

writeCellTypeIMEX

Write IMEX cell type (0 - Explicit, 1 - Implicit).

Domain
all, component, stage, group, blockGroup, block
Example
all immediate writeCellTypeIMEX
Since
9.4

writeCellCFL

Write cell CFL number (inviscid component only).

Domain
all, component, stage, group, blockGroup, block
Example
all immediate writeCellCFL
Since
9.4

writeCellCFLViscous

Write cell CFL number (viscous component only).

Domain
all, component, stage, group, blockGroup, block
Example
all immediate writeCellCFLViscous
Since
9.4

WriteReynoldsStressExtraAnisotropy

Write Reynolds stress extra anisotropy of EARSM models to CGNS. The variable names are EARSMextraAnisotropy<XX/XY/XZ/YY/YZ/ZZ>. The output is not exactly the extra anisotropy \(a_{ij}^\text{ex}\) but the following:

\begin{equation} - \rhobar k a_{ij}^\text{ex} \end{equation}

Usage
WriteReynoldsStressExtraAnisotropy
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteReynoldsStressExtraAnisotropy
Since
7.7.84

writeTurbulentHeatFlux

Write turbulent heat flux on nodal base for EAHF models to CGNS.

Usage
writeTurbulentHeatFlux
Domain
all, component, stage, group, blockGroup, block
Example
all immediate writeTurbulentHeatFlux
Since
8.2.375

WriteWallNormals

Write wall normal vectors to CGNS file as WallNormal<X/Y/Z>.

Usage
WriteWallNormals
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteWallNormals
Since
8.2.288

WriteVelocitySecondDerivative

Write second velocity derivatives to CGNS file as Velocity*Gradient*Gradient* with *=X/Y/Z.

Usage
WriteVelocitySecondDerivative
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteVelocitySecondDerivative
Since
8.2.288

WriteReynoldsStressRealizabilityCells

Write information about applied realizability constraints per cell to CGNS.

Usage
WriteReynoldsStressRealizabilityCells
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteReynoldsStressRealizabilityCells
Note
Must be called at immediate level.
Since
8.1.211

WriteLKEFlorence

Write additional fields relevant to LKE transition model to CGNS.

Usage
WriteLKEFlorence
Domain
all, component, stage, group, blockGroup, block
Example
all immediate WriteLKEFlorence
Since
8.0.214

SetReferenceTemperatureVariance

Set reference temperature for \(k_\theta-\omega_\theta\).

Usage
SetReferenceTemperatureVariance <temperature_variance>
Parameters
temperature_varianceTemperature variance reference
Domain
all, blockGroup
Example
all immediate SetReferenceTemperatureVariance 100.0
Since
8.0.158

StartPrandtlTurbulent

Start model for turbulent Prandtl number according to Kays&Crawford.

Usage
StartPrandtlTurbulent
Domain
all, blockGroup
Example
all timestep 500 StartPrandtlTurbulent
Will start model at timestep 500.
Since
7.5

StopPrandtlTurbulent

Stop model for turbulent Prandtl number according to Kays&Crawford.

Usage
StopPrandtlTurbulent
Domain
all, blockGroup
Example
all timestep 500 StopPrandtlTurbulent
Will stop model at timestep 500.
Since
7.5

DefineTurbulentPrandtlNumber

Set user defined turbulent Prandtl number \(Pr_T\).

Usage
DefineTurbulentPrandtlNumber <turbulent_prandtl_number>
Parameters
turbulent_prandtl_numberTurbulent Prandtl number \(Pr_T\).
Domain
all, blockGroup
Example
all immediate DefineTurbulentPrandtlNumber 0.5
Since
9.0.073

SetMaxEddyViscosity

Set maximum non-dimensional eddy viscosity value. The value here is the ratio \(\mu_T / \mu_0^*\) of the eddy viscosity to reference viscosity determined by the Sutherland law from the total temperature of the reference state given in GMC.

Usage
SetMaxEddyViscosity <value>
Parameters
valueEddy viscosity in relation to reference viscosity \(\mu_T / \mu_0^*\).
Domain
all, blockGroup
Example
all immediate SetMaxEddyViscosity 1000.0
Since
7.5

SetSRksplus

The impact of roughness can be assessed in TRACE by prescribing the equivalent roughness ks for the surface of a "panel group". On the modeling side of view, increasing ks will decrease omega of the dissipation turbulence model equation respectively the dimensionless parameter S_R at the wall. The behaviour "how this decrease will take place" defines the type of roughness in the transition rough region. Types are: Colebrook (fully rough transition roughness) Nikuradse (smooth/rough transition roughness) or even more or less smooth-like transition roughness.

So far, only the Nikuradse tpye was available and the equivalent roughness height ks was suitable scaled with the measured value of the average roughness Ra and the roughness height Rz or rather the roughnesss structure parameter Ra /Rz.

The rough wall and smooth wall boundary conditions are formulated continually [80] (in the second edition). The transition value from smooth to rough wall formulation is dependent on the distance of the first cell center from the wall \(y_1\) in wall coordinates \(y^+\).

\begin{eqnarray} \left. k \right|_w &=& 0 \\ \left. \omega \right|_w &=& \begin{cases} {10 \frac{6\nu}{\beta y_1^2}} & k_s^+ \leq \sqrt{\frac{2500\beta}{60}} y^+ \\ {\frac{2500\nu}{k_s^2}} & \sqrt{\frac{2500\beta}{60}} y^+ < k_s^+ \leq 25 \\ \frac{100}{k_s}\sqrt{\frac{\nu U_1}{y_1}} & k_s^+ > 25 \end{cases} \end{eqnarray}

Here \(U_1\) denotes the mean velocity at the first cell center from the wall. The equivalent sand grain roughness is denoted by \(k_s\) with

\begin{equation} k_s^+ = \frac{u_\tau k_s}{\nu}. \end{equation}

Set the SR(dimensionlessOmegaWall)-ksplus-correlation

Usage
SetSRksplus <value> or
SetSRksplus <value> <value> <value> <value>
Example
all immediate SetSRksplus 0.0 # -> Colebrook
all immediate SetSRksplus 50.0 # -> Wilcox1988
all immediate SetSRksplus 200.0 # -> Wilcox2006
all immediate SetSRksplus 200.0 5.0 9.635 9.635 # -> Wilcox2006approx
all immediate SetSRksplus 200.0 5.0 8.146 25.0 # -> WilcoxNikuradse
all immediate SetSRksplus 200.0 x y 400.0 # -> SmoothTransitionRough
all immediate SetSRksplus const ks+min ks+mid ks+max # -> GeneralTransitionRough
Since
9.7
Domain
all, blockGroup

EnableTplusBulgingWF

Enable tPlus bulging wall function.

Usage
EnableTplusBulgingWF <value>
Domain
all, blockGroup

EnableOptiWF

Enable optimized blending WF.

Usage
EnableOptiWF <value>
Domain
all, blockGroup

DisableOptiWF

Disable optimized blending WF.

Usage
DisableOptiWF <value>
Domain
all, blockGroup

SetHardwarDirectionAngleAtInletAndOutlet

Set Hardware direction values for the vswm model.

Usage
SetHardwarDirectionAngleAtInletAndOutlet <inletAngleHardwareDirection> <outletAngleHardwareDirection>
Parameters
inletAngleHardwareDirectionInlet angle relative to axial direction in degrees
outletAngleHardwareDirectionOutlet angle relative to axial direction in degrees
Domain
all, blockGroup
Example
all immediate SetHardwarDirectionAngleAtInletAndOutlet -32.0 -33.2
Since
9.3

SetTuFreestream

Set reference turbulence intensity for turbulence and transition models.

Usage
SetTuFreestream <Tu>
Parameters
TuFreestream turbulent intensity \(Tu\)
Domain
all, blockGroup
Example
all immediate SetTuFreestream 0.01
Since
7.5

SetASSTCoolingHoleSize

Set cooling hole size for the ASST turbulence model. This parameter is only used for the mixing layer modification, if it is activated.

ASST needs the diameter of the cooling hole as a parameter. This command can set this parameter directly and it always has priority. This may be necessary if the ASST turbulence model is used with resolved film cooling holes. If the film cooling model is active and the cooling hole size is not given directly, the average of all cooling holes as defined in the hole definition file will be used. If neither is used, a default value of 1 mm is used.

This parameter can only be set per block group. For multiple cooling holes with different sizes an average may be used but if the sizes are too far apart the solution will be affected.

Usage
SetASSTCoolingHoleSize <coolingHoleDiameter>
Parameters
coolingHoleDiameterDiameter of the cooling hole(s) [m]
Domain
all, blockGroup
Example
all immediate SetASSTCoolingHoleSize 0.01
Since
9.4.5

SetReynoldsStressFraction

The Reynolds stresses in momentum and energy equations can be blended between an eddy viscosity formulation and a Reynolds stress model formulation. This is controlled by the Reynolds stress fraction \(f\).

\begin{equation} \frac{D(\rho U_i)}{Dt} = - \frac{\partial P}{\partial x_i} + \frac{\partial}{\partial x_j} \left[ 2 \mu \tilde S_{ij} + 2 \mu_T (1 - f) \tilde S_{ij} - f \overline{\rho u_i u_j} \right] \end{equation}

\(f = 1\) is equivalent to a full Reynolds stress model formulation, \(f = 0 \) is equivalent to a full eddy viscosity formulation.

Usage
SetReynoldsStressFraction <fraction>
Parameters
fractionFraction \(f \in [0, 1]\) of Reynolds stresses to be added to RANS equations.
Domain
all, component, stage, group, blockGroup, block
Example
all immediate SetReynoldsStressFraction 0.5
Since
8.1.128

RampReynoldsStressFraction

Initialise a ramp for "Reynolds stress fraction" \(f\) (see SetReynoldsStressFraction) from an initial value to a target value (between 0 and 1) over the specified amount of time steps.

Usage
RampReynoldsStressFraction <initial_fraction> <target_fraction> <n_time_steps>
Parameters
initial_fractionInitial Reynolds stress fraction \(f \in [0, 1]\) at the beginning of ramp.
target_fractionTarget Reynolds stress fraction \(f \in [0, 1]\) at the end of ramp.
n_time_stepsNumber of time steps in which target should be reached.
Domain
all, component, stage, group, blockGroup, block
Example
all timestep 500 RampReynoldsStressFraction 0.05 1.0 300
This increases \(f\) from the 0.05 to 1.0 over 300 time steps starting in timestep 500.
Since
8.1.128

StartKWDiffusionLimited

Start limitation of cross derivatives in diffusion term of \(k-\omega\) turbulence model.

Usage
StartKWDiffusionLimited <option1> <option2> [optionalOption]
Domain
all, blockGroup
Example
all immediate StartKWDiffusionLimited
Since
8.0.403

StopKWDiffusionLimited

Start limitation of cross derivatives in diffusion term of \(k-\omega\) turbulence model.

Usage
StopKWDiffusionLimited <option1> <option2> [optionalOption]
Domain
all, blockGroup
Example
all immediate StopKWDiffusionLimited
Since
8.0.403

ActivateSSTPkLimTermForDES

This optional turbulence model command allows to activate the additional production term \(P_k^{lim}\) for the Menter-SST model which is originally proposed for transitional computations. For the combination of Menter-SST model with \(\gamma\) transition model and DES, this term is inactive by default.

Usage
ActivateSSTPkLimTermForDES
Domain
all, blockGroup
Example
all immediate ActivateSSTPkLimTermForDES
Since
9.5