CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: snappyHexMesh and Others (
-   -   SnappyHexMesh error with 2D AMI (

Boloar June 17, 2013 01:51

SnappyHexMesh error with 2D AMI
2 Attachment(s)
Hey FOAMers,

I successfully created a preliminary blockMesh for a 2D VAWT simulation (see attached image), but snappyHexMesh seems to have trouble meshing it with my STL file. This is the error I get:

cell 0 of level 0 does not seem to have 8 points of equal or lower level
cellPoints:6(0 1 2 3 4 5)

From function hexRef8::setRefinement(const labelList&, polyTopoChange&)
in file polyTopoChange/polyTopoChange/hexRef8.C at line 3770.

FOAM aborting


I'm guessing it has something to do with the wedge-shaped blocks that make up the center of the mesh, but I'm a novice at this and I'm not sure how to go about fixing it without remodeling the entire mesh. Any help is appreciated!

I've attached my blockMeshDict and snappyHexMeshDict files for your perusal.

Boloar June 18, 2013 02:45

Kind of fixed ...
After adding a hole in the center of the mesh, I was able to get snappyHexMesh to work.
However, there are two problems ...
1) it turns the square blockMesh, in my previous post, into a circle
2) it appears to incorporate my STL model as part of the mesh, rather than as holes / boundaries in the mesh.

(see image here:

I'm not sure why this is happening. I'm a novice user and I don't have too much free time to understand all of the mesh options, so if someone can point me in the right direction that would be much appreciated.


All times are GMT -4. The time now is 13:22.