Module for turbulence constants

| programmer's documentation

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
Module for turbulence constants
Module for physical constants
Collaboration diagram for Module for turbulence constants:

## Variables
double precision, save | xkappa
| Karman constant. (= 0.42) More...
double precision, save | cstlog
| constant of logarithmic law function: ( ) More...
double precision, save | ypluli
| limit value of for the viscous sublayer. ypluli depends on the chosen wall function: it is initialised to 10.88 for the scalable wall function (ideuch=2), otherwise it is initialised to . In LES, ypluli is taken by default to be 10.88. More...
double precision, save | apow
| Werner and Wengle coefficient. More...
double precision, save | bpow
| Werner and Wengle coefficient. More...
double precision, save | cpow
| Werner and Wengle coefficient. More...
double precision, save | dpow
| Werner and Wengle coefficient. More...
double precision, save | cmu
| constant for all the RANS turbulence models except for the v2f model (see cv2fmu for the value of in case of v2f modelling). Useful if and only if iturb = 20, 21, 30, 31 or 60 ( , or ) More...
double precision, save | cmu025
| More...
double precision, save | ce1
| constant for all the RANS turbulence models except for the v2f and the models. Useful if and only if iturb= 20, 21, 30 or 31 ( or ) More...
double precision, save | ce2
| constant for the and LRR models. Useful if and only if { iturb}= 20, 21 or 30 ( or LRR) More...
double precision, save | ce4
| Coefficient of interfacial coefficient in k-eps, used in Lagrange treatment. More...
double precision, save | sigmak
| Prandtl number for with and v2f models. nUseful if and only if iturb=20, 21 or 50 ( or v2f) More...
double precision, save | sigmae
| Prandtl number for . Useful if and only if iturb= 20, 21, 30, 31 or 50 ( , or v2f) More...
double precision, save | crij1
| constant for the LRR model. Useful if and only if iturb=30 ( LRR) More...
double precision, save | crij2
| constant for the LRR model. Useful if and only if iturb=30 ( LRR) More...
double precision, save | crij3
| constant for the LRR model. Useful if and only if iturb=30 ( LRR) More...
double precision, save | crijp1
| constant for the LRR model, corresponding to the wall echo terms. Useful if and only if iturb=30 and irijec=1 ( LRR) More...
double precision, save | crijp2
| constant for the LRR model, corresponding to the wall echo terms. Useful if and only if iturb=30 and irijec=1 ( LRR) More...
double precision, save | cssge2
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgs1
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgs2
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgr1
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgr2
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgr3
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgr4
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cssgr5
| constant for the SSG model. Useful if and only if iturb=31 ( SSG) More...
double precision, save | cebms1
| constant of the Rij-epsilon EBRSM More...
double precision, save | cebms2
| constant of the Rij-epsilon EBRSM More...
double precision, save | cebmr1
double precision, save | cebmr2
double precision, save | cebmr3
double precision, save | cebmr4
double precision, save | cebmr5
double precision, save | cebmr6
double precision, save | csrij
| constant for the LRR model. Useful if and only if iturb=30 ( LRR) More...
double precision, save | cebme2
| constant of the Rij-epsilon EBRSM More...
double precision, save | cebmmu
| constant of the Rij-epsilon EBRSM More...
double precision, save | xcl
| constant of the Rij-epsilon EBRSM More...
double precision, save | xa1
| constant in the expression of Ce1' for the Rij-epsilon EBRSM More...
double precision, save | xct
| constant of the Rij-epsilon EBRSM More...
double precision, save | xceta
| constant of the Rij-epsilon EBRSM More...
double precision, save | cpale1
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpale2
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpale3
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpale4
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalse
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalmu
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalc1
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalc2
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalct
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalcl
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | cpalet
| specific constant of v2f "BL-v2k" (or phi-alpha) More...
double precision, save | ckwsk1
| constant for the SST model. Useful if and only if iturb=60 More...
double precision, save | ckwsk2
| constant for the SST model. Useful if and only if iturb=60 More...
double precision, save | ckwsw1
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwsw2
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwbt1
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwbt2
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwgm1
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwgm2
| constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwa1
| specific constant of k-omega SST constant for the SST model. Useful if and only if iturb=60 ( SST) More...
double precision, save | ckwc1
| constant for the SST model. Useful if and only if iturb=60 ( SST) specific constant of k-omega SST More...
double precision, save | csab1
| specific constant of Spalart-Allmaras More...
double precision, save | csab2
| specific constant of Spalart-Allmaras More...
double precision, save | csasig
| specific constant of Spalart-Allmaras More...
double precision, save | csav1
| specific constant of Spalart-Allmaras More...
double precision, save | csaw1
| specific constant of Spalart-Allmaras More...
double precision, save | csaw2
| specific constant of Spalart-Allmaras More...
double precision, save | csaw3
| specific constant of Spalart-Allmaras More...
double precision, save | cssr1
| constant of the Spalart-Shur rotation/curvature correction More...
double precision, save | cssr2
| constant of the Spalart-Shur rotation/curvature correction More...
double precision, save | cssr3
| constant of the Spalart-Shur rotation/curvature correction More...
double precision, save | ccaze2
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | ccazsc
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | ccaza
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | ccazb
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | ccazc
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | ccazd
| constants of the Cazalbou rotation/curvature correction More...
double precision, save | almax
| is a characteristic macroscopic length of the domain, used for the initialisation of the turbulence and the potential clipping (with iclkep=1) More...
double precision, save | uref
| the characteristic flow velocity, used for the initialisation of the turbulence. Negative value: not initialised. More...
double precision, save | xlomlg
| mixing length for the mixing length model More...
double precision, save | xlesfl
| constant used in the definition of LES filtering diameter: More...
double precision, save | ales
| constant used to define, for each cell , the width of the (implicit) filter: More...
double precision, save | bles
| constant used to define, for each cell $$, More...
double precision, save | csmago
| Smagorinsky constant used in the Smagorinsky model for LES. The sub-grid scale viscosity is calculated by where is the width of the filter and the filtered strain rate. More...
double precision, save | xlesfd
| ratio between explicit and explicit filter width for a dynamic model constant used to define, for each cell , the width of the explicit filter used in the framework of the LES dynamic model: . More...
double precision, save | smagmx
| maximum allowed value for the variable appearing in the LES dynamic model (the "square" comes from the fact that the variable of the dynamic model corresponds to the square of the constant of the Smagorinsky model). Any larger value yielded by the calculation procedure of the dynamic model will be clipped to . More...
double precision, save | cdries
| van Driest constant appearing in the van Driest damping function applied to the Smagorinsky constant: More...
double precision, save | volmin
| minimal control volume More...
double precision, save | volmax
| maximal control volume More...
double precision, save | voltot
| total domain volume More...
double precision, save | cv2fa1
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fe2
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fmu
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fc1
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fc2
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fct
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fcl
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cv2fet
| constant for the v2f -model. Useful if and only if iturb=50 (v2f -model) More...
double precision, save | cwale
| constant of the WALE LES method More...
double precision, save | xiafm
| coefficient of turbulent AFM flow model More...
double precision, save | etaafm
| coefficient of turbulent AFM flow model More...
double precision, save | c1trit
| coefficient of turbulent DFM flow model More...
double precision, save | c2trit
| coefficient of turbulent DFM flow model More...
double precision, save | c3trit
| coefficient of turbulent DFM flow model More...
double precision, save | c4trit
| coefficient of turbulent DFM flow model More...
double precision, save | cthafm
| constant of GGDH and AFM on the thermal scalar More...
double precision, save | cthdfm
| constant of GGDH and AFM on the thermal scalar More...

