CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Floating point error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2007, 04:02
Default Floating point error
  #1
sangeeta
Guest
 
Posts: n/a
After 150+ iterations, iterations stops and gives an error FLOATING POINT ERROR :INVALID NUMBER

What does this indicate? Plz let me know Thanks
  Reply With Quote

Old   May 4, 2007, 05:18
Default Re: Floating point error
  #2
H.A.S
Guest
 
Posts: n/a
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 .

  Reply With Quote

Old   May 4, 2007, 05:26
Default Re: Floating point error
  #3
Ralf Schmidt
Guest
 
Posts: n/a
Hi,

look at:

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

Ralf
  Reply With Quote

Old   May 4, 2007, 07:16
Default Re: Floating point error
  #4
sangeeta
Guest
 
Posts: n/a
Thanks,H.A.S. i wll chck
  Reply With Quote

Old   May 4, 2007, 09:16
Default Re: Floating point error
  #5
Phil
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   May 6, 2007, 01:52
Default Re: Floating point error
  #6
Sangeeta
Guest
 
Posts: n/a
Phil, I change the type also. But still gives error

  Reply With Quote

Old   May 6, 2007, 02:07
Default Re: Floating point error
  #7
Sangeeta
Guest
 
Posts: n/a
Thanks Ralf, Error problem got solved
  Reply With Quote

Old   May 6, 2007, 07:55
Default Re: Floating point error
  #8
Phil
Guest
 
Posts: n/a
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.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 17:43
Problem with UDF compiling for kTkLW model Wantami FLUENT 0 July 18, 2011 05:11
Accessing phi from a fvPatchField at same patch johndeas OpenFOAM 1 September 13, 2010 20:23
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 14:18.