If I use the following user law for density:
rho = 1.293 * (273.15 / TempC + 273.15);
Code_Saturne crashes with the following error:
Code: Select all
INSTANT 0.100000000E-02 TIME STEP NUMBER 1
=============================================================
mei_evaluate.c:392: Fatal error.
Error: floating point exception
Call stack:
1: 0x7fb17f27b9b2 <+0x5269b2> (libsaturne.so.0)
2: 0x7fb17f27b8b0 <+0x5268b0> (libsaturne.so.0)
3: 0x7fb17f27b64a <+0x52664a> (libsaturne.so.0)
4: 0x7fb17f27b689 <+0x526689> (libsaturne.so.0)
5: 0x7fb17f1d8ac5 <uiphyv_+0x18f5> (libsaturne.so.0)
6: 0x7fb17eebcf9c <phyvar_+0x2fc> (libsaturne.so.0)
7: 0x7fb17eeee95a <tridim_+0xd8a> (libsaturne.so.0)
8: 0x7fb17edce834 <caltri_+0x30e0> (libsaturne.so.0)
9: 0x7fb17eda5125 <cs_run+0xa35> (libsaturne.so.0)
10: 0x7fb17eda460a <main+0x14a> (libsaturne.so.0)
11: 0x7fb17e79976d <__libc_start_main+0xed> (libc.so.6)
12: 0x4006c9 <> (cs_solver)
End of stack
What is the problem here? The user law works fine on my workstation at home with vers. 3.2
Thanks
/C