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

Floating point error?????

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By Ralf Schmidt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2004, 02:33
Default Floating point error?????
  #1
Kiran
Guest
 
Posts: n/a
When I try to run the simulation on a 2-D rocket nozzle, Fluent says "floating point exception (imprecise)".Does anybody know what that means? thanks in advance, -kiran
  Reply With Quote

Old   November 4, 2004, 02:46
Default Re: Floating point error?????
  #2
zxaar
Guest
 
Posts: n/a
it means we shall wish you best of luck. god knows the behaviour of fluent ..if u take this case to other machine this error might even go for the same case.
  Reply With Quote

Old   November 4, 2004, 02:57
Default Re: Floating point error?????
  #3
nabeel moshin
Guest
 
Posts: n/a
hi, you check meshing and bcs is not accurate nabeel
  Reply With Quote

Old   November 4, 2004, 05:53
Default Re: Floating point error?????
  #4
Ralf Schmidt
Guest
 
Posts: n/a
Hi,

wrong boundary condition definition might cause the floating point error. For example setting an internal boundary as interior.

Another reason could be a to high courant number - that means, that the steps between two iterations are too large and the change in the results is too large as well (high residuals).

Once I had the problem, simulating a 2D chamber with a symmetry BC. I set the symmetry somewhere as "axe symmetric" and the floating point error occur.

Ralf
  Reply With Quote

Old   November 4, 2004, 09:53
Default Re: Floating point error?????
  #5
Ralf Schmidt
Guest
 
Posts: n/a
Hi, its me again!

The floating point error has been reported many times and discussed a lot. Here are some of the answers I found in the fluent Forum:

SOLVER AND ITERATION -----"I think if you set shorter time step, it may be good. Or changing little Under-Relaxiation-Factors, it may be good. In my experience, I set 1/3 Under-Relaxiation-Factors as default." -----"also lower the values of under relaxation factor and use the coupled implicit solver" -----"Try to change under-relaxation factors and if it is unsteady problem maybe time step is to large." -----"you can improve the ratio in the solve--control--limits, maybe that can help." -----"you will need to decrease the Courant number" -----"If you still get the error, initialize the domain with nothing to 'Compute from...' Then click 'init'. Again select the surface from which you want to compute the initial values & iterate. This should work." -----"Another reason could be a to high courant number - that means, that the steps between two iterations are too large and the change in the results is too large as well (high residuals)"

GRID PROBLEMS -----"this error comes when I start scaling grid. in gambit, all my dimension is in mm, when in fluent i convert it in meter using buttone SCALE. after it, when i iterate, about hundred iteration, this error appeared. but when i not scale my drawing to m...and let it be as in gambit..then the iteration is success. -----"hi I think you should check your mesh grid mesh is very high. your problem solve by selection a low mesh." -----"Your mesh is so heavy that your computers resources are not enough. try to use coarser mesh."

BOUNDARY CONDITIONS -----"In my case I had set a wall boundary condition instead of an axis boundary condition and then FLuent refuses to calculate telling me 'floating point error'." -----"Your Boudary Conditions do not represent real physis." -----"wrong boundary condition definition might cause the floating point error. For example setting an internal boundary as interior" -----"Once I had the problem, simulating a 2D chamber with a symmetry BC. I set the symmetry somewhere as "axe symmetric" and the floating point error occur" -----"check the turbulence parameter you set. reduce the turbulence intensity to less that one for first, say 50 iterations.

USING A UDF -----"What I mean is really often when people creates UDF they generally forget that for the first iteration some variable can be zero. Therefore if you are divided a number by zero your solver will blow up telling you 'non floating error'. 'non' means 'not a number'. Depending on your UDF this kind of error does not effectively happens at the first iteration. An example, if you are simulated a domain with a stagnant water as initial condition and you are calculated for the first iteration something like 1/Re therefore lets call it BOOM !!! because Re=0 . To find this kind of think there a simple way : reread your UDF."

MULTI PROCESSOR ISSUES -----"I've had similar problems recently with floating point errors on a multi processor simulation. The solution for my problem seems to be to run on a single processor, where it runs fine....?"

-
  Reply With Quote

Old   November 4, 2004, 19:09
Default Re: Floating point error?????
  #6
zxaar
Guest
 
Posts: n/a
about multiprocessor issue: i wi sh to say something here .. i also noticed that error on my two processor machien if i read the case in parallel fluent, while reading the mesh file ..but the same file is easily read by single processor fluent (or non parallel fluent) ...anyway i had to mesh that case 4-5 times and i kept on trying to import the mesh ..finally i was able to read it with same tricks (i have forgotten them) ... but it seems the problem was coming due to defination of a fluid zone (i mean i named one fluid zone ..so that i can use it with slidign mesh) .... in all double processor fluent has a problem ..
  Reply With Quote

Reply


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 00:35.