CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] snappyHexMesh meshed inside an outside of stl

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 530
Rep Power: 20
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: 159
Rep Power: 17
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, 13:00
Default
  #3
Member
 
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12
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, 13:12
Default
  #4
Member
 
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12
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, 49 views)
File Type: jpg front.jpg (108.1 KB, 42 views)
File Type: jpg inside.jpg (112.6 KB, 43 views)
thomas. is offline   Reply With Quote

Old   May 7, 2016, 13:11
Default
  #5
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
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, 17:12
Default
  #6
Member
 
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12
thomas. is on a distinguished road
Thank you very much! I will give it a try.
thomas. is offline   Reply With Quote

Reply


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
[snappyHexMesh] snappyHexMesh not deleting the inside cells Bdew8556 OpenFOAM Meshing & Mesh Conversion 9 May 14, 2019 11:53
[snappyHexMesh] Creating STL files with regions for snappyHexMesh nusivares OpenFOAM Meshing & Mesh Conversion 4 August 7, 2018 21:09
[snappyHexMesh] SHM error: inside mesh not possible Naresh yathuru OpenFOAM Meshing & Mesh Conversion 1 January 11, 2017 00:58
Generating a proper STL mesh for snappyHexMesh riccardomaione OpenFOAM Pre-Processing 2 August 25, 2015 03:17
[snappyHexMesh] STL format in SnappyHexMesh samiraamiri OpenFOAM Meshing & Mesh Conversion 5 July 20, 2015 09:19


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