Upwind scheme not working for LES

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Upwind scheme not working for LES

Post by Mohammad »

Hello,

I enabled the upwind scheme for LES (classical dynamic model) for velocity in the gui, but by running the calculation this error occurs:
Error in LES, while reading convection scheme parameters for variable Velocity
-----
Parameter: var_cal_opt.blencv (2nd order scheme share for convection) = 0
while its value must be in range [0.95 , 1 ].

Warning in LES, while reading convection scheme parameters for variable Velocity
-------
Parameter: var_cal_opt.blencv (2nd order scheme share for convection) = 0
while its recommended value is equal to 1 .
I think it's a bug in version 6.0.4.

Regards,
Mohammad
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Upwind scheme not working for LES

Post by Yvan Fournier »

Hello,

No, this does not seem to be a bug (except im the GUI, which should provide consistent limits). You could always remive the test in the source code, but since upwind is not recommended with LES for numerical reasons, you would need extra validation to check this is OK for your application.

Best regards,

Yvan
Mohammad
Posts: 114
Joined: Thu Oct 25, 2018 12:18 pm

Re: Upwind scheme not working for LES

Post by Mohammad »

Hello,

Thank you Yvan. I know it's not recommended for LES, but I mean while the solver gets error in calculation, so there should not be an option for activating it.
I just want it to test the upwind and did it by editing source files. This topic just created to report the problem in the GUI.

Regards,
Mohammad
Post Reply