CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Floating point error (https://www.cfd-online.com/Forums/fluent/44594-floating-point-error.html)

sangeeta May 4, 2007 04:02

Floating point error
 
After 150+ iterations, iterations stops and gives an error FLOATING POINT ERROR :INVALID NUMBER

What does this indicate? Plz let me know Thanks

H.A.S May 4, 2007 05:18

Re: Floating point error
 
The errors that are either because of invalid numeric computation initiated by you or limitation of ur pc or u have a data with small or large magbitude . i dont know what ur cases but these are the answers for ur questions i guess .


Ralf Schmidt May 4, 2007 05:26

Re: Floating point error
 
Hi,

look at:

http://www.cfd-online.com/Wiki/Fluen..._I_avoid_it.3F

Ralf

sangeeta May 4, 2007 07:16

Re: Floating point error
 
Thanks,H.A.S. i wll chck

Phil May 4, 2007 09:16

Re: Floating point error
 
If that doesn't work try changing the number type(REAL,INT,etc) on any udf you may have to a better description. Probably FLOAT to DOUBLE. I think that was the error message I got when I had written a udf slightly wrong.

Sangeeta May 6, 2007 01:52

Re: Floating point error
 
Phil, I change the type also. But still gives error


Sangeeta May 6, 2007 02:07

Re: Floating point error
 
Thanks Ralf, Error problem got solved

Phil May 6, 2007 07:55

Re: Floating point error
 
I've had this problem before but don't know if it's for the same reason as you and can't really remember how I fixed it but - There are afew good udf examples in the udf user guide. If you rummage through them and find one with similar numbers/structure/commands then comparing them usually fixes any problems.

IF YOU CAN'T FIND ANYTHING YOU SHOULD PASTE THE CODE ONTO A MESSAGE, THERE'S LOTS OF PEOPLE READING WHO HAVE HAD SIMILAR PROBLEMS AND MAY BE ABLE TO SUGGEST A SOLUTION.


All times are GMT -4. The time now is 17:45.