## Detailed Description

## Variable Documentation

double precision, save ales

constant used to define, for each cell , the width of the (implicit) filter:

Useful if and only if iturb = 40 or 41.

double precision, save almax

is a characteristic macroscopic length of the domain, used for the initialisation of the turbulence and the potential clipping (with iclkep=1)

- Negative value: not initialised (the code then uses the cubic root of the domain volume).

Useful if and only if turb = 20, 21, 30, 31, 50 or 60 (RANS models)

double precision, save apow

Werner and Wengle coefficient.

double precision, save bles

constant used to define, for each cell $$,

the width of the (implicit) filter:

Useful if and only if iturb = 40 or 41

double precision, save bpow

Werner and Wengle coefficient.

double precision, save c1trit

coefficient of turbulent DFM flow model

double precision, save c2trit

coefficient of turbulent DFM flow model

double precision, save c3trit

coefficient of turbulent DFM flow model

double precision, save c4trit

coefficient of turbulent DFM flow model

double precision, save ccaza

constants of the Cazalbou rotation/curvature correction

double precision, save ccazb

constants of the Cazalbou rotation/curvature correction

double precision, save ccazc

constants of the Cazalbou rotation/curvature correction

double precision, save ccazd

constants of the Cazalbou rotation/curvature correction

double precision, save ccaze2

