Page 1 of 1

Signal SIGFPE (exception en virgule flottante) interceptée !

Posted: Fri Sep 19, 2014 12:22 am
by David Vincent
Hello,

When the code was running a calculation, it stopped suddenly at 23th iteration instead of 200 and displayed an error which lead to SIGFPE signal.
I verified the mesh with mesh quality criteria which said no errors!
I join the error and listing files.

Thank you for your answer by advance.

David VINCENT

Re: Signal SIGFPE (exception en virgule flottante) intercept

Posted: Fri Sep 19, 2014 1:06 am
by Yvan Fournier
Hello,

The crash is due to a conversion error from double to single precision for post processing, meaning some values are probably above 1.e38...

Looking at the listing, we can se your CFL (Courant) number starts increasing fast (at time step 4, the max is about 8.3, at time step 5, it is 85, and at time step 6, it is already 1800), so the calculation is diverging. I recommend stopping successively at those iterations (4, 5, 6) and postprocessing to understand where the increase occurs, which may help you see what to fix. Compare the place where divergence starts with mesh quality criteria, it may help. If the crash is due to a mesh issue, adding relaxation or more sweeps may help (check the best practice guidelines on this site first, and it it is not enough, come back to this thread).

Best regards,

Yvan