|
[Sponsors] |
Generating a proper STL mesh for snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 24, 2015, 05:18 |
Generating a proper STL mesh for snappyHexMesh
|
#1 |
New Member
riccardo maione
Join Date: Jun 2014
Posts: 13
Rep Power: 12 |
Hello all,
I am trying to generate a mesh with snappyHexMesh, in order to do that I drawed a STEP and from that an STL file with gmsh. the STL looks good in surfaceCheck, the problem is I don't know how to define boundaries on this STL file. I would also like to divide this STL to multiple pieces in order to have more freedom in the meshing phase. Anyone knows how to do it in a simple way? thanks to all for the help Riccardo |
|
August 24, 2015, 16:37 |
|
#2 |
Senior Member
|
Hi Riccardo,
have a look to these links: https://www.youtube.com/watch?v=ObsFQUiVi1U https://www.youtube.com/watch?v=1zQbU-E4k1U they should help you a lot. Anyway, someone uses to define groups of faces into Salome, export them into step files, to generate the 2D meshes then save them as stl (better quality). Remember that by this way, there's a sort of bug and before you can use them into OF you have to scale the stl by using surfaceTranformPoints open foam utility. Code:
surfaceTransformPoints -scale '(0.001 0.001 0.001)' <surfaceFile> <output surfaceFile> |
|
August 25, 2015, 03:17 |
|
#3 |
New Member
riccardo maione
Join Date: Jun 2014
Posts: 13
Rep Power: 12 |
Oh, that's perfect,
I will give it a shot, your help is much appreciated thank you Riccardo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
ICEM 12 CFD help creating volume mesh from stl | EmpError | ANSYS | 0 | November 13, 2010 07:38 |
ParaView and Qt 4.3.5 on Mac OS X 10.6 | Adrian | OpenFOAM | 3 | August 8, 2010 04:16 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |