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] SnappyHexMesh error with 2D AMI (https://www.cfd-online.com/Forums/openfoam-meshing/119404-snappyhexmesh-error-2d-ami.html)

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:

----------------------------------------------------------------------------------
--> FOAM FATAL ERROR:
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)
pointLevels:6{0}


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: http://www.cfd-online.com/Forums/att...artialmesh.jpg)

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.

Thanks!


All times are GMT -4. The time now is 15:29.