CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh meshed inside an outside of stl

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 22, 2015, 10:38
Default snappyHexMesh meshed inside an outside of stl
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 488
Rep Power: 12
bastil is on a distinguished road
Hello all,

I have a complex stl-geometry which I want to mesh using sHM. The geometry is captured fine. However, it meshes not just inside the geometry (as desired) but also parts of the outside. I guess there is at least one hole in the geometry... The surface extracted after the castellated phase looks correct. What ways are there to find the connection paths between inside and outside? Maybe giving two point one inside and one outside and find the path between them? Thanks.
bastil is offline   Reply With Quote

Old   March 24, 2015, 05:09
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 9
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
I think you guessed correctly: the geometry is most likely to have a hole. Run surfaceCheck on the stl file and check. If no hole is detected, try to move locationInMesh to a different position, not on a geometry face or cell face.
__________________
Blog: sourceflux.de/blog
"The OpenFOAM Technology Primer": sourceflux.de/book
Twitter: @sourceflux_de
Interested in courses on OpenFOAM?
jhoepken is offline   Reply With Quote

Old   May 6, 2016, 12:00
Default
  #3
Member
 
thomas
Join Date: Jul 2014
Posts: 46
Rep Power: 4
thomas. is on a distinguished road
Hello all,

I actually need to mesh both inside and outside parts of an .stl-file. How can I do it? I want to use the internal mesh as an volumetric heat source, so that the fluid that goes through those cells gets heated (buoyancy case). I want to try it this way because I will export the mesh to Fluent and then set the internal mesh as an "heat source cell zone".

Thank you very much in advance.
thomas. is offline   Reply With Quote

Old   May 6, 2016, 12:12
Default
  #4
Member
 
thomas
Join Date: Jul 2014
Posts: 46
Rep Power: 4
thomas. is on a distinguished road
I added three images in order to visualize what I mean. In the "inside" picture you see a long thin cylinder. That's supposed to be the volumetric heat source. The fluid is supposed to go through it in order to get warmer.
Attached Images
File Type: jpg back.jpg (107.6 KB, 6 views)
File Type: jpg front.jpg (108.1 KB, 6 views)
File Type: jpg inside.jpg (112.6 KB, 4 views)
thomas. is offline   Reply With Quote

Old   May 7, 2016, 12:11
Default
  #5
Senior Member
 
Join Date: Aug 2013
Posts: 191
Rep Power: 5
Antimony is on a distinguished road
Hi,

Refer to slide 31 in this presentation:

http://openfoamwiki.net/images/f/f0/...SlidesOFW7.pdf

By setting cellZoneInside to inside, you will be meshing the interior of the STL. Furthermore, by specifying names of faceZone and cellZone (which you can convert to cellSet via topoSet), you can specify the region where your heat source should act.

Hope this helps.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   May 7, 2016, 16:12
Default
  #6
Member
 
thomas
Join Date: Jul 2014
Posts: 46
Rep Power: 4
thomas. is on a distinguished road
Thank you very much! I will give it a try.
thomas. is offline   Reply With Quote

Reply

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
What types of stl files are needed in snappyhexmesh? phandy OpenFOAM Native Meshers: snappyHexMesh and Others 1 February 19, 2015 06:36
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
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 05:18.