constants of the Cazalbou rotation/curvature correction

double precision, save ccazsc

constants of the Cazalbou rotation/curvature correction

double precision, save cdries

van Driest constant appearing in the van Driest damping function applied to the Smagorinsky constant:

- .

Useful if and only if iturb = 40 or 41

double precision, save ce1

constant for all the RANS turbulence models except for the v2f and the models. Useful if and only if iturb= 20, 21, 30 or 31 ( or )

double precision, save ce2

constant for the and LRR models. Useful if and only if { iturb}= 20, 21 or 30 ( or LRR)

double precision, save ce4

Coefficient of interfacial coefficient in k-eps, used in Lagrange treatment.

constant for the interfacial term (Lagrangian module) in case of two-way coupling. Useful in case of Lagrangian modelling, in and with two-way coupling.

double precision, save cebme2

constant of the Rij-epsilon EBRSM

double precision, save cebmmu

constant of the Rij-epsilon EBRSM

double precision, save cebmr1

double precision, save cebmr2

double precision, save cebmr3

double precision, save cebmr4

double precision, save cebmr5

double precision, save cebmr6

double precision, save cebms1

constant of the Rij-epsilon EBRSM

double precision, save cebms2

constant of the Rij-epsilon EBRSM

double precision, save ckwa1

specific constant of k-omega SST constant for the SST model. Useful if and only if iturb=60 ( SST)

double precision, save ckwbt1

constant for the SST model. Useful if and only if iturb=60 ( SST)

double precision, save ckwbt2

constant for the SST model. Useful if and only if iturb=60 ( SST)

double precision, save ckwc1

constant for the SST model. Useful if and only if iturb=60 ( SST) specific constant of k-omega SST

double precision, save ckwgm1

constant for the SST model. Useful if and only if iturb=60 ( SST)

Warning
  : is calculated before the call to usipsu. Hence, if , , or is modified in usipsu, ckwgm1 must also be modified in accordance.

double precision, save ckwgm2

constant for the SST model. Useful if and only if iturb=60 ( SST)

Warning
  : is calculated before the call to usipsu. Hence, if , , or is modified in usipsu, ckwgm2 must also be modified in accordance.

double precision, save ckwsk1

constant for the SST model. Useful if and only if iturb=60

double precision, save ckwsk2

constant for the SST model. Useful if and only if iturb=60

double precision, save ckwsw1

constant for the SST model. Useful if and only if iturb=60 ( SST)

double precision, save ckwsw2

constant for the SST model. Useful if and only if iturb=60 ( SST)

double precision, save cmu

constant for all the RANS turbulence models except for the v2f model (see cv2fmu for the value of in case of v2f modelling). Useful if and only if iturb = 20, 21, 30, 31 or 60 ( , or )

double precision, save cmu025

double precision, save cpalc1

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalc2

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalcl

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalct

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpale1

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpale2

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpale3

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpale4

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalet

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalmu

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpalse

specific constant of v2f "BL-v2k" (or phi-alpha)

double precision, save cpow

Werner and Wengle coefficient.

double precision, save crij1

constant for the LRR model. Useful if and only if iturb=30 ( LRR)

double precision, save crij2

constant for the LRR model. Useful if and only if iturb=30 ( LRR)

double precision, save crij3

constant for the LRR model. Useful if and only if iturb=30 ( LRR)

double precision, save crijp1

constant for the LRR model, corresponding to the wall echo terms. Useful if and only if iturb=30 and irijec=1 ( LRR)

double precision, save crijp2

constant for the LRR model, corresponding to the wall echo terms. Useful if and only if iturb=30 and irijec=1 ( LRR)

