CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   Error in SnappyHexMesh (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/124957-error-snappyhexmesh.html)

gooya_kabir October 16, 2013 06:02

Error in SnappyHexMesh
 
Hi Friends,

I'm doing snappyHexMesh on a .stl file. when I change the location of inside point, to mesh inside of my object, the following error appears.

Thank you in advance for your helpful comments.

Error:
Doing final balancing
---------------------

Found 0 zoned faces to keep together.
[1] [2] #0 [3] #0 Foam::error::printStack(Foam::Ostream&)Foam::error ::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&)#0 Foam::error::printStack(Foam::Ostream&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigHandler(int) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[3] #1 Foam::sigFpe::sigHandler(int) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigHandler(int) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[2] #1 Foam::sigFpe::sigHandler(int) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[3] #2 Uninterpreted:
[3] #3 Foam::hierarchGeomDecomp::calculateSortedWeightedS izes(Foam::List<int> const&, Foam::List<int> const&, Foam::Field<double> const&, int, Foam::Field<double>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[1] #2 Uninterpreted:
[1] #3 Foam::hierarchGeomDecomp::calculateSortedWeightedS izes(Foam::List<int> const&, Foam::List<int> const&, Foam::Field<double> const&, int, Foam::Field<double>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[0] #2 Uninterpreted:
[0] #3 Foam::hierarchGeomDecomp::calculateSortedWeightedS izes(Foam::List<int> const&, Foam::List<int> const&, Foam::Field<double> const&, int, Foam::Field<double>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
[2] #2 Uninterpreted:
[2] #3 Foam::hierarchGeomDecomp::calculateSortedWeightedS izes(Foam::List<int> const&, Foam::List<int> const&, Foam::Field<double> const&, int, Foam::Field<double>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[1] #4 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[0] #4 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[2] #4 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[3] #4 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/l in "/home/reza/OpenFOA in "/home/reza/OpenFOAM/OpenFOM/OpenFAM-2.2.x/platformOAM-2.2.x/plas/linuxGcctforms/lDPOpt/lib/libdecoinuxGccDPOpmpositt/lib/libdecompionMethods.so"ositi
onMethods[3] #5 .so"
Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&)[0] #5 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&)ib/libdecompositionMethods.so"
[1] #5 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[2] #5 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[3] #6 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[1] #6 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[2] #6 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[0] #6 Foam::hierarchGeomDecomp::sortComponent(int, Foam::Field<double> const&, Foam::Field<Foam::Vector<double> > const&, Foam::List<int> const&, unsigned char, int, Foam::List<int>&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
in "/home/r[3] #7 eza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOFoam::hierarchGeomDecomp::decompose(Foa m::Field<Foam::Vector<double> > const&, Foam::Field<double> const&)pt/lib/libdecompositionMethods.so"
[2] #7 Foam::hierarchGeomDecomp::decompose(Foam::Field<Fo am::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[1] #7 Foam::hierarchGeomDecomp::decompose(Foam::Field<Fo am::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[0] #7 Foam::hierarchGeomDecomp::decompose(Foam::Field<Fo am::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[2] #8 Foam::hierarchGeomDecomp::decompose(Foam::polyMesh const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[0] #8 Foam::hierarchGeomDecomp::decompose(Foam::polyMesh const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2 in "/home/re.2.x/platforms/linuxGccDPOpt/libza/OpenFOAM/OpenFOAM-2./libdecompositionMethods.s2.x/platforms/linuxo"
[3] #8 GccDPOpt/lib/libdecFoam::hierarchGeomDecomp::decompose(Foam::po lyMesh const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<double> const&)ompositionMethods.so"
[1] #8 Foam::hierarchGeomDecomp::decompose(Foam::polyMesh const&, Foam::Field<Foam::Vector<double> > const&, Foam::Field<double> const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[0] #9 Foam::meshRefinement::balance(bool, bool, Foam::Field<double> const&, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[2] #9 Foam::meshRefinement::balance(bool, bool, Foam::Field<double> const&, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[3] #9 Foam::meshRefinement::balance(bool, bool, Foam::Field<double> const&, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so"
[1] #9 Foam::meshRefinement::balance(bool, bool, Foam::Field<double> const&, Foam::decompositionMethod&, Foam::fvMeshDistribute&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[2] #10 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool, Foam::dictionary const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[3] #10 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool, Foam::dictionary const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[0] #10 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool, Foam::dictionary const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[1] #10 Foam::autoRefineDriver::doRefine(Foam::dictionary const&, Foam::refinementParameters const&, bool, Foam::dictionary const&) in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[0] #11 in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[2] #11 in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[3] #11
in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so"
[1] #11

