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/)
-   -   why icoFoam show "Floating point exception"? (https://www.cfd-online.com/Forums/openfoam-solving/109451-why-icofoam-show-floating-point-exception.html)

whyingwang November 18, 2012 05:13

why icoFoam show "Floating point exception"?
 
Hello everyone,
recetly ,I still use icoFoam to calculate a channel flow.
I use ICEM to generate a struct mesh,Then I use fluent3DMeshToFoam to make the polyMesh dic.
But when I run icoFoam,it can not go even one step.
It shows;

#0 Foam::error:: printStack(Foam::Ostream&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 void Foam::fvc::surfaceIntegrate<double>(Foam::Field<do uble>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<double>(Foam::Geometri cField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<double>(Foam::GeometricField<double , Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#6 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#7 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#8
in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#9
in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#10
in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
#11 __libc_start_main in "/lib/libc.so.6"
#12
in "/home/wh/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/bin/icoFoam"
Floating point exception (core dumped)

:confused::confused:

michielm November 18, 2012 07:05

have you tried running checkMesh already? What is the output?

whyingwang November 22, 2012 00:35

Quote:

Originally Posted by michielm (Post 392774)
have you tried running checkMesh already? What is the output?

yes ,I make a new struct mesh.Now it seem that icoFoam can run.

adambarfi November 22, 2012 10:15

see this link:

http://openfoamwiki.net/index.php/HowTo_debugging

before this error what warning appeared?


All times are GMT -4. The time now is 11:30.