|
[Sponsors] |
[snappyHexMesh] snappyHexMesh meshed inside an outside of stl |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2015, 10:38 |
snappyHexMesh meshed inside an outside of stl
|
#1 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
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. |
|
March 24, 2015, 05:09 |
|
#2 |
Senior Member
|
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? |
|
May 6, 2016, 13:00 |
|
#3 |
Member
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12 |
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. |
|
May 6, 2016, 13:12 |
|
#4 |
Member
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12 |
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.
|
|
May 7, 2016, 13:11 |
|
#5 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
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 |
|
May 7, 2016, 17:12 |
|
#6 |
Member
thomas
Join Date: Jul 2014
Posts: 50
Rep Power: 12 |
Thank you very much! I will give it a try.
|
|
|
|
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 |