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

Floating point exception?

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

Like Tree7Likes
  • 2 Post By J. McKelliget
  • 4 Post By chngyian
  • 1 Post By Rockfeaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2000, 07:15
Default Floating point exception?
  #1
Ricky Wong
Guest
 
Posts: n/a
Hello,

I'm trying to model a plain underexpanded jet (still), and I can't get the iterations started. Fluent keeps coming back with floating point exception, (underflow). I don't know what it's complaining about!.

I've tried reducing the skewness, checked the grid, re-entered the boundary conditions (trying to start off with a jet at a very low NPR, without turbulence), no joy.. am I grasping at straws or is it something blindingly obvious?

please help

Thanks
  Reply With Quote

Old   February 23, 2000, 09:59
Default Re: Floating point exception?
  #2
J. McKelliget
Guest
 
Posts: n/a
Your model is diverging.

The underexpanded jet is almost impossible to converge using Fluent.

Make sure you are using the coupled solver, and maybe some kind of initial guess.

  Reply With Quote

Old   February 23, 2000, 12:21
Default Re: Floating point exception?
  #3
LW
Guest
 
Posts: n/a
Can you explain "Underexpanded Jet"? Thanks!
  Reply With Quote

Old   February 23, 2000, 14:11
Default Re: Floating point exception?
  #4
J. McKelliget
Guest
 
Posts: n/a
Underexpanded jet = a compressible gas flow where the pressure in the jet is substantially higher than the pressure of the region into which it is discharging - leads to lots of shock and expansion waves etc
  Reply With Quote

Old   February 23, 2000, 14:27
Default Re: Floating point exception?
  #5
John C. Chien
Guest
 
Posts: n/a
(1). That's right. (2). Or, (p,ambient/ p,jet exit) < 1. (3). (p,jet exit) is the nozzle exit pressure but still inside the nozzle. (4). Further expansion will occur in the jet, downstream of the nozzle exit, until the pressure at the boundary of the jet matches the ambient pressure. In between, shocks and expansion waves will form in the jet (or plume).
  Reply With Quote

Old   February 24, 2000, 06:48
Default Re: Floating point exception?
  #6
Ricky Wong
Guest
 
Posts: n/a
Thanks,

Managed to get the model started, stripped it down completely to a laminar, incompressible flow at a very low NPR to begin with and gradually increased the NPR as the solution progressed.

  Reply With Quote

Old   February 24, 2000, 22:06
Default Re: Floating point exception?
  #7
Sung-Eun Kim
Guest
 
Posts: n/a
Have you tried to patch a non-zero initial guess for the velocity field ? Please contact your support engineer if the problem doesn't go away.
  Reply With Quote

Old   February 25, 2000, 11:39
Default Re: Floating point exception?
  #8
Ricky Wong
Guest
 
Posts: n/a
Thanks for the reply

Non-zero intial guesses also prompted the error, It wasn't until I took stripped down the model that it was able to start. Unfortunately I don't think I have a support engineer, I'm a post-grad and the University has an academic license to which I am not the primary licence holder, queries to fluent (europe) support are very slow in replying (if at all) because an academic license is has low priority. Hence I look to the fluent forum for possible help.
  Reply With Quote

Old   February 7, 2012, 23:31
Default Floating point error.
  #9
Member
 
Join Date: Jan 2012
Posts: 58
Rep Power: 14
sheikh nasir is on a distinguished road
Hello.
I am getting floating point error:invalid number in my thesis. Ie train moving in tunnel. Can any help me. My email is sheikhnasir39@gmail.com
thanks
sheikh nasir is offline   Reply With Quote

Old   February 15, 2014, 23:49
Default
  #10
New Member
 
Chng
Join Date: Jul 2012
Posts: 6
Rep Power: 13
chngyian is on a distinguished road
One reason could be that the factors are over-relaxed. So if you are confident that BCs, model and solver are appropriate, try reducing the relaxation factor in solution control.
chngyian is offline   Reply With Quote

Old   September 8, 2016, 03:44
Default
  #11
Member
 
Omid Shekari
Join Date: Jun 2016
Posts: 43
Rep Power: 9
Omish is on a distinguished road
Quote:
Originally Posted by Ricky Wong
;93808
Thanks,

Managed to get the model started, stripped it down completely to a laminar, incompressible flow at a very low NPR to begin with and gradually increased the NPR as the solution progressed.
What does NOR stand for?
Omish is offline   Reply With Quote

Old   September 8, 2016, 03:46
Default
  #12
Member
 
Omid Shekari
Join Date: Jun 2016
Posts: 43
Rep Power: 9
Omish is on a distinguished road
Quote:
Originally Posted by Ricky Wong
;93808
Thanks,

Managed to get the model started, stripped it down completely to a laminar, incompressible flow at a very low NPR to begin with and gradually increased the NPR as the solution progressed.
What does NPR stand for?
Omish is offline   Reply With Quote

Old   June 15, 2017, 03:31
Default species transport model
  #13
New Member
 
