/dports/science/code_saturne/code_saturne-7.1.0/src/turb/ |
H A D | cs_turbulence_model.c | 1575 if (turb_model->type == CS_TURB_RANS) in cs_turb_model_log_setup() 1579 else if (turb_model->type == CS_TURB_LES) in cs_turb_model_log_setup() 1583 else if (turb_model->order == CS_TURB_ALGEBRAIC) in cs_turb_model_log_setup() 1600 _turbulence_model_name(turb_model->iturb), in cs_turb_model_log_setup() 1736 else if (turb_model->type == CS_TURB_LES) { in cs_turb_model_log_setup() 1755 else if ( turb_model->iturb == CS_TURB_V2F_PHI in cs_turb_model_log_setup() 1838 if ( turb_model->type == CS_TURB_RANS in cs_turb_model_log_setup() 1872 if (turb_model->iturb != CS_TURB_NONE) in cs_turb_constants_log_setup() 1877 if ( turb_model->iturb == CS_TURB_K_EPSILON in cs_turb_constants_log_setup() 1950 else if (turb_model->iturb == CS_TURB_V2F_PHI) in cs_turb_constants_log_setup() [all …]
|
H A D | cs_turbulence_bc.c | 334 assert(turb_model != NULL); in _inlet_bc() 336 if (turb_model->itytur == 2) { in _inlet_bc() 400 else if (turb_model->itytur == 5) { in _inlet_bc() 406 if (turb_model->iturb == 50) { in _inlet_bc() 409 else if (turb_model->iturb == 51) { in _inlet_bc() 414 else if (turb_model->iturb == CS_TURB_K_OMEGA) { in _inlet_bc() 451 if (turb_model->itytur == 2) { in _set_uninit_inlet_bc() 500 if (turb_model->iturb == 32) in _set_uninit_inlet_bc() 533 else if (turb_model->itytur == 5) { in _set_uninit_inlet_bc() 542 if (turb_model->iturb == 50) { in _set_uninit_inlet_bc() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/gui/Pages/ |
H A D | BoundaryConditionsTurbulenceInletViewNeptune.py | 127 …if turb_model != "none" and turb_model != 'mixing_length' and turb_model != 'tchen' and turb_model… 130 if turb_model == 'q2-q12' or turb_model == 'r2-q12': 230 turb_model) 233 if turb_model in ('k-epsilon', 'k-epsilon_linear_production'): 235 exp = self.__boundary.getDefaultTurbFormula(turb_model) 264 elif turb_model in ('rij-epsilon_ssg', 'rij-epsilon_ebrsm'): 266 exp = self.__boundary.getDefaultTurbFormula(turb_model) 302 elif turb_model in ('tchen', 'q2-q12'): 305 exp = self.__boundary.getDefaultTurbFormula(turb_model) 310 elif turb_model in ('r2-q12'): [all …]
|
H A D | BoundaryConditionsTurbulenceInletView.py | 254 turb_model = TurbulenceModel(self.case).getTurbulenceModel() 255 if turb_model in ('k-epsilon', 'k-epsilon-PL'): 259 exp = self.__boundary.getDefaultTurbFormula(turb_model) 286 elif turb_model in ('Rij-epsilon', 'Rij-SSG'): 290 exp = self.__boundary.getDefaultTurbFormula(turb_model) 329 elif turb_model == 'Rij-EBRSM': 333 exp = self.__boundary.getDefaultTurbFormula(turb_model) 374 elif turb_model == 'v2f-BL-v2/k': 378 exp = self.__boundary.getDefaultTurbFormula(turb_model) 410 elif turb_model == 'k-omega-SST': [all …]
|
H A D | InitializationView.py | 310 turb_model = self.turb.getTurbulenceModel() 406 turb_model = self.turb.getTurbulenceModel() 407 exa = """#example \n""" + self.init.getDefaultTurbFormula(turb_model) 412 if turb_model in ('k-epsilon', 'k-epsilon-PL'): 414 elif turb_model in ('Rij-epsilon', 'Rij-SSG'): 416 elif turb_model == 'Rij-EBRSM': 418 elif turb_model == 'v2f-BL-v2/k': 420 elif turb_model == 'k-omega-SST': 422 elif turb_model == 'Spalart-Allmaras': 838 turb_model = self.turb.getTurbulenceModel() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/src/base/ |
H A D | cs_parameters_check.c | 994 assert(turb_model != NULL); in cs_parameters_check() 996 if (turb_model->type == CS_TURB_LES) { in cs_parameters_check() 1345 if (turb_model->hybrid_turb > 0) { in cs_parameters_check() 1411 if ( turb_model->itytur == 2 in cs_parameters_check() 1412 || turb_model->itytur == 5 in cs_parameters_check() 1413 || turb_model->itytur == 6) { in cs_parameters_check() 1433 || turb_model->itytur == 5) { in cs_parameters_check() 1476 if ( ( turb_model->itytur == 2 in cs_parameters_check() 1477 || turb_model->itytur == 6) in cs_parameters_check() 1581 if (turb_model->type == CS_TURB_LES) { in cs_parameters_check() [all …]
|
H A D | cs_post_util.c | 579 if ( turb_model->itytur == 2 in cs_post_b_pressure() 580 && turb_model->itytur == 6 in cs_post_b_pressure() 581 && turb_model->itytur == 5) { in cs_post_b_pressure() 634 if ( turb_model->itytur != 2 in cs_post_evm_reynolds_stresses() 635 && turb_model->itytur != 6 in cs_post_evm_reynolds_stresses() 636 && turb_model->itytur != 5) in cs_post_evm_reynolds_stresses() 721 if ( turb_model->itytur != 2 in cs_post_anisotropy_invariant() 722 && turb_model->itytur != 3 in cs_post_anisotropy_invariant() 723 && turb_model->itytur != 6 in cs_post_anisotropy_invariant() 724 && turb_model->itytur != 5) in cs_post_anisotropy_invariant() [all …]
|
H A D | cs_velocity_pressure.c | 645 const cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_velocity_pressure_param_log_setup() local 646 if (turb_model != NULL) { in cs_velocity_pressure_param_log_setup() 647 if (turb_model->order == CS_TURB_SECOND_ORDER){ in cs_velocity_pressure_param_log_setup()
|
H A D | cs_wall_functions.h | 433 const cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_wall_functions_2scales_continuous() local 434 assert(turb_model != NULL); in cs_wall_functions_2scales_continuous() 435 if (turb_model->itytur == 3) in cs_wall_functions_2scales_continuous()
|
H A D | cs_restart_default.c | 2009 const cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_restart_read_variables() local 2010 assert(turb_model != NULL); in cs_restart_read_variables() 2011 const int iturb_cur = turb_model->iturb; in cs_restart_read_variables()
|
/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/ |
H A D | cs_lagr_gradients.c | 158 const cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_lagr_gradients() local 159 assert(turb_model != NULL); in cs_lagr_gradients() 160 if ( turb_model->itytur == 2 in cs_lagr_gradients() 161 || turb_model->itytur == 4 in cs_lagr_gradients() 162 || turb_model->itytur == 5 in cs_lagr_gradients() 163 || turb_model->itytur == 6) { in cs_lagr_gradients()
|
H A D | cs_lagr.c | 638 cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_f_lagr_specific_physics() local 640 if (turb_model == NULL) in cs_f_lagr_specific_physics() 644 _lagr_extra_module.iturb = turb_model->iturb; in cs_f_lagr_specific_physics() 645 _lagr_extra_module.itytur = turb_model->itytur; in cs_f_lagr_specific_physics()
|
/dports/science/code_saturne/code_saturne-7.1.0/bin/model/ |
H A D | InitializationModel.py | 133 def getDefaultTurbFormula(self, turb_model): argument 151 elif turb_model == 'Rij-EBRSM': 163 elif turb_model == 'v2f-BL-v2/k': 170 elif turb_model == 'k-omega-SST': 173 elif turb_model == 'Spalart-Allmaras': 215 exp = self.getTurbFormula(zone, turb_model) 228 elif turb_model == 'Rij-EBRSM': 237 elif turb_model == 'v2f-BL-v2/k': 242 elif turb_model == 'k-omega-SST': 245 elif turb_model == 'Spalart-Allmaras': [all …]
|
H A D | BoundaryNeptune.py | 182 turb_model = None 184 turb_model = TurbulenceModel(self.case).getTurbulenceModel(fieldId) 186 if turb_model in TurbulenceModelsDescription.dispersedTurbulenceModels: 524 def getDefaultTurbFormula(self, turb_model): argument 528 if turb_model in ('k-epsilon', 'k-epsilon_linear_production'): 532 elif turb_model in ('rij-epsilon_ssg', 'rij-epsilon_ebrsm'): 541 elif turb_model in ('tchen', 'q2-q12'): 545 elif turb_model == 'r2-q12': 554 elif turb_model == 'r2-r12-tchen':
|
H A D | Boundary.py | 743 def getDefaultTurbFormula(self, turb_model): argument 747 if turb_model in ('k-epsilon', 'k-epsilon-PL'): 751 elif turb_model in ('Rij-epsilon', 'Rij-SSG'): 760 elif turb_model == 'Rij-EBRSM': 770 elif turb_model == 'v2f-BL-v2/k': 776 elif turb_model == 'k-omega-SST': 780 elif turb_model == 'Spalart-Allmaras':
|
/dports/science/code_saturne/code_saturne-7.1.0/bin/ |
H A D | cs_meg_to_c.py | 1553 turb_model = tm.getTurbulenceModel() 1562 elif turb_model in ('Rij-epsilon', 'Rij-SSG'): 1569 elif turb_model == 'Rij-EBRSM': 1576 elif turb_model == 'v2f-BL-v2/k': 1579 elif turb_model == 'k-omega-SST': 1582 elif turb_model == 'Spalart-Allmaras': 1709 turb_model = tm.getTurbulenceModel(fId) 1710 if tc == 'formula' and turb_model != 'none': 1717 elif turb_model in ('tchen', 'q2-q12'): 1719 elif turb_model in ('r2-q12'): [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/src/user_examples/ |
H A D | cs_user_parameters-base.c | 271 cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in cs_user_model() local 272 turb_model->iturb = CS_TURB_K_EPSILON_LIN_PROD; in cs_user_model()
|
/dports/science/code_saturne/code_saturne-7.1.0/src/gui/ |
H A D | cs_gui.c | 2301 const cs_turb_model_t *turb_model = cs_get_glob_turb_model(); in CS_PROCF() local 2302 assert(turb_model != NULL); in CS_PROCF() 2332 if (turb_model->order == CS_TURB_SECOND_ORDER) { in CS_PROCF()
|