9.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 has_buoyant_term
int ikecou
int reinit_turb
int irijco
int irijnu
int irijrb
int irijec
int iclsyr
int iclptr
int ikwcln
double xlomlg
int dissip_buo_mdl

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

◆ dissip_buo_mdl

int dissip_buo_mdl

Turbulent dissipation buoyant production model

Useful if and only if order = CS_TURB_SECOND_ORDER ( $R_{ij}-\epsilon$ model).

◆ has_buoyant_term

int has_buoyant_term

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 RANS models are activated and (gravity) $\ne$ (0,0,0) and the density is not uniform.

◆ 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 model = CS_TURB_K_EPSILON, CS_TURB_K_EPSILON_LIN_PROD or CS_TURB_V2F_PHI ( $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

◆ idirsm

int idirsm

turbulent diffusion model for second moment closure

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

◆ 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 model = CS_TURB_K_EPSILON, CS_TURB_K_EPSILON_LIN_PROD, CS_TURB_V2F_PHI, CS_TURB_K_OMEGA.
    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.
    ikecou = 1 is forbidden when using the v2f model (model = 50).
    Useful if and only if eddy viscosity models are chosen.

◆ ikwcln

int ikwcln

Wall boundary condition on omega in k-omega SST 0: Deprecated Neumann boundary condition 1: Dirichlet boundary condition consistent with Menter's original model: w_wall = 60*nu/(beta*d**2)

◆ 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 model = CS_TURB_RIJ_EPSILON_LRR ( $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.

◆ 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 order = CS_TURB_SECOND_ORDER ( $R_{ij}-\epsilon$ model).

◆ irijrb

int irijrb

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

  • 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 model = CS_TURB_K_OMEGA or CS_TURB_SPALART_ALLMARAS)

◆ reinit_turb

int reinit_turb

Advanced re-init for EBRSM and k-omega models

  • 1: true (default)
  • 0: false

◆ xlomlg

double xlomlg

mixing length for the mixing length model

Useful if and only if model= CS_TURB_MIXING_LENGTH (mixing length).


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