#include "cs_defs.h"
Go to the source code of this file.
Functions | |
void | cs_turbulence_rij (int phase_id, cs_lnum_t ncesmp, cs_lnum_t icetsm[], int itypsm[], cs_real_t smacel[]) |
Solve the ![]() | |
void | cs_turbulence_rij_solve_alpha (int f_id, int phase_id, cs_real_t c_durbin_l) |
Solve the equation on alpha in the framework of the Rij-EBRSM model. More... | |
void | cs_turbulence_rij_init_by_ref_quantities (cs_real_t uref, cs_real_t almax) |
Initialize Rij-epsilon variables based on reference quantities. More... | |
void | cs_turbulence_rij_clip (int phase_id, cs_lnum_t n_cells) |
Clip the turbulent Reynods stress tensor and the turbulent dissipation (coupled components version). More... | |
void | cs_turbulence_rij_mu_t (int phase_id) |
Compute the turbulent viscosity for the Reynolds Stress model. More... | |
void | cs_turbulence_rij_compute_rusanov (void) |
Compute Rusanov equivalent diffusivity of the model. More... | |
void cs_turbulence_rij | ( | int | phase_id, |
cs_lnum_t | ncesmp, | ||
cs_lnum_t | icetsm[], | ||
int | itypsm[], | ||
cs_real_t | smacel[] | ||
) |
Solve the for incompressible flows or slightly compressible flows for one time step.
Please refer to the model section of the theory guide for more informations, as well as the turrij section.
[in] | phase_id | turbulent phase id (-1 for single phase flow) |
[in] | ncesmp | number of cells with mass source term |
[in] | icetsm | index of cells with mass source term |
[in] | itypsm | mass source type for the variables |
[in] | smacel | values of the variables associated to the mass source (for ivar=ipr, smacel is the mass flux) ! |
void cs_turbulence_rij_clip | ( | int | phase_id, |
cs_lnum_t | n_cells | ||
) |
Clip the turbulent Reynods stress tensor and the turbulent dissipation (coupled components version).
[in] | phase_id | turbulent phase id (-1 for single phase flow) |
[in] | n_cells | number of cells |
void cs_turbulence_rij_compute_rusanov | ( | void | ) |
Compute Rusanov equivalent diffusivity of the model.
Compute Rusanov equivalent diffusivity of the model.
Initialize Rij-epsilon variables based on reference quantities.
If uref is not provided (0 or negative), values are set at a large negative value (-cs_math_big_r) to allow for later checks.
[in] | uref | characteristic flow velocity |
[in] | almax | characteristic macroscopic length of the domain |
void cs_turbulence_rij_mu_t | ( | int | phase_id | ) |
Compute the turbulent viscosity for the Reynolds Stress model.
[in] | phase_id | turbulent phase id (-1 for single phase flow) |
void cs_turbulence_rij_solve_alpha | ( | int | f_id, |
int | phase_id, | ||
cs_real_t | c_durbin_l | ||
) |
Solve the equation on alpha in the framework of the Rij-EBRSM model.
Also called for alpha of scalars for EB-DFM.
[in] | f_id | field id of alpha variable |
[in] | phase_id | turbulent phase id (-1 for single phase flow) |
[in] | c_durbin_l | constant for the Durbin length ! |