Skip to main content

setTurbulenceFields

Overview

The setTurbulenceFields utility applies a two-step automatic initialisation procedure for RAS computations based on the work of Manceau45 to address slow or non-convergence attributed in the first O(10) time steps and improve resulting predictions.

Usage

Synopsis

setTurbulenceFields [OPTIONS]

Examples

setTurbulenceFields -region region1

Input

Arguments

No arguments required.

Options

-case <dir> Case directory (instead of current directory)
-decomposeParDict <file>
Alternative decomposePar dictionary file
-dict <file> Alternative setTurbulenceFieldsDict
-parallel Run in parallel
-region <name> Specify mesh region (default: region0)
-doc Display documentation in browser
-help Display short help and exit
-help-compat Display compatibility options and exit
-help-full Display full help and exit

Files

The setTurbulenceFields utility is configured using a <case>/system/setTurbulenceFieldsDict, taking the form:

// Mandatory entries
uRef 17.55;


// Optional entries
initialiseU true;
initialiseEpsilon true;
initialiseK true;
initialiseOmega true;
initialiseR true;
writeF true;

kappa 0.41;
Cmu 0.09;
dPlusRef 15.0;

f f;
U U;
epsilon epsilon;
k k;
omega omega;
R R;
PropertyDescriptionTypeRequiredDefault
uRefReference speedscalaryes-
initialiseUFlag to initialise Uboolnofalse
initialiseEpsilonFlag to initialise epsilonboolnofalse
initialiseKFlag to initialise kboolnofalse
initialiseOmegaFlag to initialise omegaboolnofalse
initialiseRFlag to initialise Rboolnofalse
writeFFlag to write elliptic-blending field, fboolnofalse
kappavon Karman constantscalarno0.41
CmuEmpirical constantscalarno0.09
dPlusRefReference dPlusscalarno15
fName of operand f fieldwordnof
UName of operand U fieldwordnoU
epsilonName of operand epsilon fieldwordnoepsilon
kName of operand k fieldwordnok
omegaName of operand omega fieldwordnoomega
RName of operand R fieldwordnoR
  • Time that the utility applies to is determined by the startFrom and startTime entries of the controlDict.
  • The utility modifies near-wall fields, hence can be more effective for low-Re mesh cases.

Fields

No field input required.

Output

Logs

No log output.

Files

No file output.

Fields

PropertyDescriptionPathType
UVelocity<case>/<time>/volVectorField
nutTurbulence viscosity<case>/<time>/volScalarField
epsilonTurbulence kinetic energy dissipation rate<case>/<time>/volScalarField
kTurbulence kinetic energy<case>/<time>/volScalarField
omegaSpecific dissipation rate<case>/<time>/volScalarField
RReynolds stress tensor<case>/<time>/volSymmScalarField
fElliptic blending factor<case>/<time>/volScalarField

Method

Equations 3, 6, 8-13 and page 2 of Manceau45.

Further information

Tutorial:

Source code:

History: Introduced in version v2206