Go to the source code of this file.
|
enum | cs_turb_model_type_t {
CS_TURB_NONE = 0
, CS_TURB_MIXING_LENGTH = 10
, CS_TURB_K_EPSILON = 20
, CS_TURB_K_EPSILON_LIN_PROD = 21
,
CS_TURB_K_EPSILON_LS = 22
, CS_TURB_K_EPSILON_QUAD = 23
, CS_TURB_RIJ_EPSILON_LRR = 30
, CS_TURB_RIJ_EPSILON_SSG = 31
,
CS_TURB_RIJ_EPSILON_EBRSM = 32
, CS_TURB_LES_SMAGO_CONST = 40
, CS_TURB_LES_SMAGO_DYN = 41
, CS_TURB_LES_WALE = 42
,
CS_TURB_V2F_PHI = 50
, CS_TURB_V2F_BL_V2K = 51
, CS_TURB_K_OMEGA = 60
, CS_TURB_SPALART_ALLMARAS = 70
} |
|
enum | { CS_TURB_TYPE_NONE = 0
, CS_TURB_RANS = 1
, CS_TURB_LES = 2
, CS_TURB_HYBRID = 3
} |
|
enum | { CS_TURB_ALGEBRAIC = 0
, CS_TURB_FIRST_ORDER = 1
, CS_TURB_SECOND_ORDER = 2
} |
|
enum | { CS_HYBRID_NONE = 0
, CS_HYBRID_DES = 1
, CS_HYBRID_DDES = 2
, CS_HYBRID_SAS = 3
} |
|
◆ anonymous enum
Enumerator |
---|
CS_TURB_TYPE_NONE | |
CS_TURB_RANS | |
CS_TURB_LES | |
CS_TURB_HYBRID | |
◆ anonymous enum
Enumerator |
---|
CS_TURB_ALGEBRAIC | |
CS_TURB_FIRST_ORDER | |
CS_TURB_SECOND_ORDER | |
◆ anonymous enum
Enumerator |
---|
CS_HYBRID_NONE | |
CS_HYBRID_DES | |
CS_HYBRID_DDES | |
CS_HYBRID_SAS | |
◆ cs_turb_model_type_t
Enumerator |
---|
CS_TURB_NONE | |
CS_TURB_MIXING_LENGTH | |
CS_TURB_K_EPSILON | |
CS_TURB_K_EPSILON_LIN_PROD | |
CS_TURB_K_EPSILON_LS | |
CS_TURB_K_EPSILON_QUAD | |
CS_TURB_RIJ_EPSILON_LRR | |
CS_TURB_RIJ_EPSILON_SSG | |
CS_TURB_RIJ_EPSILON_EBRSM | |
CS_TURB_LES_SMAGO_CONST | |
CS_TURB_LES_SMAGO_DYN | |
CS_TURB_LES_WALE | |
CS_TURB_V2F_PHI | |
CS_TURB_V2F_BL_V2K | |
CS_TURB_K_OMEGA | |
CS_TURB_SPALART_ALLMARAS | |
◆ cs_clip_turbulent_fluxes()
void cs_clip_turbulent_fluxes |
( |
int |
flux_id, |
|
|
int |
variance_id |
|
) |
| |
Clipping for the turbulence flux vector.
- Parameters
-
[in] | flux_id | turbulent flux index |
[in] | variance_id | scalar variance index |
◆ cs_get_glob_turb_les_model()
Provide access to cs_glob_turb_les_model.
needed to initialize structure with GUI
◆ cs_get_glob_turb_model()
Provide write access to turbulence model structure.
◆ cs_get_glob_turb_rans_model()
Provide access to cs_glob_turb_rans_model.
needed to initialize structure with GUI
◆ cs_get_glob_turb_ref_values()
Provide access to cs_glob_turb_ref_values.
needed to initialize structure with GUI
◆ cs_set_glob_turb_model()
void cs_set_glob_turb_model |
( |
void |
| ) |
|
Set global pointer to turbulence model structure.
This global pointer provides a read-only access to the structure.
◆ cs_set_type_order_turbulence_model()
void cs_set_type_order_turbulence_model |
( |
void |
| ) |
|
Initialize type and order members of turbulence model structure.
◆ cs_turb_compute_constants()
void cs_turb_compute_constants |
( |
void |
| ) |
|
Compute turbulence model constants, some of which may depend on the model choice.
◆ cs_turb_constants_log_setup()
void cs_turb_constants_log_setup |
( |
void |
| ) |
|
Print the turbulent constants to setup.log.
◆ cs_turb_model_init()
void cs_turb_model_init |
( |
void |
| ) |
|
Initialize turbulence model structures.
◆ cs_turb_model_log_setup()
void cs_turb_model_log_setup |
( |
void |
| ) |
|
Print the turbulence model parameters to setup.log.
◆ cebmr2
◆ cebmr3
◆ cebmr4
◆ cebmr5
◆ cs_glob_turb_les_model
◆ cs_glob_turb_model
◆ cs_glob_turb_rans_model
◆ cs_glob_turb_ref_values
◆ cs_turb_ales
const double cs_turb_ales |
|
extern |
Constant used to define, for each cell
, the width of the (implicit) filter:
Useful if and only if iturb = 40 or 41.
◆ cs_turb_apow
const double cs_turb_apow |
|
extern |
Werner and Wengle coefficient
◆ cs_turb_bles
const double cs_turb_bles |
|
extern |
Constant used to define, for each cell
, the width of the (implicit) filter:
Useful if and only if iturb = 40 or 41.
◆ cs_turb_bpow
const double cs_turb_bpow |
|
extern |
Werner and Wengle coefficient
◆ cs_turb_c1trit
const double cs_turb_c1trit |
|
extern |
Coefficient of turbulent DFM flow model.
◆ cs_turb_c2trit
const double cs_turb_c2trit |
|
extern |
Coefficient of turbulent DFM flow model.
◆ cs_turb_c3trit
const double cs_turb_c3trit |
|
extern |
Coefficient of turbulent DFM flow model.
◆ cs_turb_c4trit
const double cs_turb_c4trit |
|
extern |
Coefficient of turbulent DFM flow model.
◆ cs_turb_ccaza
const double cs_turb_ccaza |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_ccazb
const double cs_turb_ccazb |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_ccazc
const double cs_turb_ccazc |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_ccazd
const double cs_turb_ccazd |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_ccaze2
const double cs_turb_ccaze2 |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_ccazsc
const double cs_turb_ccazsc |
|
extern |
Constants of the Cazalbou rotation/curvature correction.
◆ cs_turb_cddes
◆ cs_turb_cdries
Van Driest constant appearing in the van Driest damping function applied to the Smagorinsky constant:
.
Useful if and only if iturb = 40 or 41.
◆ cs_turb_ce1
◆ cs_turb_ce2
◆ cs_turb_ce4
Coefficient of interfacial coefficient in k-eps, used in Lagrange treatment.
Constant
for the interfacial term (Lagrangian module) in case of two-way coupling. Useful in case of Lagrangian modelling, in
and
with two-way coupling.
◆ cs_turb_cebme2
const double cs_turb_cebme2 |
|
extern |
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_cebmmu
const double cs_turb_cebmmu |
|
extern |
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_cebmr1
const double cs_turb_cebmr1 |
|
extern |
◆ cs_turb_cebms1
const double cs_turb_cebms1 |
|
extern |
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_cebms2
const double cs_turb_cebms2 |
|
extern |
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_ckwa1
const double cs_turb_ckwa1 |
|
extern |
◆ cs_turb_ckwbt1
const double cs_turb_ckwbt1 |
|
extern |
◆ cs_turb_ckwbt2
const double cs_turb_ckwbt2 |
|
extern |
◆ cs_turb_ckwc1
const double cs_turb_ckwc1 |
|
extern |
◆ cs_turb_ckwgm1
◆ cs_turb_ckwgm2
◆ cs_turb_ckwsk1
const double cs_turb_ckwsk1 |
|
extern |
Constant
for the
SST model. Useful if and only if iturb=60.
◆ cs_turb_ckwsk2
const double cs_turb_ckwsk2 |
|
extern |
Constant
for the
SST model. Useful if and only if iturb=60.
◆ cs_turb_ckwsw1
const double cs_turb_ckwsw1 |
|
extern |
◆ cs_turb_ckwsw2
const double cs_turb_ckwsw2 |
|
extern |
◆ cs_turb_cmu
◆ cs_turb_cmu025
◆ cs_turb_cnl1
const double cs_turb_cnl1 |
|
extern |
Constants for the Baglietto et al. quadratic k-epsilon model. Useful if and only if iturb = CS_TURB_K_EPSILON_QUAD
◆ cs_turb_cnl2
const double cs_turb_cnl2 |
|
extern |
◆ cs_turb_cnl3
const double cs_turb_cnl3 |
|
extern |
◆ cs_turb_cnl4
const double cs_turb_cnl4 |
|
extern |
◆ cs_turb_cnl5
const double cs_turb_cnl5 |
|
extern |
◆ cs_turb_cpalc1
const double cs_turb_cpalc1 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpalc2
const double cs_turb_cpalc2 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpalcl
const double cs_turb_cpalcl |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpalct
const double cs_turb_cpalct |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpale1
const double cs_turb_cpale1 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpale2
const double cs_turb_cpale2 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpale3
const double cs_turb_cpale3 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpale4
const double cs_turb_cpale4 |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpalet
const double cs_turb_cpalet |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_cpalmu
const double cs_turb_cpalmu |
|
extern |
Specific constant of v2f "BL-v2k" (or phi-alpha).
◆ cs_turb_crij1
◆ cs_turb_crij2
◆ cs_turb_crij3
Constant
for the
models. Value is 0.55 for SSG and LRR, 0.6 for EBRSM.
◆ cs_turb_crijp1
const double cs_turb_crijp1 |
|
extern |
◆ cs_turb_crijp2
const double cs_turb_crijp2 |
|
extern |
◆ cs_turb_csab1
const double cs_turb_csab1 |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csab2
const double cs_turb_csab2 |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csas
const double cs_turb_csas |
|
extern |
◆ cs_turb_csas_eta2
const double cs_turb_csas_eta2 |
|
extern |
◆ cs_turb_csasig
const double cs_turb_csasig |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csav1
const double cs_turb_csav1 |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csaw1
Specific constant of Spalart-Allmaras.
◆ cs_turb_csaw2
const double cs_turb_csaw2 |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csaw3
const double cs_turb_csaw3 |
|
extern |
Specific constant of Spalart-Allmaras.
◆ cs_turb_csmago
Smagorinsky constant used in the Smagorinsky model for LES. The sub-grid scale viscosity is calculated by
where
is the width of the filter and
the filtered strain rate.
Useful if and only if iturb = 40.
- Note
- In theory Smagorinsky constant is 0.18. For a channel, 0.065 value is rather taken.
◆ cs_turb_csmago_max
double cs_turb_csmago_max |
|
extern |
Maximum allowed value for the variable
appearing in the LES dynamic model. Any larger value yielded by the calculation procedure of the dynamic model will be clipped to
.
Useful if and only if iturb = 41.
◆ cs_turb_csmago_min
double cs_turb_csmago_min |
|
extern |
Minimum allowed value for the variable
appearing in the LES dynamic model. Any smaller value yielded by the calculation procedure of the dynamic model will be clipped to
.
Useful if and only if iturb = 41.
◆ cs_turb_csrij
◆ cs_turb_cssge2
const double cs_turb_cssge2 |
|
extern |
◆ cs_turb_cssgr1
const double cs_turb_cssgr1 |
|
extern |
◆ cs_turb_cssgr2
const double cs_turb_cssgr2 |
|
extern |
◆ cs_turb_cssgr3
const double cs_turb_cssgr3 |
|
extern |
◆ cs_turb_cssgr4
const double cs_turb_cssgr4 |
|
extern |
◆ cs_turb_cssgr5
const double cs_turb_cssgr5 |
|
extern |
◆ cs_turb_cssgs1
const double cs_turb_cssgs1 |
|
extern |
◆ cs_turb_cssgs2
const double cs_turb_cssgs2 |
|
extern |
◆ cs_turb_cssr1
const double cs_turb_cssr1 |
|
extern |
Constant of the Spalart-Shur rotation/curvature correction.
◆ cs_turb_cssr2
const double cs_turb_cssr2 |
|
extern |
Constant of the Spalart-Shur rotation/curvature correction.
◆ cs_turb_cssr3
const double cs_turb_cssr3 |
|
extern |
Constant of the Spalart-Shur rotation/curvature correction.
◆ cs_turb_cstlog
const double cs_turb_cstlog |
|
extern |
◆ cs_turb_cstlog_alpha
double cs_turb_cstlog_alpha |
|
extern |
◆ cs_turb_cstlog_rough
const double cs_turb_cstlog_rough |
|
extern |
◆ cs_turb_cthafm
const double cs_turb_cthafm |
|
extern |
Constant of GGDH and AFM on the thermal scalar.
◆ cs_turb_cthdfm
const double cs_turb_cthdfm |
|
extern |
Constant of GGDH and AFM on the thermal scalar.
◆ cs_turb_cv2fa1
const double cs_turb_cv2fa1 |
|
extern |
◆ cs_turb_cv2fc1
const double cs_turb_cv2fc1 |
|
extern |
◆ cs_turb_cv2fc2
const double cs_turb_cv2fc2 |
|
extern |
◆ cs_turb_cv2fcl
const double cs_turb_cv2fcl |
|
extern |
◆ cs_turb_cv2fct
const double cs_turb_cv2fct |
|
extern |
◆ cs_turb_cv2fe2
const double cs_turb_cv2fe2 |
|
extern |
◆ cs_turb_cv2fet
const double cs_turb_cv2fet |
|
extern |
◆ cs_turb_cv2fmu
const double cs_turb_cv2fmu |
|
extern |
◆ cs_turb_cwale
Constant of the WALE LES method.
◆ cs_turb_dpow
Werner and Wengle coefficient
◆ cs_turb_etaafm
const double cs_turb_etaafm |
|
extern |
Coefficient of turbulent AFM flow model.
◆ cs_turb_vdriest
const double cs_turb_vdriest |
|
extern |
Van Driest constant. (= 25.6)
Useful if and only if cs_glob_wall_functions::iwallf = CS_WALL_F_2SCALES_VDRIEST. (Two scales log law at the wall using Van Driest mixing length expression).
◆ cs_turb_xa1
Constant in the expression of Ce1' for the Rij-epsilon EBRSM.
◆ cs_turb_xceta
const double cs_turb_xceta |
|
extern |
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_xcl
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_xct
Constant of the Rij-epsilon EBRSM.
◆ cs_turb_xiafm
const double cs_turb_xiafm |
|
extern |
Coefficient of turbulent AFM flow model.
◆ cs_turb_xkappa
const double cs_turb_xkappa |
|
extern |
Karman constant. (= 0.42)
Useful if and only if iturb >= 10. (mixing length,
,
, LES, v2f or
).
◆ cs_turb_xlesfd
Ratio between explicit and explicit filter width for a dynamic model. Constant used to define, for each cell
, the width of the explicit filter used in the framework of the LES dynamic model:
.
Useful if and only if iturb = 41.
◆ cs_turb_xlesfl
const double cs_turb_xlesfl |
|
extern |