CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Arithmetic exception

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

LinkBack Thread Tools Display Modes
Old   July 16, 2014, 05:52
Default Arithmetic exception
New Member
Join Date: Jul 2014
Posts: 5
Rep Power: 5
Jalued is on a distinguished road
For some reason, I am continuing to receive an "Arithmetric exception" error message when I attempt to run any 2D simulation after importing from Pointwise. In order to find the culprit I have gone to the simplest case I could think of: a 2D simulation that mimics the 2DAirfoil tutorial but without the airfoil.

I used Pointwise to construct the parameters which consist of a box that was extruded by 0.05m and given a simple structured mesh, passing checkMesh with flying colours:

PHP Code:
Checking geometry...
Overall domain bounding box (1 1 0) (101 101 0.05)
Mesh (non-empty, non-wedgedirections (1 1 0)
Mesh (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (-3.46598e-21 3.46598e-21 9.19282e-15OK.
Max cell openness 1.08813e-16 OK.
Max aspect ratio 1 OK.
Minimum face area 0.0505051Maximum face area 1.0203.  Face area magnitudes OK.
Min volume 0.0510152Max volume 0.0510152.  Total volume 500.  Cell volumes OK.
Mesh non-orthogonality Max0 average0
-orthogonality check OK.
Face pyramids OK.
Max skewness 1.01608e-13 OK.
Coupled point location match (average 0OK.

Mesh OK
The 0 and system folders are identical to the 2DAirfoil except for the removal of the wall.

I ran the code through gdb simpleFoam and it exploded within the first iteration:

PHP Code:
smoothSolver:  Solving for UxInitial residual 0.343067, Final residual 1.85346e+13No Iterations 1000
:  Solving for UyInitial residual 0.00320924, Final residual 2.19375e+11No Iterations 1000
:  Solving for pInitial residual 1, Final residual 5.19741e+118No Iterations 1000
time step continuity errors 
sum local 2.01405e+117, global = 3.29242e+101cumulative 3.29242e+101

Program received signal SIGFPE
Arithmetic exception.
0x00007ffff4ab9575 in Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Fielddouble> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned charint) () from /opt/openfoam230/platforms/linux64GccDPOpt/lib/ 
I have no idea what could be wrong with this, as the 2DAirfoil example works perfectly and a similar "laminar flow through a straight pipe" Pointwise to OpenFoam tutorial also works with no issues.

I was unable to attach the pw file or constant folder due to space constraints

Attached Files
File Type: zip (4.0 KB, 0 views)
File Type: zip (3.9 KB, 0 views)
Jalued is offline   Reply With Quote


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
Help with solving floating point exception crash. rendagar Main CFD Forum 1 March 26, 2014 08:34
pimpleDyMFoam constantly giving floating point exception and solution divergence fedvasu OpenFOAM Running, Solving & CFD 0 November 28, 2013 01:53
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 16:34
reactingFoam floating point exception pajofego OpenFOAM 0 November 6, 2010 18:29
Cannot Open .sim (Floating Point Exception) trex930 STAR-CCM+ 1 July 30, 2010 06:51

All times are GMT -4. The time now is 10:19.