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

Floating point exception for GAMG solvers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2018, 05:32
Default Floating point exception for GAMG solvers
  #1
New Member
 
TongZhou
Join Date: Oct 2018
Posts: 1
Rep Power: 0
TongZhou is on a distinguished road
Hello everybody,

Could someone please help me to understand the reason for the error in my pimpleFoam -parallel run:

PIMPLE: iteration 1
DILUPBiCG: Solving for Ux, Initial residual = 0.0046852007, Final residual = 2.4125428e-07, No Iterations 12
DILUPBiCG: Solving for Uy, Initial residual = 0.031750788, Final residual = 3.865438e-07, No Iterations 15
DILUPBiCG: Solving for Uz, Initial residual = 0.0053331636, Final residual = 6.9945032e-08, No Iterations 13
[19] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[19] #1 Foam::sigFpe::sigHandler(int) at ??:?
[19] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[19] #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
[19] #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[19] #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[19] #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
[19] #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[19] #8 ? at ??:?
[19] #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[19] #10 ? at ??:?
[zj:01594] *** Process received signal ***
[zj:01594] Signal: Floating point exception (8)
[zj:01594] Signal code: (-6)
[zj:01594] Failing at address: 0x3e90000063a
[zj:01594] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fc4ff6464b0]
[zj:01594] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fc4ff646428]
[zj:01594] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fc4ff6464b0]
[zj:01594] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5Fi eldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEE RKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0x d9)[0x7fc50092ae09]
[zj:01594] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7 PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS 8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x7b2)[0x7fc50092f092]
[zj:01594] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5Fi eldIdEERKS2_h+0x807)[0x7fc500931987]
[zj:01594] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegr egatedERKNS_10dictionaryE+0x15b)[0x7fc502b49bfb]
[zj:01594] [ 7] pimpleFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dicti onaryE+0x191)[0x46fce1]
[zj:01594] [ 8] pimpleFoam[0x426a45]
[zj:01594] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fc4ff631830]
[zj:01594] [10] pimpleFoam[0x428729]
[zj:01594] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 19 with PID 1594 on node zj exited on signal 8 (Floating point exception).

I have checked my mesh, the mesh quality can be seen in the attached file.
Both boundary conditions and schemes are set as attached.
Attached Files
File Type: txt checkMesh.txt (6.4 KB, 4 views)
File Type: txt fvSchemes.txt (1.4 KB, 3 views)
File Type: txt nut.txt (2.0 KB, 0 views)
File Type: txt p.txt (1.5 KB, 2 views)
File Type: txt U.txt (2.7 KB, 1 views)
TongZhou is offline   Reply With Quote

Old   October 12, 2018, 10:54
Default
  #2
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 15
Santiago is on a distinguished road
Quote:
Originally Posted by TongZhou View Post
Hello everybody,

Could someone please help me to understand the reason for the error in my pimpleFoam -parallel run:

PIMPLE: iteration 1
DILUPBiCG: Solving for Ux, Initial residual = 0.0046852007, Final residual = 2.4125428e-07, No Iterations 12
DILUPBiCG: Solving for Uy, Initial residual = 0.031750788, Final residual = 3.865438e-07, No Iterations 15
DILUPBiCG: Solving for Uz, Initial residual = 0.0053331636, Final residual = 6.9945032e-08, No Iterations 13
[19] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[19] #1 Foam::sigFpe::sigHandler(int) at ??:?
[19] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[19] #3 Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
[19] #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[19] #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[19] #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
[19] #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[19] #8 ? at ??:?
[19] #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[19] #10 ? at ??:?
[zj:01594] *** Process received signal ***
[zj:01594] Signal: Floating point exception (8)
[zj:01594] Signal code: (-6)
[zj:01594] Failing at address: 0x3e90000063a
[zj:01594] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fc4ff6464b0]
[zj:01594] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fc4ff646428]
[zj:01594] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7fc4ff6464b0]
[zj:01594] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5Fi eldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEE RKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0x d9)[0x7fc50092ae09]
[zj:01594] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7 PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS 8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x7b2)[0x7fc50092f092]
[zj:01594] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5Fi eldIdEERKS2_h+0x807)[0x7fc500931987]
[zj:01594] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegr egatedERKNS_10dictionaryE+0x15b)[0x7fc502b49bfb]
[zj:01594] [ 7] pimpleFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dicti onaryE+0x191)[0x46fce1]
[zj:01594] [ 8] pimpleFoam[0x426a45]
[zj:01594] [ 9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fc4ff631830]
[zj:01594] [10] pimpleFoam[0x428729]
[zj:01594] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 19 with PID 1594 on node zj exited on signal 8 (Floating point exception).

I have checked my mesh, the mesh quality can be seen in the attached file.
Both boundary conditions and schemes are set as attached.
Try another symmetric linear solver for pressure, more robust
Santiago 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
icoFoam floating point exception (8) leizhao512 OpenFOAM Running, Solving & CFD 7 November 1, 2018 11:43
A floating point exception has occurred: floating point exception [Overflow]. starlight STAR-CCM+ 4 May 4, 2016 09:08
A floating point exception - SEM Model yansheng STAR-CCM+ 1 April 4, 2016 04:57
Floating point exception from twoPhaseEulerFoam openfoammaofnepo OpenFOAM Running, Solving & CFD 1 March 19, 2016 13:56
Floating point exception (core dumped) for GAMG solver yuhou1989 OpenFOAM Running, Solving & CFD 2 March 24, 2015 19:28


All times are GMT -4. The time now is 02:24.