CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   SnappyHexMesh (

andresbh August 5, 2009 09:22

Hello all!

Is there a rule to use snappyhexmesh with cyclic boundary conditions? I have modeled a pack of spheres in Blender and tried based on the tutorial channel1395 to incorporate these into the flow.

Up to now I always get the next error end when applying snappyhexmesh.

Is there an option in the snappyhexmeshdict that could correct this?

Calculating patchDisplacement as distance to nearest surface point ...
Wanted displacement : average:0.00057648 min:7.75508e-05 max:0.0013544
Calculated surface displacement in = 0.01 s

--> FOAM Warning : Displacement (-1.05589e-10 -0.000354297 1.11022e-16) at mesh point 385805 coord (1.90111 0.900354 0.911111) points through the surrounding patch faces
Smoothing displacement ...
#0 Foam::error::printStack(Foam::Ostream&) in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#2 ?? in "/lib64/"
#3 Foam::PointEdgeWave<Foam::pointEdgePoint>::calcCyc licAddressing() in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#4 Foam::PointEdgeWave<Foam::pointEdgePoint>::PointEd geWave(Foam::pointMesh const&, Foam::List<int> const&, Foam::List<Foam::pointEdgePoint> const&, Foam::List<Foam::pointEdgePoint>&, Foam::List<Foam::pointEdgePoint>&, int) in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#5 Foam::autoSnapDriver::edgePatchDist(Foam::pointMes h const&, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#6 Foam::autoSnapDriver::smoothDisplacement(Foam::sna pParameters const&, Foam::motionSmoother&) const in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#7 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, Foam::snapParameters const&) in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/"
#8 main in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/snappyHexMesh"
#9 __libc_start_main in "/lib64/"
#10 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/i/andres/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/snappyHexMesh"
Segmentation fault

I also simplified the test and only added one sphere, see attachment. I ran snappyhexmesh again but I had no success and got the same error.

Thanks for your help


All times are GMT -4. The time now is 00:33.