#include <cs_cdo_turbulence.h>
Collaboration diagram for cs_turbulence_t:Public Attributes | |
Turbulence modelling | |
Set of parameters to handle turbulence modelling. | |
| cs_turbulence_param_t * | param |
| cs_equation_t * | mom_eq |
Main properties related to the turbulence modelling | |
| cs_property_t * | rho |
| cs_property_t * | mu_tot |
| cs_property_t * | mu_l |
| cs_property_t * | mu_t |
| cs_real_t * | mu_tot_array |
Main related fields | |
| cs_field_t * | mu_t_field |
| cs_field_t * | rij |
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_t * | init_context |
| cs_turb_free_context_t * | free_context |
| cs_turb_compute_t * | compute |
| cs_turb_compute_t * | compute_steady |
| cs_turb_update_t * | update |
| void | add_boundary_stress (const cs_mesh_t *m, cs_field_t *boundary_stress) const |
| Compute and add the turbulent part of the boundray stress. More... | |
| void | check_convergence (const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, const cs_param_psteady_t &psp, cs_cdo_navsto_psteady_cvg_t &ps_cvg) const |
| Check the convergence of the pseudo-steady algorithm when the unsteady Navier-Stokes system with a CDO face-based scheme is used. More... | |
| void add_boundary_stress | ( | const cs_mesh_t * | m, |
| cs_field_t * | boundary_stress | ||
| ) | const |
Compute and add the turbulent part of the boundray stress.
| [in] | mesh | pointer to a cs_mesh_t structure |
| [in] | boundary_stress | pointer to a cs_field_t structure |
| void check_convergence | ( | const cs_cdo_quantities_t * | quant, |
| const cs_time_step_t * | ts, | ||
| const cs_param_psteady_t & | psp, | ||
| cs_cdo_navsto_psteady_cvg_t & | ps_cvg | ||
| ) | const |
Check the convergence of the pseudo-steady algorithm when the unsteady Navier-Stokes system with a CDO face-based scheme is used.
| [in] | quant | pointer to a cs_cdo_quantities_t struct. |
| [in] | ts | pointer to a cs_time_step_t structure |
| [in] | psp | pointer to a cs_param_psteady_t struct. |
| [in] | ps_cvg | pointer to a cs_cdo_navsto_psteady_cvg_t struct. |
| compute |
Function pointer to compute all variables related to a turbulence model
| compute_steady |
Function pointer to compute in steady mode all variables related to a turbulence model
| context |
Context related to the turbulence modelling. This structure is cast on-the-fly according to the modelling choices
| free_context |
Function pointer to de-allocate memory owned by the context structure
| init_context |
Function pointer to initialize the context structure
| mom_eq |
Pointer to the momentum equation structure.
| mu_l |
laminar viscosity
| mu_t |
total viscosity (dynamic turbulent + laminar)
dynamic turbulent viscosity
| cs_field_t* mu_t_field |
Reynolds stress tensor
| cs_property_t* mu_tot |
mass density
| 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 |
Reynolds stress tensor
| update |
Function pointer to perform the update step (properties or arrays associated to the variables of a turbulence model are updated)