CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Tried using snappyhexmesh to mesh propeller but there is error (https://www.cfd-online.com/Forums/openfoam-meshing/212270-tried-using-snappyhexmesh-mesh-propeller-but-there-error.html)

zhi November 29, 2018 12:18

Tried using snappyhexmesh to mesh propeller but there is error
 
Hi all, I am relatively new to openfoam.

I am trying to mesh a propeller with the propeller tutorial, and i cad the propeller in solidworks before exporting it into the stl file and putting it in the constant/triSurface directory. I ran blockMesh first, then surfaceFeatureExtract, then snappyhexmesh.

I got this error when i ran snappyhexmesh.

Any help will be deeply appreciated! Thanks guys!

--> FOAM FATAL ERROR:
cell 60567 of level 4 does not seem to have 8 points of equal or lower level
cellPoints:6(82460 53928 72376 63464 49395 74363)
pointLevels:6{4}


From function Foam::labelListList Foam::hexRef8::setRefinement(const labelLi st&, Foam::polyTopoChange&)
in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 3726.

FOAM aborting



Surface refinement iteration 0
------------------------------

Marked for refinement due to surface intersection : 13 cells.
Marked for refinement due to curvature/regions : 852 cells.
Determined cells to refine in = 0.15 s
Selected for refinement : 866 cells (out of 489364)
hexRef8 : Dumping cell as obj to "/scratch/users/nus/e0004344/correct_propellers /proptut/try1/cell_60567.obj"


--> FOAM FATAL ERROR:
cell 60567 of level 4 does not seem to have 8 points of equal or lower level
cellPoints:6(82460 53928 72376 63464 49395 74363)
pointLevels:6{4}


From function Foam::labelListList Foam::hexRef8::setRefinement(const labelLi st&, Foam::polyTopoChange&)
in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 3726.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::hexRef8::setRefinement(Foam::List<long> const&, Foam::polyTopoChange&) at ??:?
#3 Foam::meshRefinement::refine(Foam::List<long> const&) at ??:?
#4 Foam::meshRefinement::balanceAndRefine(Foam::strin g const&, Foam::decomposit ionMethod&, Foam::fvMeshDistribute&, Foam::List<long> const&, double) at ??:?
#5 Foam::snappyRefineDriver::surfaceOnlyRefine(Foam:: refinementParameters const &, long) at ??:?
#6 Foam::snappyRefineDriver::doRefine(Foam::dictionar y const&, Foam::refinement Parameters const&, Foam::snapParameters const&, bool, Foam::dictionary const&) a t ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib64/libc.so.6"
#9 ? at ??:?

snappyHexMesh:30403 terminated with signal 6 at PC=2aaab0674495 SP=7fffffff9a18. Backtrace:
/lib64/libc.so.6(gsignal+0x35)[0x2aaab0674495]
/lib64/libc.so.6(abort+0x175)[0x2aaab0675c75]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libOpenFOAM.so(_Z N4Foam5error5abortEv+0x116)[0x2aaaaf3c8946]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libdynamicMesh.so (_ZN4Foam7hexRef813setRefinementERKNS_4ListIlEERNS _14polyTopoChangeE+0x1390)[0x2 aaaae6789d0]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libsnappyHexMesh. so(_ZN4Foam14meshRefinement6refineERKNS_4ListIlEE+ 0x54)[0x2aaaaedd9714]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libsnappyHexMesh. so(_ZN4Foam14meshRefinement16balanceAndRefineERKNS _6stringERNS_19decompositionMe thodERNS_16fvMeshDistributeERKNS_4ListIlEEd+0x4a0)[0x2aaaaeddb1e0]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libsnappyHexMesh. so(_ZN4Foam18snappyRefineDriver17surfaceOnlyRefine ERKNS_20refinementParametersEl +0x397)[0x2aaaaed324b7]
/app/OpenFOAM5/OpenFOAM-5.0/platforms/linux64GccDPInt64Opt/lib/libsnappyHexMesh. so(_ZN4Foam18snappyRefineDriver8doRefineERKNS_10di ctionaryERKNS_20refinementPara metersERKNS_14snapParametersEbS3_+0xcd)[0x2aaaaed3802d]
snappyHexMesh[0x417823]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x2aaab0660d1d]
snappyHexMesh[0x4199bd]

hokhay December 13, 2018 12:42

Can you show your snappyhexmeshDict file please?


All times are GMT -4. The time now is 16:56.