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

the problem of my transient simulation "Floating point exception: Overflow "

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

Like Tree3Likes
  • 3 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2011, 22:55
Default the problem of my transient simulation "Floating point exception: Overflow "
  #1
New Member
 
GARY JANE
Join Date: Nov 2010
Posts: 11
Rep Power: 15
alloveyou is on a distinguished road
Hi all, I started one transient simulation of cavitation in a turbine by using a steady state simulation as the initial guess. The transient simulaiton is based on the steady state simulation and I only change the steady items to the transient items.
When i start transient simulation and in the first time step it stoped at the 6 COEFFICIENT LOOP ITERATION and the mistake showed below:

COEFFICIENT LOOP ITERATION = 6 CPU SECONDS = 1.773E+03
----------------------------------------------------------------------
| Equation | Rate | RMS Res | Max Res | Linear Solution |
+----------------------+------+---------+---------+------------------+
| U-Mom-Bulk | 1.37 | 5.4E-03 | 2.0E-01 | 3.9E-02 OK|
| V-Mom-Bulk | 1.41 | 5.5E-03 | 2.6E-01 | 2.3E-02 OK|
| W-Mom-Bulk | 2.75 | 2.7E-03 | 8.1E-02 | 3.2E-02 OK|
| P-Vol |11.96 | 2.1E-03 | 2.5E-01 | 29.1 8.7E-02 OK|
+----------------------+------+---------+---------+------------------+
+--------------------------------------------------------------------+
| ****** Notice ****** |
| A wall has been placed at portion(s) of an OUTLET |
| boundary condition (at 0.9% of the faces, 0.2% of the area) |
| to prevent fluid from flowing into the domain. |
| The boundary condition name is: OUTLET. |
| The fluid name is: vaporair. |
| If this situation persists, consider switching |
| to an Opening type boundary condition instead. |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| ****** Notice ****** |
| A wall has been placed at portion(s) of an OUTLET |
| boundary condition (at 0.9% of the faces, 0.2% of the area) |
| to prevent fluid from flowing into the domain. |
| The boundary condition name is: OUTLET. |
| The fluid name is: liquidair. |
| If this situation persists, consider switching |
| to an Opening type boundary condition instead. |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| ****** Notice ****** |
| A wall has been placed at portion(s) of an INLET |
| boundary condition (at 100.0% of the faces, 100.0% of the area) |
| to prevent fluid from flowing out of the domain. |
| The boundary condition name is: inlet. |
| The fluid name is: vaporair. |
| If this situation persists, consider switching |
| to an Opening type boundary condition instead. |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| ****** Notice ****** |
| A wall has been placed at portion(s) of an INLET |
| boundary condition (at 100.0% of the faces, 100.0% of the area) |
| to prevent fluid from flowing out of the domain. |
| The boundary condition name is: inlet. |
| The fluid name is: liquidair. |
| If this situation persists, consider switching |
| to an Opening type boundary condition instead. |
+--------------------------------------------------------------------+
| Mass-liquidair | 1.16 | 4.8E-03 | 2.7E-01 | 6.1 8.6E-03 OK|
+----------------------+------+---------+---------+------------------+
| H-Energy-vaporair |11.14 | 1.4E-01 | 5.3E+00 | 1.5E-06 OK|
| H-Energy-liquidair | 1.32 | 1.1E-01 | 3.2E+00 | 6.1 3.6E-03 OK|
+----------------------+------+---------+---------+------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Floating point exception: Overflow |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine C_FPX_HANDLER: |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+

Besides, I have changed many things including timesteps, boundary conditions, turblence model and transient scheme, but it still don't convergence.

Now I'm confused and anyone can help me and give me some advice?
If need message in detail please contact with me.
Thank you very much!
alloveyou is offline   Reply With Quote

Old   October 3, 2011, 05:29
Default -
  #2
New Member
 
Liam
Join Date: May 2011
Posts: 6
Rep Power: 15
Liam is on a distinguished road
I had a similar 'overflow' error in a completely different simulation when I'd made a mistake in the setup and an incredibly large number resulted while it was being solved.

I would say your problem is in the setup stage somewhere, sorry I can't be more specific.
Liam is offline   Reply With Quote

Old   October 3, 2011, 10:16
Default
  #3
Member
 
anonymous
Join Date: Jun 2011
Posts: 58
Rep Power: 15
Doginal is on a distinguished road
Read the notices that have come up.

