CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

InterFoam ending with Floating Point Exception

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2023, 20:01
Default InterFoam ending with Floating Point Exception
  #1
New Member
 
Mario Errico
Join Date: Oct 2016
Location: Rochester, NY
Posts: 2
Rep Power: 0
merrico3 is on a distinguished road
Hello all,
I am new to the forum and I have worked with openFoam for the last 2 months. I am running a transient multiphase simulation (interFoam11 under Ubuntu 22.04). The mesh is hand coded in 'blockMeshDict' using #calc to set up a parametric mesh for ease of cutomization. With a set of parameters interFoam runs fine in parallel but if I change just one parameter by a small amount interFoam crashes after running several steps with the Floating Point Exception. I used 'checkMesh' and it gives the OK. I understand that this error is probably due to a division by zero and that faulty BCs can be a cause. I have also tried using OF10 but I get the same error at approximately the same time step. I was wondering if there is a way to pinpoint the source of the error. Any help is greatly appreciated. As I am getting more familiar with the software I see myself helping out on the forum.
Thanks a lot,
Mario
merrico3 is offline   Reply With Quote

Old   September 21, 2023, 01:48
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
General troubleshooting:
1) visually check the created mesh, checkMesh is a hint, no guarantee
2) if 1) is ok, run again and let the solver put out results in the iteration(s) before the crash. Check the intermediate results for anything odd.
AtoHM is offline   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
icoFoam floating point exception (8) leizhao512 OpenFOAM Running, Solving & CFD 7 November 1, 2018 11:43
A floating point exception - SEM Model yansheng STAR-CCM+ 1 April 4, 2016 04:57
Floating point exception from twoPhaseEulerFoam openfoammaofnepo OpenFOAM Running, Solving & CFD 1 March 19, 2016 13:56
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 05:58
Floating point exception (core dumped) for GAMG solver yuhou1989 OpenFOAM Running, Solving & CFD 2 March 24, 2015 19:28


All times are GMT -4. The time now is 02:59.