CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Floating Point Error

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

LinkBack Thread Tools Display Modes
Old   May 17, 2007, 10:21
Default Floating Point Error
Posts: n/a
Hi, does anyone know what could be the cause of the following error?

Floating Point Error Error: > (greater-than): invalid argument [2]: wrong type [not a number] Error Object: 1.#inf

It occurs after several iterations, only with the density based solver, which is required for the simulation I'm running.

  Reply With Quote

Old   May 18, 2007, 02:21
Default Re: Floating Point Error
Posts: n/a
inf = infinite

This could mean that there is a variable value (for example temperature) which at the beginning of the calculus (that has been initialised very far from reality somewhere in the flow domain, for example, the flow over a bluff body, initialised using far-field conditions, resulting in high initial velocities in front and behind the body) grows exponentially (in the given example, if the initial velocity is high enough, in the first few iterations, the temp will grow rapidly due to the high compression of the gas against the bluff body's flat nose).

This is especially favorised by an aggresive solver like density-based sover, when using high CFL numbers at start. The simplest way to avoid this problem is to lower the Courant number to let's say CFL=0.5 for about 50 iterations, then increase it to CFL=1 and iterate for another 50 times, save the .dat, and if the solution is stable, double the CFL every 25 iterations or so. But do not go over CFL=20-25, that should be more than enough in most cases.

All the best, Razvan
  Reply With Quote

Old   May 18, 2007, 03:38
Default Re: Floating Point Error
Ralf Schmidt
Posts: n/a

look here:

  Reply With Quote

Old   May 18, 2007, 10:34
Default Re: Floating Point Error
Posts: n/a
thank you for your help!
  Reply With Quote


Thread Tools
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 On
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 18: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 120 December 2, 2009 11: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 17:25.