|
[Sponsors] |
[snappyHexMesh] Can we separate the box geometry after making the mesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2020, 09:19 |
Can we separate the box geometry after making the mesh?
|
#1 |
New Member
Bahar
Join Date: Jan 2020
Posts: 2
Rep Power: 0 |
Hi every body
I wanted to mesh the surface of a .stl geometry using SnappyHexMesh. The problem is that I don't want to run my simulation in OpenFoam, and I only need a surface mesh with .stl format. When I made the mesh with Snappyhexmesh, the outer box that I made for BlockMesh is with my mesh. I made the mesh from this box to the surface of my geometry, but I only need a surface mesh. Is there any way to delete the volume mesh from outer part of the geometry and also the outer box (that we draw for making the blockmesh) Thanks a lot |
|
January 14, 2020, 04:14 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28 |
Quite easy with OpenFOAM's on-board tools.
Follow this workflow:
This command will create a single STL file, which contains all the different patches as STL solids. Code:
foamToSurface surf.stl Code:
surfaceSplitByPatch surf.stl Thus, you will end up with multiple STL files: surf.stl - all patches in one file surf_walls.stl - all faces belonging to the walls patch surf_out.stl - all faces belonging to the out patch |
|
January 15, 2020, 04:56 |
|
#3 |
New Member
Bahar
Join Date: Jan 2020
Posts: 2
Rep Power: 0 |
Thanks a lot. This is exactly what I wanted.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh - geometry does not appear in Mesh | czhongrong | OpenFOAM Meshing & Mesh Conversion | 1 | January 20, 2016 05:26 |
[Other] How to use finite area method in official OpenFOAM 2.2.0? | Detian Liu | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2015 03:04 |
[ANSYS Meshing] Meshing Strategy for inside geometry | powpow | ANSYS Meshing & Geometry | 6 | January 16, 2013 04:32 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 10:09 |