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

Floating point exception

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By trex930

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2010, 16:34
Default Floating point exception
  #1
Member
 
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 16
robingilbert is on a distinguished road
Hello guys,

I am trying to run a simulation of a heatsource placed inside an airconditioned room. i used the rhoPimpleFoam solver. my mesh quality is good ( hexahedral meshes) and checkMesh showed no problems at all. but on running the simulation i am getting the following error:

Code:
rho max/min : 3 0.3
bounding p, min: -1e+06 max: 3e+06 average: 1e+05
DILUPBiCG:  Solving for epsilon, Initial residual = 0.9, Final residual = 9e-06, No Iterations 645
DILUPBiCG:  Solving for k, Initial residual = 1, Final residual = 1e-06, No Iterations 6
DILUPBiCG:  Solving for Ux, Initial residual = 0.9, Final residual = 0.04, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 1, Final residual = 0.02, No Iterations 2
DILUPBiCG:  Solving for Uz, Initial residual = 0.9, Final residual = 0.02, No Iterations 2
DILUPBiCG:  Solving for h, Initial residual = 0.1, Final residual = 0.003, No Iterations 2
#0  Foam::error::printStack(Foam::Ostream&) in "/home/robingilbert/OpenFOAM/robingilbert-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::sigFpe::sigFpeHandler(int) in "/home/robingilbert/OpenFOAM/robingilbert-1.6.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2  ?? in "/lib/libc.so.6"
#3  Foam::hPsiThermo<Foam::pureMixture<Foam::sutherlandTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::calculate() in "/home/robingilbert/OpenFOAM/robingilbert-1.6.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"
#4  Foam::hPsiThermo<Foam::pureMixture<Foam::sutherlandTransport<Foam::specieThermo<Foam::hConstThermo<Foam::perfectGas> > > > >::correct() in "/home/robingilbert/OpenFOAM/robingilbert-1.6.x/lib/linux64GccDPOpt/libbasicThermophysicalModels.so"
#5  main in "/home/robingilbert/OpenFOAM/robingilbert-1.6.x/applications/bin/linux64GccDPOpt/rhoPimpleFoam"
#6  __libc_start_main in "/lib/libc.so.6"
#7  _start at /build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:116
Floating point exception
please help me solve this problem
robingilbert is offline   Reply With Quote

Old   April 19, 2010, 03:56
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Hi,

It§s pretty easy. The SutherlandTransport routine in function calculate and correct is dividing by zero, which is not allowed in this solar system. To avoid legal consequences, the program crashed. I guess you are running with pressure or temperature to nonphysical values either caused by wrong BCs or initials. I would set all the thermo properties constant to see what is going on and turn the sutherland back later.

more info about the crash info is here.


good luck
matej
matejfor is offline   Reply With Quote

Old   April 21, 2010, 21:55
Default
  #3
Member
 
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 16
robingilbert is on a distinguished road
thank you,

I figured out the problem.... i had given a non-physical value which caused the problem... thanks for helping me out.
robingilbert is offline   Reply With Quote

Old   June 24, 2010, 04:52
Default
  #4
Member
 
Join Date: Jun 2010
Posts: 33
Rep Power: 16
trex930 is on a distinguished road
Hey robingilbert,

How did you manage to fix it? I have been playing around with my boundary conditions, and this thing keeeeeps on popping up. Which condition did you change that made it work? was it in the Pressure file?

T
trex930 is offline   Reply With Quote

Reply

Tags
floating point error


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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 22:51
The infamous floating point exception thekay OpenFOAM 7 August 14, 2012 03:01
floating point exception? syd STAR-CCM+ 3 April 20, 2010 19:55
Floating point exception error with small DeltaT rassilon OpenFOAM Running, Solving & CFD 19 September 2, 2009 08:39
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27


All times are GMT -4. The time now is 12:53.