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

Floating point exception

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

Like Tree1Likes
  • 1 Post By trex930

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2010, 15:34
Default Floating point exception
  #1
Member
 
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 7
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, 02:56
Default
  #2
Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 91
Rep Power: 8
matejfor is on a distinguished road
Hi,

Its 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, 20:55
Default
  #3
Member
 
Robin Gilbert
Join Date: Jan 2010
Posts: 66
Rep Power: 7
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, 03:52
Default
  #4
Member
 
Join Date: Jun 2010
Posts: 33
Rep Power: 7
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The infamous floating point exception thekay OpenFOAM 7 August 14, 2012 02:01
Floating point exception error Alan OpenFOAM Running, Solving & CFD 10 April 6, 2012 14:02
floating point exception? syd STAR-CCM+ 3 April 20, 2010 18:55
Floating point exception error with small DeltaT rassilon OpenFOAM Running, Solving & CFD 19 September 2, 2009 07:39
Gmsh and samplesurface touf Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 December 10, 2007 03:27


All times are GMT -4. The time now is 16:15.