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

No convergence; floating point exception all the time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2012, 18:16
Default No convergence; floating point exception all the time
  #1
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi foamers,

I am trying to solve my case for one week now. Its always the same. The first 20 iterations look very good and all residuals going down like you dream it in your sleeping time. The continuity error is going to zero and everything looks very very good. But suddenly I get a peak in the pressure residual and after that in U,k,epsilon,h till I get the floating point error:
Code:
[0] #1  Foam::sigFpe::sigHandler(int) in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2   in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3  Foam::hPsiThermo<Foam::pureMixture<Foam::sutherlandTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::calculate() in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
[0] #4  Foam::hPsiThermo<Foam::pureMixture<Foam::sutherlandTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::correct() in "/home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
[0] #5  
[0]  in "/home/shorty/OpenFOAM/shorty-2.1.x/platforms/linux64GccDPOpt/bin/scalarRhoSimpleFoam"
[0] #6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #7  
[0]  in "/home/shorty/OpenFOAM/shorty-2.1.x/platforms/linux64GccDPOpt/bin/scalarRhoSimpleFoam"
[cfd:28469] *** Process received signal ***
[cfd:28469] Signal: Floating point exception (8)
[cfd:28469] Signal code:  (-6)
[cfd:28469] Failing at address: 0x3e800006f35
[cfd:28469] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7f310e9b64c0]
[cfd:28469] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f310e9b6445]
[cfd:28469] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7f310e9b64c0]
[cfd:28469] [ 3] /home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so(_ZN4Foam10hPsiThermoINS_11pureMixtureINS_19sutherlandTransportINS_12specieThermoINS_12hConstThermoINS_10perfectGasEEEEEEEEEE9calculateEv+0x2be) [0x7f3111ffbd4e]
[cfd:28469] [ 4] /home/shorty/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so(_ZN4Foam10hPsiThermoINS_11pureMixtureINS_19sutherlandTransportINS_12specieThermoINS_12hConstThermoINS_10perfectGasEEEEEEEEEE7correctEv+0x32) [0x7f31120025a2]
[cfd:28469] [ 5] scalarRhoSimpleFoam() [0x41849b]
[cfd:28469] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f310e9a176d]
[cfd:28469] [ 7] scalarRhoSimpleFoam() [0x41c5cd]
[cfd:28469] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 28469 on node cfd exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
I tried around with the mesh (created with sHM). CheckMesh is i.O. and no error occur.
I solve a diffuser geometry and the problem cells are the cells near the diffuser wall. I tried without layer and with layer. With layer the problem point is the end of the layer where it collapses (picture)...

I tried:

- without layer
- with layer
- refinement
- fvSchemes
- relaxFactors
- Solvers

is there anything I can do ?

Solver rhoSimpleFoam

With a lower velocity there is everything working
I have no more ideas.

Tobi
Attached Images
File Type: jpg Screen1.jpg (20.2 KB, 16 views)
File Type: jpg Screen2.jpg (20.1 KB, 24 views)
Tobi is offline   Reply With Quote

Old   September 19, 2012, 02:44
Default
  #2
Member
 
Join Date: Nov 2010
Posts: 62
Rep Power: 15
Doug68 is on a distinguished road
Read post 4 on this thread:

http://www.cfd-online.com/Forums/ope...y-i-think.html

Maybe it helps.
Doug68 is offline   Reply With Quote

Old   September 19, 2012, 04:01
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by Doug68 View Post
Read post 4 on this thread:

http://www.cfd-online.com/Forums/ope...y-i-think.html

Maybe it helps.

Hi thanks for that information.
You mean to scale it bigger, generate the mesh and scale it back.
Well I usually use that trick with very small geometry`s becouse therefor you get extreme small cells which do not pass the mesh criterion.

The trick bruno mentioned is good but is not working on my problem. But your post with the minRefinementCells is good to know. Thanks for that. I ll have a try on that


I read your thread till the end and wanna give you some info about your residuals in your thread


Tobi
Tobi 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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 09:48
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 16:34
Problem with FloatingObject Leech OpenFOAM Running, Solving & CFD 10 March 29, 2012 15:24
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Floating point exception during the initialisation Julie Polyakh FLUENT 1 January 6, 2004 23:07


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