Niaz
Join Date: May 2017
Location: islamabad
Posts: 11
Rep Power: 8
niazgdc is on a distinguished road
Quote:
Originally Posted by Omish View Post
What does NPR stand for?
i have the following error in my simulation, kindly if u hav any remedy,post it
# Divergence detected in AMG solver: pressure correction -> Turning off correction scaling!
# Divergence detected in AMG solver: pressure correction -> Increasing relaxation sweeps!
# You may try the enhanced divergence recovery with (rpsetvar 'amg/protective-enhanced? #t)

Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: pressure correction
Divergence detected in AMG solver: pressure correction
Error at host: floating point exception

Error at Node 0: floating point exception

Error at Node 1: floating point exception

Error at Node 2: floating point exception

Error at Node 3: floating point exception

Error at Node 4: floating point exception

Error at Node 5: floating point exception

Error: floating point exception

Error Object: #f
niazgdc is offline   Reply With Quote

Old   August 29, 2018, 02:40
Default Pemfc single channel counter current
  #14
New Member
 
waqas ahmad
Join Date: Aug 2018
Posts: 2
Rep Power: 0
AM5840691 is on a distinguished road
hI

i AM DOING CFD SIMULATION FOR SINGLE CHANNEL PROTON EXCHANGE MEMBRANE FUEL CELL.

I AM RECEVING """""" FLOAT POINT EXCEPTION ERROR """" DURING CALCULATIONS..

cAN ANYBODY HELP REGARDING THIS?? HOW CAN I FIX THIS?
AM5840691 is offline   Reply With Quote

Old   August 29, 2018, 02:40
Default
  #15
New Member
 
waqas ahmad
Join Date: Aug 2018
Posts: 2
Rep Power: 0
AM5840691 is on a distinguished road
I m also receving the same error.......
AM5840691 is offline   Reply With Quote

Old   September 5, 2018, 11:17
Default
  #16
New Member
 
Yury Voloshchuk
Join Date: Aug 2017
Posts: 2
Rep Power: 0
Rockfeaver is on a distinguished road
you may change your AMG solver settings:

go to Solution Controls --> Advanced

You may add Pre-Sweeps in both scalar and coupled parameters.
Also I advise to use ILU smothing.

Apart from that, you may change Cycle type for Flow, TKE, SDR, Enregy, and Radiation model to either V- or W-Cycle. Also you could add BCGSTAB Stabilization Method.

I advise you to use earlier Fluent version, such as 14.5, and do set ups and calculations there.

Be sure that you use the same fluent version all the time!

P.S.: if this doesn't work, try to do hybrid initialization without patching, and run couple of iterations with low URFs.

Hope it helped.
soheil_r7 likes this.
Rockfeaver is offline   Reply With Quote

Old   September 6, 2018, 05:16
Smile
  #17
New Member
 
Kaixin Wang
Join Date: Sep 2018
Posts: 2
Rep Power: 0
wkx410 is on a distinguished road
hello
I'm also doing simulations of underexpanded flows, so I've had a similar problem, and my solution is use Density-Based,formulation is implicit,Flux Type is AUSM,if caculate for short step,It will not be a problem.
wkx410 is offline   Reply With Quote

Old   January 22, 2019, 18:51
Default
  #18
New Member
 
Tatiana Flechas
Join Date: Sep 2017
Posts: 10
Rep Power: 8
tatiana33 is on a distinguished road
Hello,

Has anybody come across the reason and the possible alternatives to solve this issue?
I am working with P-based, mixture model and a UDRGM. I am obtaining this error since time step 1.

Any help will be greatly appreciated!
tatiana33 is offline   Reply With Quote

Old   March 28, 2020, 01:05
Default
  #19
New Member
 
Basil Varghese
Join Date: Feb 2020
Posts: 3
Rep Power: 6
BasilVarghese is on a distinguished road
I have been doing simulation on natural convection in heat sink in transient state.
I have given time step size as 5sec, no. Of time steps as 20,no.of iterations per time step as 50.
In monitors plot, I plotted static temperature on fin wall as convergence but even after 3000 iterations, temperature line is not becoming constant and residuals are also decreasing. No other divergence error occurs. But temperature graph is increasing steadily
How can i make it converge?
BasilVarghese is offline   Reply With Quote

Old   March 28, 2020, 16:32
Default Time-Step
  #20
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
The value of the time-step is critical in most of the transient simulations and need to be chosen properly. 5 s is a very very large value for time-step. Depending upon Gr number, it could be anything from around 0.1 s to all the way down to 1e-6 or even 1e-7 s. But 5 s is not possible. So, use such a time-step so that solution within every time-step converges in less than or equal to 30 iterations.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   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
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 17:34
reactingFoam floating point exception pajofego OpenFOAM 0 November 6, 2010 18:29
Cannot Open .sim (Floating Point Exception) trex930 STAR-CCM+ 1 July 30, 2010 07:51
floating point exception? syd STAR-CCM+ 3 April 20, 2010 19:55
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27


All times are GMT -4. The time now is 22:33.