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

Floating point exception (8)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2024, 11:43
Default Floating point exception (8)
  #1
New Member
 
Join Date: Jan 2024
Posts: 6
Rep Power: 2
francedisab is on a distinguished road
Hello!
I'm trying to run a simulation with the pimpleFoam solver but even if I change the time step or the max Courant number, it always stops at the 9th iteration with a long message, mentioning 'floating point exeption (8)'.
I don't understand what's the problem. Here's the message:

Code:
[1] #0  Foam::error::printStack(Foam::Ostream&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #2  ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #3  ? in /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_op_avx.so
[1] #4  ? in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #5  ompi_coll_base_allreduce_intra_recursivedoubling in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #6  ompi_coll_tuned_allreduce_intra_dec_fixed in /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_coll_tuned.so
[1] #7  PMPI_Allreduce in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #8  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so
[1] #9  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 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #10  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::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 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #11  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #12  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #13  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #14  Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #15  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[1] #16  ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #17  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #18  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[Francesca:08630] *** Process received signal ***
[Francesca:08630] Signal: Floating point exception (8)
[Francesca:08630] Signal code:  (-6)
[Francesca:08630] Failing at address: 0x3e8000021b6
[Francesca:08630] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f80209ff520]
[Francesca:08630] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f8020a539fc]
[Francesca:08630] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f80209ff476]
[Francesca:08630] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f80209ff520]
[Francesca:08630] [ 4] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_op_avx.so(+0x40b5)[0x7f801c0eb0b5]
[Francesca:08630] [ 5] /lib/x86_64-linux-gnu/libmpi.so.40(+0x33fb9)[0x7f801ee4cfb9]
[Francesca:08630] [ 6] /lib/x86_64-linux-gnu/libmpi.so.40(ompi_coll_base_allreduce_intra_recursivedoubling+0x6a8)[0x7f801eec3778]
[Francesca:08630] [ 7] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_coll_tuned.so(ompi_coll_tuned_allreduce_intra_dec_fixed+0x4f)[0x7f8016a9529f]
[Francesca:08630] [ 8] /lib/x86_64-linux-gnu/libmpi.so.40(PMPI_Allreduce+0x133)[0x7f801ee7c553]
[Francesca:08630] [ 9] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so(+0x12972)[0x7f80209af972]
[Francesca:08630] [10] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0x148)[0x7f8021369328]
[Francesca:08630] [11] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x778)[0x7f802136db58]
[Francesca:08630] [12] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x499)[0x7f802136e989]
[Francesca:08630] [13] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x463)[0x7f8023a538f3]
[Francesca:08630] [14] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0x4c769e)[0x7f802360769e]
[Francesca:08630] [15] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixIdEERKNS_10dictionaryE+0x28)[0x7f80235f6f08]
[Francesca:08630] [16] pimpleFoam(+0x1cc39)[0x55dfad65bc39]
[Francesca:08630] [17] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f80209e6d90]
[Francesca:08630] [18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f80209e6e40]
[Francesca:08630] [19] pimpleFoam(+0x23b75)[0x55dfad662b75]
[Francesca:08630] *** End of error message ***
Could someone help me?
Thanks!
francedisab is offline   Reply With Quote

Old   February 27, 2024, 14:46
Default
  #2
New Member
 
ask
Join Date: Feb 2024
Posts: 2
Rep Power: 0
askques123 is on a distinguished road
Quote:
Originally Posted by francedisab View Post
Hello!
I'm trying to run a simulation with the pimpleFoam solver but even if I change the time step or the max Courant number, it always stops at the 9th iteration with a long message, mentioning 'floating point exeption (8)'.
I don't understand what's the problem. Here's the message:

