8.0
general documentation
Loading...
Searching...
No Matches
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:

Data Fields

int irccor
int itycor
int idirsm
int iclkep
int igrhok
int igrake
int igrari
int ikecou
int reinit_turb
int irijco
int irijnu
int irijrb
int irijec
int idifre
int iclsyr
int iclptr
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

◆ iclkep

int iclkep

Indicates the clipping method used for $k$ and $\varepsilon$, for the $k-\epsilon$ and v2f models

  • 0: clipping in absolute value
  • 1: coupled clipping based on physical relationships
    Useful if and only if iturb = 20, 21 or 50 ( $k-\epsilon$ and v2f models). The results obtained with the method corresponding to iclkep =1 showed in some cases a substantial sensitivity to the values of the length scale almax.
    The option iclkep = 1 is therefore not recommended, and, if chosen, must be used cautiously.

◆ iclptr

int iclptr

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

  • 1: true
  • 0: false (default)

◆ iclsyr

int iclsyr

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

  • 1: true (default)
  • 0: false

◆ idifre

int idifre

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

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

◆ idirsm

int idirsm

turbulent diffusion model for second moment closure

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

◆ igrake

int igrake

Indicates if the terms related to gravity are taken into account in the equations of $k-\epsilon$.

  • 1: true (default if $ \rho $ is variable)
  • 0: false Useful if and only if iturb = 20, 21, 50 or 60 and (gravity) $\ne$ (0,0,0) and the density is not uniform.

◆ igrari

int igrari

Indicates if the terms related to gravity are taken into account in the equations of $R_{ij}-\epsilon$.

  • 1: true (default if $ \rho $ is variable)
  • 0: false Useful if and only if iturb = 30 or 31 and (gravity) $\ne$ (0,0,0) ( $R_{ij}-\epsilon$ model with gravity) and the density is not uniform.

◆ igrhok

int igrhok

Indicates if the term $\frac{2}{3}\grad \rho k$ is taken into account in the velocity equation.

  • 1: true
  • 0: false in the velocity Useful if and only if iturb = 20, 21, 50 or 60.
    This term may generate non-physical velocities at the wall. When it is not explicitly taken into account, it is implicitly included into the pressure.

◆ ikecou

int ikecou

Indicates if the coupling of the source terms of $k$ and $\epsilon$ or $k$ and $\omega$ is taken into account or not.

  • 1: true,
  • 0: false
    If ikecou = 0 in $k-\epsilon$ model, the term in $\epsilon$ in the equation of $k$ is made implicit.
    ikecou is initialised to 0 if iturb = 21 or 60, and to 1 if iturb = 20.
    ikecou = 1 is forbidden when using the v2f model (iturb = 50).
    Useful if and only if iturb = 20, 21 or 60 ( $k-\epsilon$ and $k-\omega$ models)

◆ irccor

int irccor

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

  • 0: false
  • 1: true

◆ irijco

int irijco

coupled solving of Rij

  • 1: true (default)
  • 0: false

◆ irijec

int irijec

Indicates if the wall echo terms in $R_{ij}-\epsilon$ LRR model are taken into account:

  • 1: true,
  • 0: false (default)
    Useful if and only if iturb = 30 ( $R_{ij}-\epsilon$ LRR).
    It is not recommended to take these terms into account: they have an influence only near the walls, their expression is hardly justifiable according to some authors and, in the configurations studied with code_saturne, they did not bring any improvement in the results.
    In addition, their use induces an increase in the calculation time.
    The wall echo terms imply the calculation of the distance to the wall for every cell in the domain. See icdpar for potential restrictions due to this.

◆ irijnu

int irijnu

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

  • 1: true
  • 0: false (default) The goal is to improve the stability of the calculation. The usefulness of irijnu = 1 has however not been clearly demonstrated.
    Since the system is solved in incremental form, this extra turbulent viscosity does not change the final solution for steady flows. However, for unsteady flows, the parameter nswrsm should be increased.
    Useful if and only if iturb = 30 or 31 ( $R_{ij}-\epsilon$ model).

◆ irijrb

int irijrb

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

  • 1: true
  • 0: false (default)

◆ itycor

int 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)

◆ reinit_turb

int reinit_turb

Advanced re-init for EBRSM and k-omega models

  • 1: true
  • 0: false (default)

◆ xlomlg

double 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: