Errors run LES in the compressible module

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Ruonan
Posts: 136
Joined: Mon Dec 14, 2020 11:38 am

Errors run LES in the compressible module

Post by Ruonan »

Dear developers,

Please could you help me with these errors?

I use version 7.1-alpha from GitHub's master branch. For a case I finished LES calculation in the incompressible module, I now want to run it in the compressible module, for comparison. But in the compressible module, the calculation crashed at the beginning. The errors are shown below:

Code: Select all

                   CALCULATION PREPARATION
                   =======================


 ===========================================================



@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ @@   WARNING :      WHEN READING INPUT DATA
@    =========
@   CHOICE OF TIME-SCHEME
@
@     TIME-SCHEME FOR VELOCITY IS SECOND ORDER
@       (THETAV =   0.50E+00)
@     SOME TERMS ARE HOWEVER FIRST ORDER IN TIME  WITH
@       THE FOLLOWING SETTINGS:
@
@ parameters       ISTMPF ISNO2T ISTO2T IROEXT IVIEXT ICPEXT
@ Values  entered      2      1      0      0      0      0
@
@  computation will go on.
@
@ Check the input data.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@

@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ @@  WARNING:
@    =========
@    OPTIONS NOT VALIDATED WITH TIME DICRETISATION SCHEME
@
@  The current version is not validated with this time
@  discretisation scheme when a specific physics is active
@    (combustion, coal, electrical, ...).
@
@  Verify   the parameters.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@


Error while reading numerical parameters for variable Pressure
-----
Parameter: var_cal_opt.thetav (theta-scheme) = 0.5  
while its value must be equal to 1    .

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    .

Error in LES, while reading convection scheme parameters for variable TotEner
-----
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 TotEner
-------
Parameter: var_cal_opt.blencv (2nd order scheme share for convection) = 0    
while its recommended value is equal to 1    .

Error in LES, while reading convection scheme parameters for variable temperature
-----
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 temperature
-------
Parameter: var_cal_opt.blencv (2nd order scheme share for convection) = 0    
while its recommended value is equal to 1    .



/home/ruonanwang/code_saturne/code_saturne-master/src/base/cs_parameters_check.c:790: Fatal error.

4 parameter error(s) reported.

Read error messages above for details, then
check your data and parameters (GUI and user subroutines).


Call stack:
   1: 0x7f0017874472 <cs_parameters_error_barrier+0x82> (libsaturne-7.1.so)
   2: 0x7f00178751a5 <cs_parameters_check+0xd05>      (libsaturne-7.1.so)
   3: 0x7f001791058b <initi1_+0x260>                  (libsaturne-7.1.so)
   4: 0x7f00188af7cd <main+0x5dd>                     (libcs_solver-7.1.so)
   5: 0x7f0016bc0bf7 <__libc_start_main+0xe7>         (libc.so.6)
   6: 0x5643edc72dfa <_start+0x2a>                    (cs_solver)
End of stack
I searched in the forum but didn't find any possible solutions. Please could you suggest how to get around with these errors? Thank you!

Best regards,
Ruonan

(Sorry the mesh size is large so I didn't attach it. But I am very happy to send it to you by email if needed.)
Attachments
run_solver.log
(5.09 KiB) Downloaded 90 times
setup.xml
(16.33 KiB) Downloaded 88 times
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Errors run LES in the compressible module

Post by Yvan Fournier »

Hello,

The tests are there because a second-order time scheme is strongly recommended for LES, but has probably not been tested with the compressible model. I do not know if the specific numerical scheme used in the compressible model is compatible with LES or can be made so.

In any case, this is not supported, and untested. You can remove the checks leading to the error messages (in cs_parameters_check.c), but I do not know if this will work or provide correct results, so you probably need to run a validation case or two if you try that. I have no idea whether this may involve a lot of work or not. In any case, your feedback is welcome.

Best regards,

Yvan
Post Reply