You have flow trying to enter at a place where you have an outlet boundary condition and you have flow trying to leave where you have an inlet condition. The inlet is most significant considering 100% of that boundary the flow is trying to leave.
This is what is probably causing the error. When flow tries to go through a portion of a boundary in the wrong way (out an inlet or in an outlet) it treats that portion as a wall and just stops the flow from happening. This notice is usually seen when people specify an outlet in an area where recirculation is occurring.
In your case 100% of the inlet is seeing flow trying to leave that boundary. My first guess is that you have an error with your boundary conditions. Check the following
- If you specify an inlet velocity, check if it should be negative or positive
- If you specify a momentum source, check if it should be negative or positive
- Check your boundary conditions at the correct boundary (make sure you didn't put your inlet at your outlet or something like that)

I'm fairly certain it is just a error in boundary conditions but if not, you may want to then look at a slightly different meshing strategy, or at least that's what I would do.

Thank You,

DM
Doginal is offline   Reply With Quote

Old   October 3, 2011, 22:35
Default
  #4
New Member
 
GARY JANE
Join Date: Nov 2010
Posts: 11
Rep Power: 15
alloveyou is on a distinguished road
Quote:
Originally Posted by Liam View Post
I had a similar 'overflow' error in a completely different simulation when I'd made a mistake in the setup and an incredibly large number resulted while it was being solved.

I would say your problem is in the setup stage somewhere, sorry I can't be more specific.
Thank you,liam.
I have checked the setup stage several times and changed a lot, but I still didn't get the correct solver.
alloveyou is offline   Reply With Quote

Old   October 3, 2011, 22:41
Default
  #5
New Member
 
GARY JANE
Join Date: Nov 2010
Posts: 11
Rep Power: 15
alloveyou is on a distinguished road
Quote:
Originally Posted by Doginal View Post
Read the notices that have come up.

You have flow trying to enter at a place where you have an outlet boundary condition and you have flow trying to leave where you have an inlet condition. The inlet is most significant considering 100% of that boundary the flow is trying to leave.
This is what is probably causing the error. When flow tries to go through a portion of a boundary in the wrong way (out an inlet or in an outlet) it treats that portion as a wall and just stops the flow from happening. This notice is usually seen when people specify an outlet in an area where recirculation is occurring.
In your case 100% of the inlet is seeing flow trying to leave that boundary. My first guess is that you have an error with your boundary conditions. Check the following
- If you specify an inlet velocity, check if it should be negative or positive
- If you specify a momentum source, check if it should be negative or positive
- Check your boundary conditions at the correct boundary (make sure you didn't put your inlet at your outlet or something like that)

I'm fairly certain it is just a error in boundary conditions but if not, you may want to then look at a slightly different meshing strategy, or at least that's what I would do.

Thank You,

DM
Thank you,Doginal.
I set the boundary condition like this: inlet: Total pressure and Total temperature;outlet: static pressure.
I also changed the mesh like increase or decrease the mesh.
But it still didn't work.
What i wondered is that if it is the problem of boundary condition or mesh ,why the steady can be simulated and the transient can't...
alloveyou is offline   Reply With Quote

Old   October 3, 2011, 23:52
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error you are getting is typical of a big numerical divergence. Assuming the problem setup is correct (ie inlet pressure higher than outlet), then you need to improve the numerical stability of the simulation. In this case where you are restarting from a steady state run I suggest using a much smaller timestep is recommended. Also double precision numerics is highly recommended for cavitation due to the large pressure differences.
ghorrocks is offline   Reply With Quote

Old   October 4, 2011, 12:14
Default
  #7
Member
 
anonymous
Join Date: Jun 2011
Posts: 58
Rep Power: 15
Doginal is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The error you are getting is typical of a big numerical divergence. Assuming the problem setup is correct (ie inlet pressure higher than outlet), then you need to improve the numerical stability of the simulation. In this case where you are restarting from a steady state run I suggest using a much smaller timestep is recommended. Also double precision numerics is highly recommended for cavitation due to the large pressure differences.
It just seems very odd that all the flow is trying to exit the inlet and that's what leads me to believe its a CFX-Pre error in boundary conditions.

You mention that your using total pressure and static pressure to define your inlet/outlet. Make sure its not set up so that your static pressure is higher than the defined total pressure.

Also try running the simulation to a point that you know it wont crash yet (so only a couple timesteps) or even stop it and look after you do a steady state simulation. Look at the pressure profiles and velocity and make sure the flow is doing what you expect.
Doginal is offline   Reply With Quote

Old   October 4, 2011, 17:42
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can get weird reverse flow like this even when the pressure difference is correct when the simulation is diverging badly. So if you reckon the BC setup is correct then it probably is a convergence problem.

As I said, I recommend using far smaller timesteps and double precision numerics as that may help the convergence.
Mina_Shahi, BopuZ and will321321 like this.
ghorrocks is offline   Reply With Quote

Old   October 6, 2011, 11:33
Default
  #9
New Member
 
GARY JANE
Join Date: Nov 2010
Posts: 11
Rep Power: 15
alloveyou is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You can get weird reverse flow like this even when the pressure difference is correct when the simulation is diverging badly. So if you reckon the BC setup is correct then it probably is a convergence problem.

As I said, I recommend using far smaller timesteps and double precision numerics as that may help the convergence.
Thank you very much,ghorrocks!
I have checked the inlet and outlet boundary conditions,and I think it's right and can simulate under the steady condition.Here, you mentioned the "double precision numerics", I don't know what it specifically means and how to set it.Does it set in the solver?
Thank you!
alloveyou is offline   Reply With Quote

Old   October 6, 2011, 18:17
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Look at the solver manager when you define a run, under advanced.
ghorrocks is offline   Reply With Quote

Old   January 26, 2012, 14:54
Default
  #11
New Member
 
rahpoo
Join Date: Apr 2011
Posts: 3
Rep Power: 15
rahpooye313@yahoo.com is on a distinguished road
change "outlet" boundary type to "Opening" boundary type with same condition.
(Opening/opening outlet)
rahpooye313@yahoo.com is offline   Reply With Quote

Old   February 7, 2012, 22:39
Default Floating point error
  #12
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 body help me. My email is sheikhnasir39@gmail.com
thanks
sheikh nasir is offline   Reply With Quote

Old   February 7, 2012, 23:30
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,830
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Do a search on the forum for floating point error - there are lots of posts on this and what to do. When I get time I will write an FAQ on it.
ghorrocks is offline   Reply With Quote

Old   February 12, 2012, 06:12
Default
  #14
New Member
 
smith
Join Date: Feb 2012
Posts: 2
Rep Power: 0
coolguys is on a distinguished road
Dear ghorrocks, I got the floating point overflow error, than i reduce the physical time scale up to 0.0002 sec. and select the " Double precision" but still I have confusion is that select only double precision or also select double precision with override . please reply me.

Last edited by coolguys; February 12, 2012 at 06:35.
coolguys is offline   Reply With Quote

Old   November 22, 2012, 10:35
Default
  #15
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The error you are getting is typical of a big numerical divergence. Assuming the problem setup is correct (ie inlet pressure higher than outlet), then you need to improve the numerical stability of the simulation. In this case where you are restarting from a steady state run I suggest using a much smaller timestep is recommended. Also double precision numerics is highly recommended for cavitation due to the large pressure differences.

Hi Glenn

I have the same problem i switched to double precision, i used smaller time step, they helped to have better convergence but still i get this message

--------------------------------------------------------------------+
| ****** Notice ****** |
| A wall has been placed at portion(s) of an OUTLET |
| boundary condition (at 100.0% of the faces, 100.0% of the area) |
| to prevent fluid from flowing into the domain. |
| The boundary condition name is: Outlet_Air. |
| The fluid name is: Fluid 1. |
| If this situation persists, consider switching |
| to an Opening type boundary condition instead.

switching to opening boundary condition won't work because we shouldn't have back flow. What do you suggest? Can be the mesh causing the problem?
Mina_Shahi is offline   Reply With Quote

Old   November 22, 2012, 11:14
Default
  #16
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
You might have placed your boundary condition near a recirculating region. Save a backup file and check the flow near the outlet region.

The CFX documentation has guidelines for correctly placing an outlet boundary condition in your domain. Search the documentation for 'Using Inlets, Outlets and Openings' and look at the explanation under 'Openings'. You'll see a comparison of bad, better and ideal locations for placing your outlet region.

Cheers
brunoc 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
ERROR: Floating point exception: Overflow Elisabetta CFX 23 July 14, 2018 06:57
Problem with transient simulation (icoFoam) skabilan OpenFOAM Running, Solving & CFD 20 June 18, 2014 11:36
mass balance problem in transient simulation nana84 CFX 2 April 15, 2010 19:53
Floating point exception: Overflow? mike CFX 4 December 15, 2009 17:30
Charts for transient simulation Anurag CFX 2 March 28, 2005 12:09


All times are GMT -4. The time now is 23:42.