double precision, save csab1

specific constant of Spalart-Allmaras

double precision, save csab2

specific constant of Spalart-Allmaras

double precision, save csasig

specific constant of Spalart-Allmaras

double precision, save csav1

specific constant of Spalart-Allmaras

double precision, save csaw1

specific constant of Spalart-Allmaras

double precision, save csaw2

specific constant of Spalart-Allmaras

double precision, save csaw3

specific constant of Spalart-Allmaras

double precision, save csmago

Smagorinsky constant used in the Smagorinsky model for LES. The sub-grid scale viscosity is calculated by where is the width of the filter and the filtered strain rate.

Useful if and only if iturb = 40

Note
  In theory Smagorinsky constant is 0.18. For a planar canal plan, 0.065 value is rather taken.

double precision, save csrij

constant for the LRR model. Useful if and only if iturb=30 ( LRR)

double precision, save cssge2

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgr1

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgr2

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgr3

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgr4

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgr5

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgs1

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssgs2

constant for the SSG model. Useful if and only if iturb=31 ( SSG)

double precision, save cssr1

constant of the Spalart-Shur rotation/curvature correction

double precision, save cssr2

constant of the Spalart-Shur rotation/curvature correction

double precision, save cssr3

constant of the Spalart-Shur rotation/curvature correction

double precision, save cstlog

constant of logarithmic law function: ( )

constant of the logarithmic wall function. Useful if and only if iturb >= 10 (mixing length, , , LES, v2f or )

double precision, save cthafm

constant of GGDH and AFM on the thermal scalar

double precision, save cthdfm

constant of GGDH and AFM on the thermal scalar

double precision, save cv2fa1

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fc1

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fc2

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fcl

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fct

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fe2

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fet

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cv2fmu

constant for the v2f -model. Useful if and only if iturb=50 (v2f -model)

double precision, save cwale

constant of the WALE LES method

double precision, save dpow

Werner and Wengle coefficient.

double precision, save etaafm

coefficient of turbulent AFM flow model

double precision, save sigmae

Prandtl number for . Useful if and only if iturb= 20, 21, 30, 31 or 50 ( , or v2f)

double precision, save sigmak

Prandtl number for with and v2f models. nUseful if and only if iturb=20, 21 or 50 ( or v2f)

double precision, save smagmx

maximum allowed value for the variable appearing in the LES dynamic model (the "square" comes from the fact that the variable of the dynamic model corresponds to the square of the constant of the Smagorinsky model). Any larger value yielded by the calculation procedure of the dynamic model will be clipped to .

Useful if and only if iturb = 41

double precision, save uref

the characteristic flow velocity, used for the initialisation of the turbulence. Negative value: not initialised.

Useful if and only if iturb= 20, 21, 30, 31, 50 or 60 (RANS model) and the turbulence is not initialised somewhere else (restart file or subroutine cs_user_initialization.f90)

double precision, save volmax

maximal control volume

double precision, save volmin

minimal control volume

double precision, save voltot

total domain volume

double precision, save xa1

constant in the expression of Ce1' for the Rij-epsilon EBRSM

double precision, save xceta

constant of the Rij-epsilon EBRSM

double precision, save xcl

constant of the Rij-epsilon EBRSM

double precision, save xct

constant of the Rij-epsilon EBRSM

double precision, save xiafm

coefficient of turbulent AFM flow model

double precision, save xkappa

Karman constant. (= 0.42)

Useful if and only if iturb >= 10. (mixing length, , , LES, v2f or )

double precision, save xlesfd

ratio between explicit and explicit filter width for a dynamic model constant used to define, for each cell , the width of the explicit filter used in the framework of the LES dynamic model: .

Useful if and only if iturb = 41

double precision, save xlesfl

constant used in the definition of LES filtering diameter:

double precision, save xlomlg

mixing length for the mixing length model

Useful if and only if iturb= 10 (mixing length)

double precision, save ypluli

limit value of for the viscous sublayer. ypluli depends on the chosen wall function: it is initialised to 10.88 for the scalable wall function (ideuch=2), otherwise it is initialised to . In LES, ypluli is taken by default to be 10.88.

Always useful