|
[Sponsors] |
September 6, 2015, 19:15 |
icoFoam floating point exception (8)
|
#1 | |
New Member
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 11 |
Hi, everyone. I was quite new to openFoam. I am simulating a cylindrical channel with a spiral spacer. It is a laminar flow since the inlet flow velocity is 2e-5m/s and the Re is 1.2. I initially was using Fluent and it the results were good. Then I want to use icoFoam. The mesh I was using in openFoam was converted from a Fluent mesh, and by checking mesh, it said OK. I am using the time step of 10s, which is exactly same with what I was using in Fluent. However, the solution always diverge and gave me an error of "floating point exception (8)". Besides, the Courant number kept increasing. Can anybody help me with this?
Thank you. The error message is like this: Quote:
|
||
September 6, 2015, 19:18 |
case file
|
#2 | |
New Member
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 11 |
I also uploaded my case file without mesh file as the mesh file is too large.
The log file is: Quote:
|
||
September 7, 2015, 00:28 |
|
#3 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
what if you reduce your time step?
|
|
September 7, 2015, 10:40 |
|
#4 |
New Member
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 11 |
||
September 7, 2015, 13:27 |
|
#5 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
What if you reduce the time step even lower ? I guess in Fluent you have an adaptative time step, something you don't have with icoFoam, so probably when you say 10s time step in Fluent, it is not exactly the time stepd used during simulation.
If the error persists, I will say something is wrong in your boundary condition set up. |
|
September 10, 2015, 12:36 |
|
#6 | |
New Member
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 11 |
Quote:
Then I tried to use simpleFoam to simulate the case because I have proved that it was steady state case using Fluent. The case could be converged in the first 400 iterations. However, if I just copy the solution of simpleFoam to icoFoam as the initial condition, and the schemes and linear solvers are same, the icoFoam case will still be divergent in 100 time steps. |
||
September 10, 2015, 16:33 |
|
#7 |
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 220
Rep Power: 19 |
You need to restrict the Courant number in icoFoam. You can do this as suggested by decreasing the time step manually, or you can implement an adjustable time step with a maximum specified Courant number. You can add the following to the controlDict file...
Code:
adjustTimeStep true; maxCo 1.0; |
|
November 1, 2018, 12:43 |
|
#8 | |
Senior Member
Join Date: Jan 2012
Posts: 197
Rep Power: 14 |
Hi Lei
Have you figured out what kind of problems could trigger "floating point exception (8)"? I had the same problem recently. I don't think it's about dividing by 0. Many thanks Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception (core dumped) for GAMG solver | yuhou1989 | OpenFOAM Running, Solving & CFD | 2 | March 24, 2015 20:28 |
Inlet Velocity Profile BC - Floating Point exception during solution initialization | Janshi | STAR-CCM+ | 4 | March 14, 2012 11:21 |
simpleFoam Floating point exception error -help | sudhasran | OpenFOAM Running, Solving & CFD | 3 | March 12, 2012 17:23 |
Pipe flow in settlingFoam floating point exception | jochemvandenbosch | OpenFOAM Running, Solving & CFD | 4 | February 16, 2012 04:24 |
block-structured mesh for t-junction | Robert@cfd | ANSYS Meshing & Geometry | 20 | November 11, 2011 05:59 |