programmer's documentation
Data Fields
cs_turb_rans_model_t Struct Reference

RANS turbulence model descriptor. More...

#include <cs_turbulence_model.h>

Collaboration diagram for cs_turb_rans_model_t:
Collaboration graph

Data Fields

int irccor
 
int itycor
 
int idirsm
 
int iclkep
 
int igrhok
 
int igrake
 
int igrari
 
int ikecou
 
int irijnu
 
int irijrb
 
int irijec
 
int idifre
 
int iclsyr
 
int iclptr
 
double almax
 
double uref
 
double xlomlg
 

Detailed Description

RANS turbulence model descriptor.

Members of this turbulence model are publicly accessible, to allow for concise syntax, as it is expected to be used in many places.

Field Documentation

almax

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

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

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

iclkep

clipping of k and epsilon

  • 0: absolute value clipping
  • 1: coupled clipping based on physical relationships
iclptr

partial implicitation of wall BCs of $ \tens{R} $

  • 1: true
  • 0: false (default)
iclsyr

partial implicitation of symmetry BCs of $ \tens{R} $

  • 1: true (default)
  • 0: false
idifre

whole treatment of the diagonal part of the diffusion tensor of $ \tens{R} $ and $ \varepsilon $

  • 1: true (default)
  • 0: simplified treatment
idirsm

turbulent diffusion model for second moment closure

  • 0: scalar diffusivity (Shir model)
  • 1: tensorial diffusivity (Daly and Harlow model, default model)
igrake

buoyant term in $ k- \varepsilon $

  • 1: true (default if $ \rho $ is variable)
  • 0: false
igrari

buoyant term in $ R_{ij}- \varepsilon $

  • 1: true (default if $ \rho $ is variable)
  • 0: false
igrhok

take $ 2/3 \rho \grad k $ in the momentum equation

  • 1: true
  • 0: false (default)
ikecou

partially coupled version of $ k-\varepsilon $ (only for iturb=20)

  • 1: true (default)
  • 0: false
irccor

activation of rotation/curvature correction for an eddy viscosity turbulence models

  • 0: false
  • 1: true
irijec

wall echo term of $ \tens{R} $

  • 1: true
  • 0: false (default)
irijnu

pseudo eddy viscosity in the matrix of momentum equation to partially implicit $ \divv \left( \rho \tens{R} \right) $

  • 1: true
  • 0: false (default)
irijrb

accurate treatment of $ \tens{R} $ at the boundary (see condli)

  • 1: true
  • 0: false (default)
itycor

type of rotation/curvature correction for an eddy viscosity turbulence models

  • 1: Cazalbou correction (default when irccor=1 and itytur=2 or 5)
  • 2: Spalart-Shur correction (default when irccor=1 and iturb=60 or 70)
uref

characteristic flow velocity, used for the initialization of the turbulence

  • Negative value: not initialized.

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

xlomlg

mixing length for the mixing length model

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


The documentation for this struct was generated from the following files: