CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Multi Stl snappyHexMesh

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

Like Tree1Likes
  • 1 Post By GRAUPS

LinkBack Thread Tools Display Modes
Old   July 23, 2012, 16:45
Default Multi Stl snappyHexMesh
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 7
kalyangoparaju is on a distinguished road

I am trying to mesh a geometry with 3 regions ( inlet, porous and outlet). I have 3 closed stl's for all the 3 regions in the triSurface dictionary. When I write the snappyHexMeshDict ( with inspiration from the multi region meshing in chtmultiregionfoam), I define the stls as faceZone and CellZone.

When snappy runs, it detects these face zone and "walks through them" and meshes both inside and outside the pipe ( all 3 regions). When I comment out the faceZone option, it meshes only in the region where the locationInMesh is found.

After some thought, I realized that it might help making the closed surfaces which are the interfaces btween the different stls as faceZone and then let snappy just walk through them build the mesh, theoretically. Unfortunately, that doesn't happen

Is there a better way to do this. In simple words, how to mesh for an internal flow geometry with closed stls by multi region approach using snappyHexMesh.

Hope I was clear.

kalyangoparaju is offline   Reply With Quote

Old   November 15, 2012, 06:07
New Member
Unnikrishnan Mohankumar
Join Date: Apr 2011
Posts: 29
Rep Power: 8
unnikrsn is on a distinguished road
Dear Kalyan

I am working on the same topic to " Mesh Stl files in SnappyHexMesh to get internal faces".. if you have proceeded any further.. Kindly provide the details..

Thanks in advance.

Thanks & regards
unnikrsn is offline   Reply With Quote

Old   November 15, 2012, 10:16
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 38
Rep Power: 7
GRAUPS is on a distinguished road
I am also having the exact same issue as you Kalyan. I also posted in this thread referencing this problem.

Originally Posted by GRAUPS View Post
My case is a cylinder with an inlet region, outlet region, and porous region in the middle. I used three closed stl files to define it.

After meshing, including layer addition, I wish to be able to keep the interfaces between the meshed internal zones as faceZones, that is the main goal. However, it seems like I'm having similar issues as Kalyan had, where it is not crossing over the faceZones correctly and instead of keeping the internal mesh for internal flow and the intersections as faceZones, it meshes the outside domain and only part of the cylinder.
I also gave an example case, which you can find below, that I believe represents the problem Kalyan describes.

Does anyone have an explanation as to why what Kalyan describes is happening?
challenger likes this.

Last edited by GRAUPS; November 15, 2012 at 11:46.
GRAUPS is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
stl and snappyHexMesh dimensions mismatch romant OpenFOAM Native Meshers: snappyHexMesh and Others 11 May 4, 2015 09:44
Multi region meshing & recovering the original patch names fluidpath OpenFOAM Native Meshers: snappyHexMesh and Others 4 May 19, 2013 19:13
Experimentally obtained STL file for internal Flow SnappyHexMesh Irish09 OpenFOAM Native Meshers: snappyHexMesh and Others 9 April 7, 2012 08:50
Patch Names in STL file for snappyHexMesh Kattie OpenFOAM Native Meshers: snappyHexMesh and Others 11 October 18, 2011 11:05
SnappyHexMesh meshes inside and outside of an STL geometry villier OpenFOAM Mesh Utilities 17 June 15, 2010 19:51

All times are GMT -4. The time now is 17:32.