Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2017-05-29 14:35:49

Mehdy87
Member
Registered: 2017-05-23
Posts: 5

Erreur numérique(floating point exception)

Hello,
i have realized a non-linear thermal study in CODE_ASTER. This study had worked with the version 11.6 but after upgrading to 12.4 version, my study was stopped with error of "floating point exception". In attachment the ASTER files of this study.
I hope that you can help me with this problem.


Attachments:
thermal study.zip, Size: 242.07 KiB, Downloads: 33

Offline

#2 2017-05-30 10:15:45

Volker
Member
From: Chemnitz
Registered: 2016-05-23
Posts: 42

Re: Erreur numérique(floating point exception)

Hi, I don't have a solution for your problem, but let me give you one advice.
The .COMM file doesn’t look like valid python script.
Python needs a block structure - means each row belongs to a block is a little bit moved to the right, except the first row of a block, see
infohost.nmt.edu/tcc/help/pubs/python/web/blocks.html
I hope it helps a little bit.
Kind regards Volker

Offline

#3 2017-06-09 15:54:43

Mehdy87
Member
Registered: 2017-05-23
Posts: 5

Re: Erreur numérique(floating point exception)

Thank you for your answer. I changed my command file to respect the indentation in Phyton but the same problem remains after modification. The modified file is in attachment.


Attachments:
Eprouvette_coef_var.comm, Size: 10.96 KiB, Downloads: 25

Offline

#4 2017-06-09 22:24:34

Volker
Member
From: Chemnitz
Registered: 2016-05-23
Posts: 42

Re: Erreur numérique(floating point exception)

Hi Mehdy87,

your .COMM file is a miracle - it runs until your floating point exception ;-)

There is a STRANGE problem with the inital value LAMBDA = 7.5e-14.
In Code_Aster 11.6 it runs,
in Code_Aster 12.6 it doesn’t run - I had to adapt LAMBDA to 7.5e-13 ????


I have attached my .COMM file. You can compare the way of my python indentation with yours.

Kind regards Volker


Attachments:
Eprouvette_coef_var_comm.py, Size: 11.13 KiB, Downloads: 55

Offline

#5 2017-06-10 21:08:43

reiteres
Member
Registered: 2013-06-03
Posts: 557

Re: Erreur numérique(floating point exception)

Hi!

I had a look at your .comm file. I tested it with 13.3. I encountered the same error.
For me just changing the solver from MULT_FRONT to MUMPS did the trick. I suppose there were several changes from 11.6 to earlier versions within the solvers.


Attachments:
Eprouvette_coef_var.mess, Size: 270.87 KiB, Downloads: 21

Offline

#6 2017-06-13 15:58:33

Mehdy87
Member
Registered: 2017-05-23
Posts: 5

Re: Erreur numérique(floating point exception)

Hi,
Thank you for your quick answers. Your suggestions help me to resolve the problem which was caused by the choice of a solver. Once the  solver has been changed from MULT_FRONT to MUMPS, my thermal study turns with 12.4 version. But, still don't understand why MULT_FRONT solver works with 11.6 and not with 12.4 or earlier versions?
Have a nice day

Offline

#7 2017-06-19 15:05:28

Mehdy87
Member
Registered: 2017-05-23
Posts: 5

Re: Erreur numérique(floating point exception)

Hello,

The problem was detected. it is caused by the value of lambda in the stationnary study at the begining of the comm file. If i choose a value higher or equal to 1.E-13, the file run correctly with 12.4 version. In the opposite case (lambda lower than 1.E-13), the calculation was stopped with numerical error.
This problem was not detected with the version 11.6.
i hope that you have an explanation about that. Thank you

Offline

Board footer