September 6, 2015, 18:15
|
icoFoam floating point exception (8)
|
#1
|
New Member
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 10
|
Hi, everyone. I was quite new to openFoam. I am simulating a cylindrical channel with a spiral spacer. It is a laminar flow since the inlet flow velocity is 2e-5m/s and the Re is 1.2. I initially was using Fluent and it the results were good. Then I want to use icoFoam. The mesh I was using in openFoam was converted from a Fluent mesh, and by checking mesh, it said OK. I am using the time step of 10s, which is exactly same with what I was using in Fluent. However, the solution always diverge and gave me an error of "floating point exception (8)". Besides, the Courant number kept increasing. Can anybody help me with this?
Thank you.
The error message is like this:
Quote:
--------------------------------------------------------------------------
in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigHandler(int) in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2 in "/lib64/libc.so.6"
[1] #3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<d ouble>&, Foam::Field<double> const&, unsigned char, int) const in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #6
[1] in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam"
[1] #7
[1] in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam"
[1] #8
[1] in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam"
[1] #9
[1] in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam"
[1] #10 __libc_start_main in "/lib64/libc.so.6"
[1] #11
[1] in "/opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam"
[hs122:14272] *** Process received signal ***
[hs122:14272] Signal: Floating point exception (8)
[hs122:14272] Signal code: (-6)
[hs122:14272] Failing at address: 0x1ba912000037c0
[hs122:14272] [ 0] /lib64/libc.so.6(+0x32920) [0x7f1aef331920]
[hs122:14272] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x7f1aef3318a5]
[hs122:14272] [ 2] /lib64/libc.so.6(+0x32920) [0x7f1aef331920]
[hs122:14272] [ 3] /opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6sm oothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5 _RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduI nterfaceFieldEEEhi+0x512) [0x7f1af03928d2]
[hs122:14272] [ 4] /opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6s moothERNS_5FieldIdEERKS2_hi+0x2d) [0x7f1af039303d]
[hs122:14272] [ 5] /opt/apps/gcc4_5/openmpi1_6/OpenFOAM/2.3.0/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5 FieldIdEERKS2_h+0x412) [0x7f1af0388b32]
[hs122:14272] [ 6] icoFoam() [0x43bfa5]
[hs122:14272] [ 7] icoFoam() [0x43e0aa]
[hs122:14272] [ 8] icoFoam() [0x43e3e0]
[hs122:14272] [ 9] icoFoam() [0x41d97c]
[hs122:14272] [10] /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f1aef31dcdd]
[hs122:14272] [11] icoFoam() [0x4196b9]
[hs122:14272] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 14272 on node hs122 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
usage: kill [ -s signal | -p ] [ -a ] pid ...
kill -l [ signal ]
|
|
|
|