CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Unable to understand the errors (https://www.cfd-online.com/Forums/openfoam-solving/247642-unable-understand-errors.html)

Narayan_UD February 15, 2023 17:00

Unable to understand the errors
 
Hi All

I am unable to understand why these errors are occurring , if someone can help me in resolving that it would be great help


[0] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[0] #2 ? in /lib64/libpthread.so.0
[0] #3 Foam::scalarProduct<double, double>::type Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
[0] #4 Foam::PCG::scalarSolve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[0] #5 Foam::GAMGSolver::solveCoarsestLevel(Foam::Field<d ouble>&, Foam::Field<double> const&) const at ??:?
[0] #6 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 ??:?
[0] #7 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[0] #8 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
[0] #9 Foam::fvMatrix<double>::solveSegregatedOrCoupled(F oam::dictionary const&) at ??:?
[0] #10 Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const at ??:?
[0] #11 main at ??:?
[0] #12 __libc_start_main in /lib64/libc.so.6
[0] #13 ? at ??:?
[r00n13:19125] *** Process received signal ***
[r00n13:19125] Signal: Floating point exception (8)
[r00n13:19125] Signal code: (-6)
[r00n13:19125] Failing at address: 0xbc900004ab5
[r00n13:19125] [ 0] /lib64/libpthread.so.0(+0xf5e0)[0x2ae1cf9705e0]
[r00n13:19125] [ 1] /lib64/libpthread.so.0(raise+0x2b)[0x2ae1cf9704ab]
[r00n13:19125] [ 2] /lib64/libpthread.so.0(+0xf5e0)[0x2ae1cf9705e0]
[r00n13:19125] [ 3] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7sumProdIdEENS_13scalarProd uctIT_S2_E4typeERKNS_5UListIS2_EES8_+0x35)[0x2ae1ce9392e5]
[r00n13:19125] [ 4] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam3PCG11scalarSolveERNS_5Fie ldIdEERKS2_h+0x835)[0x2ae1ce748055]
[r00n13:19125] [ 5] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver18solveCoarses tLevelERNS_5FieldIdEERKS2_+0xab)[0x2ae1ce76fe1b]
[r00n13:19125] [ 6] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7 PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS 8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x668)[0x2ae1ce772668]
[r00n13:19125] [ 7] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5Fi eldIdEERKS2_h+0x5a1)[0x2ae1ce774b51]
[r00n13:19125] [ 8] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegr egatedERKNS_10dictionaryE+0x178)[0x2ae1c93a9a48]
[r00n13:19125] [ 9] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE24solveSegr egatedOrCoupledERKNS_10dictionaryE+0x363)[0x2ae1c8c6a5b3]
[r00n13:19125] [10] /home/3017/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam6fvMesh5solveERNS_8fvM atrixIdEERKNS_10dictionaryE+0xf)[0x2ae1c8c0f7af]
[r00n13:19125] [11] sedInterFoam(main+0x22141)[0x46a1c1]
[r00n13:19125] [12] /lib64/libc.so.6(__libc_start_main+0xf5)[0x2ae1cfb9ec05]
[r00n13:19125] [13] sedInterFoam[0x486605]
[r00n13:19125] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 19125 on node r00n13 exited on signal 8 (Floating point exception).

jnanabrao March 15, 2023 09:24

The GAMG/PCG matrix solver is running into a situation where in trying to solve the equation it is obtaining a value that can't be expressed as a float. In simpler words, it is most likely getting a division by 0 because either the boundary conditions or the initial conditions or your tolerance are not correct.

Narayan_UD November 24, 2023 18:08

Waves2Foam -Error in user-defined spectrum by modifying wavesProperties
 
Hi I am trying to run a user-defined spectrum in waves2Foam by modifying wavesProperties


the error is as follow

Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in /lib64/libpthread.so.0
#3 Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam::operator/<Foam::Vector<double> >(Foam::UList<Foam::Vector<double> > const&, Foam::UList<double> const&) at ??:?
#4 Foam::waveTheories::irregular::irregular(Foam::wor d const&, Foam::fvMesh const&) at ??:?
#5 Foam::waveTheories::waveTheory::adddictionaryConst ructorToTable<Foam::waveTheories::irregular>::New( Foam::word const&, Foam::fvMesh const&) at ??:?
#6 Foam::waveTheories::waveTheory::New(Foam::word const&, Foam::fvMesh const&) at ??:?
#7 Foam::relaxationSchemes::relaxationScheme::relaxat ionScheme(Foam::word const&, Foam::fvMesh const&, Foam::Field<Foam::Vector<double> >&, Foam::Field<double>&) at ??:?
#8 Foam::relaxationSchemes::relaxationSchemeSpatial:: relaxationSchemeSpatial(Foam::word const&, Foam::fvMesh const&, Foam::Field<Foam::Vector<double> >&, Foam::Field<double>&) at ??:?
#9 Foam::relaxationSchemes::relaxationScheme::adddict ionaryConstructorToTable<Foam::relaxationSchemes:: relaxationSchemeSpatial>::New(Foam::word const&, Foam::fvMesh const&, Foam::Field<Foam::Vector<double> >&, Foam::Field<double>&) at ??:?
#10 Foam::relaxationSchemes::relaxationScheme::New(Foa m::word const&, Foam::fvMesh const&, Foam::Field<Foam::Vector<double> >&, Foam::Field<double>&) at ??:?
#11 Foam::relaxationZone::relaxationZone(Foam::fvMesh const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&) at ??:?
#12 main at ??:?
#13 __libc_start_main in /lib64/libc.so.6
#14 ? at ??:?
Floating point exception


All times are GMT -4. The time now is 23:03.