|
[Sponsors] |
How to debug this error msg to know where the error comes from? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 403
Rep Power: 19 ![]() |
Hi,
I'm running a 6dof simulation and after t = 0.3, the simulation stops. The error given is: Code:
[14] #0 Foam::error::printStack(Foam::Ostream&) at ??:? [14] #1 Foam::sigFpe::sigHandler(int) at ??:? [14] #2 ? in /lib64/libpthread.so.0 [14] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? [14] #4 Foam::operator/(Foam::tmp<Foam::Field<double> > const&, Foam::tmp<Foam::Field<double> > const&) at ??:? [14] #5 Foam::freestreamPressureFvPatchScalarField::updateCoeffs() at ??:? [14] #6 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:? [14] #7 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacianUncorrected(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? [14] #8 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? [14] #9 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? [14] #10 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? [14] #11 ? at ??:? [14] #12 __libc_start_main in /lib64/libc.so.6 [14] #13 ? at ??:? [compute2:10831] *** Process received signal *** [compute2:10831] Signal: Floating point exception (8) [compute2:10831] Signal code: (-6) [compute2:10831] Failing at address: 0x3e900002a4f [compute2:10831] [ 0] /lib64/libpthread.so.0(+0xf630)[0x7f9658a58630] [compute2:10831] [ 1] /lib64/libpthread.so.0(raise+0x2b)[0x7f9658a584fb] [compute2:10831] [ 2] /lib64/libpthread.so.0(+0xf630)[0x7f9658a58630] [compute2:10831] [ 3] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_5UListIdEES6_+0xbc)[0x7f9659f1d9cc] [compute2:10831] [ 4] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4FoamdvERKNS_3tmpINS_5FieldIdEEEES5_+0x87)[0x7f9659f27fa7] [compute2:10831] [ 5] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam36freestreamPressureFvPatchScalarField12updateCoeffsEv+0xcd)[0x7f965e592abd] [compute2:10831] [ 6] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdEC2ERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERKNS_12dimensionSetE+0x311)[0x7f965e37beb1] [compute2:10831] [ 7] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSchemeIddE23fvmLaplacianUncorrectedERKNS_14GeometricFieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEES8_RKNS3_IdNS_12fvPatchFieldENS_7volMeshEEE+0x86)[0x7f965ef1ce16] [compute2:10831] [ 8] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSchemeIddE12fvmLaplacianERKNS_14GeometricFieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEERKNS3_IdNS_12fvPatchFieldENS_7volMeshEEE+0x90)[0x7f965ef141e0] [compute2:10831] [ 9] /opt/ohpc/pub/apps/OpenFOAM/v2106/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam2fv15laplacianSchemeIddE12fvmLaplacianERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES8_+0x53)[0x7f965ef29643] [compute2:10831] [10] pimpleFoam(_ZN4Foam3fvm9laplacianIddEENS_3tmpINS_8fvMatrixIT_EEEERKNS_14GeometricFieldIT0_NS_12fvPatchFieldENS_7volMeshEEERKNS7_IS4_S9_SA_EE+0x23a)[0x45877a] [compute2:10831] [11] pimpleFoam[0x42ba1f] [compute2:10831] [12] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f965869d555] [compute2:10831] [13] pimpleFoam[0x42e7e8] [compute2:10831] *** End of error message *** https://openfoamwiki.net/index.php/HowTo_debugging but I still don't understand where the error comes from. Should I change a different pressure solver? Or I must change my fvScheme? Hope someone can help. Thanks! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Richard
Join Date: Oct 2021
Posts: 1
Rep Power: 0 ![]() |
Hi quarkz,
The information you posted here is not enough to determine where the problem came from. But from the information you provided, it seems like a computation crush. You can try to check calculation parameters, mesh..... Best wishes Richard |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
|
Quote:
Implement the things found in the link and compile your customised solver in debug mode. Then you can locate your errors with line numbers where you can easily reach your mistakes. Thank you |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
Finding the corresponding debug switch | Tobi | OpenFOAM Programming & Development | 8 | October 14, 2020 09:23 |
create the file *.foam | phongstar | OpenFOAM | 12 | October 14, 2018 18:06 |
Recursive output of Foam::word in gdb print command | chengdi | OpenFOAM Programming & Development | 1 | July 19, 2017 20:19 |
Eclipse - case debug error | Bufacchi | OpenFOAM | 1 | February 7, 2012 15:15 |