Code:
[1] #0  Foam::error::printStack(Foam::Ostream&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #2  ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #3  ? in /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_op_avx.so
[1] #4  ? in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #5  ompi_coll_base_allreduce_intra_recursivedoubling in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #6  ompi_coll_tuned_allreduce_intra_dec_fixed in /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_coll_tuned.so
[1] #7  PMPI_Allreduce in /lib/x86_64-linux-gnu/libmpi.so.40
[1] #8  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so
[1] #9  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 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #10  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::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 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #11  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1] #12  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #13  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #14  Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
[1] #15  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[1] #16  ? in /lib/x86_64-linux-gnu/libc.so.6
[1] #17  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #18  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[Francesca:08630] *** Process received signal ***
[Francesca:08630] Signal: Floating point exception (8)
[Francesca:08630] Signal code:  (-6)
[Francesca:08630] Failing at address: 0x3e8000021b6
[Francesca:08630] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f80209ff520]
[Francesca:08630] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f8020a539fc]
[Francesca:08630] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f80209ff476]
[Francesca:08630] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f80209ff520]
[Francesca:08630] [ 4] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_op_avx.so(+0x40b5)[0x7f801c0eb0b5]
[Francesca:08630] [ 5] /lib/x86_64-linux-gnu/libmpi.so.40(+0x33fb9)[0x7f801ee4cfb9]
[Francesca:08630] [ 6] /lib/x86_64-linux-gnu/libmpi.so.40(ompi_coll_base_allreduce_intra_recursivedoubling+0x6a8)[0x7f801eec3778]
[Francesca:08630] [ 7] /usr/lib/x86_64-linux-gnu/openmpi/lib/openmpi3/mca_coll_tuned.so(ompi_coll_tuned_allreduce_intra_dec_fixed+0x4f)[0x7f8016a9529f]
[Francesca:08630] [ 8] /lib/x86_64-linux-gnu/libmpi.so.40(PMPI_Allreduce+0x133)[0x7f801ee7c553]
[Francesca:08630] [ 9] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so(+0x12972)[0x7f80209af972]
[Francesca:08630] [10] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0x148)[0x7f8021369328]
[Francesca:08630] [11] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x778)[0x7f802136db58]
[Francesca:08630] [12] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x499)[0x7f802136e989]
[Francesca:08630] [13] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x463)[0x7f8023a538f3]
[Francesca:08630] [14] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(+0x4c769e)[0x7f802360769e]
[Francesca:08630] [15] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvMatrixIdEERKNS_10dictionaryE+0x28)[0x7f80235f6f08]
[Francesca:08630] [16] pimpleFoam(+0x1cc39)[0x55dfad65bc39]
[Francesca:08630] [17] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f80209e6d90]
[Francesca:08630] [18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f80209e6e40]
[Francesca:08630] [19] pimpleFoam(+0x23b75)[0x55dfad662b75]
[Francesca:08630] *** End of error message ***
Could someone help me?
Thanks!
Hi I am facing a similar issue. I am modelling Giesekus multimode Turbulence model and simulation is running for few time steps and then I am getting Floating point error. Did you find a solutionn or can someone Resolve this
Attached Images
File Type: jpg doubt.jpg (154.3 KB, 7 views)
askques123 is offline   Reply With Quote

Old   February 28, 2024, 04:20
Default
  #3
New Member
 
Join Date: Jan 2024
Posts: 6
Rep Power: 2
francedisab is on a distinguished road
No, I still don't know the solution. Hope someone can help us
francedisab is offline   Reply With Quote

Old   February 28, 2024, 13:08
Default
  #4
New Member
 
Join Date: Jan 2024
Posts: 6
Rep Power: 2
francedisab is on a distinguished road
I think the problem should be the definition of the courant number in controlDict. Try to change it according to your mesh and time step and see if it works!


Regards,
Francesca
francedisab is offline   Reply With Quote

Reply

Tags
floatingpointexception, pimplefoam


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 12:43
A floating point exception has occurred: floating point exception [Overflow]. starlight STAR-CCM+ 4 May 4, 2016 10:08
A floating point exception - SEM Model yansheng STAR-CCM+ 1 April 4, 2016 05:57
Floating point exception from twoPhaseEulerFoam openfoammaofnepo OpenFOAM Running, Solving & CFD 1 March 19, 2016 14:56
Floating point exception (core dumped) for GAMG solver yuhou1989 OpenFOAM Running, Solving & CFD 2 March 24, 2015 20:28


All times are GMT -4. The time now is 13:00.