CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SnappyHexMesh error with 2D AMI

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2013, 01:51
Default SnappyHexMesh error with 2D AMI
Anand Lobo
Join Date: Jun 2013
Posts: 56
Rep Power: 10
Boloar is on a distinguished road
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.
Attached Images
File Type: jpg partialMesh.jpg (59.9 KB, 177 views)
Attached Files
File Type: zip (6.3 KB, 27 views)

Last edited by Boloar; June 17, 2013 at 03:39. Reason: Attach files
Boloar is offline   Reply With Quote

Old   June 18, 2013, 02:45
Default Kind of fixed ...
Anand Lobo
Join Date: Jun 2013
Posts: 56
Rep Power: 10
Boloar is on a distinguished road
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.

Boloar is offline   Reply With Quote


ami, snappyhexmesh, vawt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
mapField error rvl565 OpenFOAM Pre-Processing 1 September 6, 2018 16:13
[snappyHexMesh] OF-2.3.x: snappyHexMesh and AMI A_Pete OpenFOAM Meshing & Mesh Conversion 10 March 11, 2015 13:51
mapFields Error with snappyHexMesh Source Added Layers sherif35 OpenFOAM Pre-Processing 0 September 29, 2014 17:01
snappyHexMesh in parallel with AMI louisgag OpenFOAM Pre-Processing 8 September 15, 2014 02:57
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34

All times are GMT -4. The time now is 03:51.