CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   snappy hex mesh error (

CFT October 9, 2009 03:29

snappy hex mesh error
Dear all

I was running the motorbike snappyhexmesh example. After creating the blockmesh using the blockmesh command. I run snappyhexmesh but get the following error

Surface refinement iteration 7

Marked for refinement due to surface intersection : 19 cells.
#0 Foam::error::printStack(Foam::Ostream&) in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#2 Uninterpreted: [0xffffe400]
#3 Foam::meshRefinement::markSurfaceCurvatureRefineme nt(double, int, Foam::List<int> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int>&, int&) const in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#4 Foam::meshRefinement::refineCandidates(Foam::Vecto r<double> const&, double, Foam::PtrList<Foam::featureEdgeMesh> const&, Foam::List<int> const&, bool, bool, bool, bool, int, int) const in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#5 Foam::autoRefineDriver::surfaceOnlyRefine(Foam::re finementParameters const&, int) in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#6 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool) in "/home/steven/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/"
#7 main in "/home/steven/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/snappyHexMesh"
#8 __libc_start_main in "/lib/"
#9 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/steven/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/snappyHexMesh"
Floating point exception

Does anyone know what is wrong ?



bigphil October 9, 2009 07:32

1 Attachment(s)

Which version of OpenFOAM are you using?

I am using 1.5-dev and the motorBike tutorial runs for me by just blockMesh followed by snappyHexMesh.

I have attached what my snappyHexMeshDict looks like, I assume yours should be the same and if not could be the cause of the problem.

Hope it helps,

All times are GMT -4. The time now is 05:45.