[2] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[2] #12 __libc_start_main[0] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[0] #12 __libc_start_main[3] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[3] #12 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
[2] #13
in "/lib/i386-linux-gnu/libc.so.6"
[0] #13
in "/lib/i386-linux-gnu/libc.so.6"
[3] #13
[1] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[1] #12 __libc_start_main[2] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[ubuntu:09328] *** Process received signal ***
[ubuntu:09328] Signal: Floating point exception (8)
[ubuntu:09328] Signal code: (-6)
[ubuntu:09328] Failing at address: 0x2470
[ubuntu:09328] [ 0] [0xb773340c]
[ubuntu:09328] [ 1] [0xb7733424]
[ubuntu:09328] [ 2] /lib/i386-linux-gnu/libc.so.6(gsignal+0x4f) [0xb54281df]
[ubuntu:09328] [ 3] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6sigFpe10sigHandlerEi+0x60) [0xb5c04320]
[ubuntu:09328] [ 4] [0xb7733400]
[ubuntu:09328] [ 5] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp28calculateSortedWeightedSizesERKNS_4ListIiEE S4_RKNS_5FieldIdEEiRS6_+0x160) [0xb65d2220]
[ubuntu:09328] [ 6] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x20d) [0xb65d473d]
[ubuntu:09328] [ 7] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x8aa) [0xb65d4dda]
[ubuntu:09328] [ 8] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x8aa) [0xb65d4dda]
[ubuntu:09328] [ 9] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp9decomposeERKNS_5FieldINS_6VectorIdEEEERKNS1_ IdEE+0x23c) [0xb65d552c]
[ubuntu:09328] [10] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp9decomposeERKNS_8polyMeshERKNS_5FieldINS_6Vec torIdEEEERKNS4_IdEE+0x28) [0xb65d5838]
[ubuntu:09328] [11] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so(_ZN4Foam14meshRefinement7balanceEbb RKNS_5FieldIdEERNS_19decompositionMethodERNS_16fvM eshDistributeE+0x45a) [0xb5e125ca]
[ubuntu:09328] [12] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so(_ZN4Foam16autoRefineDriver8doRefine ERKNS_10dictionaryERKNS_20refinementParametersEbS3 _+0x24d) [0xb5de510d]
[ubuntu:09328] [13] snappyHexMesh() [0x8050676]
[ubuntu:09328] [14] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb54134d3]
[ubuntu:09328] [15] snappyHexMesh() [0x8050d61]
[ubuntu:09328] *** End of error message ***

in "/lib/i386-linux-gnu/libc.so.6"
[1] #13 [3] in "/home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/bin/snappyHexMesh"
[ubuntu:09329] *** Process received signal ***
[ubuntu:09329] Signal: Floating point exception (8)
[ubuntu:09329] Signal code: (-6)
[ubuntu:09329] Failing at address: 0x2471
[ubuntu:09329] [ 0] [0xb77a240c]
[ubuntu:09329] [ 1] [0xb77a2424]
[ubuntu:09329] [ 2] /lib/i386-linux-gnu/libc.so.6(gsignal+0x4f) [0xb54971df]
[ubuntu:09329] [ 3] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6sigFpe10sigHandlerEi+0x60) [0xb5c73320]
[ubuntu:09329] [ 4] [0xb77a2400]
[ubuntu:09329] [ 5] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp28calculateSortedWeightedSizesERKNS_4ListIiEE S4_RKNS_5FieldIdEEiRS6_+0x160) [0xb6641220]
[ubuntu:09329] [ 6] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x20d) [0xb664373d]
[ubuntu:09329] [ 7] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x8aa) [0xb6643dda]
[ubuntu:09329] [ 8] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp13sortComponentEiRKNS_5FieldIdEERKNS1_INS_6Ve ctorIdEEEERKNS_4ListIiEEhiRSB_+0x8aa) [0xb6643dda]
[ubuntu:09329] [ 9] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp9decomposeERKNS_5FieldINS_6VectorIdEEEERKNS1_ IdEE+0x23c) [0xb664452c]
[ubuntu:09329] [10] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libdecompositionMethods.so(_ZN4Foam18hierarchGeomD ecomp9decomposeERKNS_8polyMeshERKNS_5FieldINS_6Vec torIdEEEERKNS4_IdEE+0x28) [0xb6644838]
[ubuntu:09329] [11] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so(_ZN4Foam14meshRefinement7balanceEbb RKNS_5FieldIdEERNS_19decompositionMethodERNS_16fvM eshDistributeE+0x45a) [0xb5e815ca]
[ubuntu:09329] [12] /home/reza/OpenFOAM/OpenFOAM-2.2.x/platforms/linuxGccDPOpt/lib/libautoMesh.so(_ZN4Foam16autoRefineDriver8doRefine ERKNS_10dictionaryERKNS_20refinementParametersEbS3 _+0x24d) [0xb5e5410d]
[ubuntu:09329] [13] snappyHexMesh() [0x8050676]
[ubuntu:09329] [14] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb54824d3]
[ubuntu:09329] [15] snappyHexMesh() [0x8050d61]
[ubuntu:09329] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 9328 on node ubuntu exited on signal 8 (Floating point exception).

Artur October 22, 2013 09:08

Have you tried running surfaceCheck on your object? Are you sure the inside point is not on an edge or a face of either the blockMesh or the body?

gooya_kabir October 23, 2013 04:41

Hi
 
Thank you, I tried surface check and it seems that the problem was selected point.

Regards


All times are GMT -4. The time now is 12:50.