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

Divide by zero = printStack ?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 12, 2010, 03:17
Default Divide by zero = printStack ?
  #1
Senior Member
 
Rickard
Join Date: May 2010
Location: Lund, Skåne, Sweden
Posts: 143
Rep Power: 7
Rickard.Solsjo is on a distinguished road
Obviously Im dividing by zero

[13] #0 Foam::error:rintStack(Foam::Ostream&) in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libOpenFOAM.so"
[13] #1 Foam::sigFpe::sigFpeHandler(int) in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libOpenFOAM.so"
[13] #2 __restore_rt at sigaction.c:0
[13] #3 pow.L in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64IccDPOpt/dieselFoam"
[13] #4 Foam::RanzMarshall::Nu(double, double) const in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #5 Foam::RanzMarshall::relaxationTime(double, double, double, double, double, double) const in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #6 Foam:arcel::setRelaxationTimes(int, double&, Foam::Field<double>&, double&, Foam::Field<double>&, Foam::spray const&, double, Foam::Vector<double> const&, double, double, Foam::Field<double> const&, Foam::Field<double> const&, double) in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #7 Foam:arcel::move(Foam::spray&) in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #8 Foam::spray::inject() in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #9 Foam::spray::evolve() in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libdieselSpray.so"
[13] #10 main in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64IccDPOpt/dieselFoam"
[13] #11 __libc_start_main in "/lib64/libc.so.6"
[13] #12 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64IccDPOpt/dieselFoam"
[mn044:25733] *** Process received signal ***
[mn044:25733] Signal: Floating point exception (8)
[mn044:25733] Signal code: (-6)
[mn044:25733] Failing at address: 0x8b400006485
[mn044:25733] [ 0] /lib64/libc.so.6 [0x34666302d0]
[mn044:25733] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3466630265]
[mn044:25733] [ 2] /disk/global/szrobi/OpenFOAM/OpenFOAM-1.6.x/lib/linux64IccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 3b) [0x2ad76b2e02

how do I come around this ?
thx
R
Rickard.Solsjo is offline   Reply With Quote

Old   August 12, 2010, 03:25
Default
  #2
Member
 
Rasoul
Join Date: Feb 2010
Posts: 32
Rep Power: 7
aut_iut is on a distinguished road
Hi Rickard,

see following link. Maybe it helps you!

http://openfoamwiki.net/index.php/HowTo_debugging

Regards,
Rasoul
aut_iut is offline   Reply With Quote

Reply

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
Manually divide sub-domain for parallel computing duongquaphim OpenFOAM Meshing & Mesh Conversion 10 November 29, 2012 03:11
floating point error: divide by zero John Peterandrews FLUENT 7 February 8, 2012 01:48
[ICEM] divide a cube into 6 pyramid ali987 ANSYS Meshing & Geometry 1 December 24, 2009 12:30
how to divide domain? manish Phoenics 0 May 10, 2006 02:25
Floating point error: divide by zero Chris FLUENT 2 April 15, 2005 02:33


All times are GMT -4. The time now is 17:51.