9.0
general documentation
Loading...
Searching...
No Matches
cs_turbulence_t Struct Reference

#include <cs_cdo_turbulence.h>

Collaboration diagram for cs_turbulence_t:

Data Fields

Turbulence modelling

Set of parameters to handle turbulence modelling.

cs_turbulence_param_tparam
cs_equation_tmom_eq
Main properties related to the turbulence modelling
cs_property_trho
cs_property_tmu_tot
cs_property_tmu_l
cs_property_tmu_t
cs_real_tmu_tot_array
Main related fields
cs_field_tmu_t_field
cs_field_trij
Main structure and function pointers

The context structure is a structure cast on-the-fly and function pointers are a limited set of functions associated to the main operations for this structure: initialization, destruction, computation and update.

void * context
cs_turb_init_context_tinit_context
cs_turb_free_context_tfree_context
cs_turb_compute_tcompute
cs_turb_compute_tcompute_steady
cs_turb_update_tupdate

Field Documentation

◆ compute

Function pointer to compute all variables related to a turbulence model

◆ compute_steady

cs_turb_compute_t* compute_steady

Function pointer to compute in steady mode all variables related to a turbulence model

◆ context

void* context

Context related to the turbulence modelling. This structure is cast on-the-fly according to the modelling choices

◆ free_context

cs_turb_free_context_t* free_context

Function pointer to de-allocate memory owned by the context structure

◆ init_context

cs_turb_init_context_t* init_context

Function pointer to initialize the context structure

◆ mom_eq

cs_equation_t* mom_eq

Pointer to the momentum equation structure.

◆ mu_l

laminar viscosity

◆ mu_t

total viscosity (dynamic turbulent + laminar)

dynamic turbulent viscosity

◆ mu_t_field

cs_field_t* mu_t_field

Reynolds stress tensor

◆ mu_tot

cs_property_t* mu_tot

mass density

◆ mu_tot_array

cs_real_t* mu_tot_array

Array storing the value of the total viscosity in each cell

◆ param

Main set of parameters to handle turbulence modelling. The members of this structure are shared with the legacy part.

◆ rho

mass density

◆ rij

cs_field_t* rij

Reynolds stress tensor

◆ update

Function pointer to perform the update step (properties or arrays associated to the variables of a turbulence model are updated)


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