|
[Sponsors] |
May 19, 2016, 11:56 |
STL on Gmsh + Mesh on Snappy
|
#1 |
Member
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10 |
Hi all,
As I said in the title, I'am trying to make a geometry (a simple cube) on Gmsh then to mesh around this cube in a bigger box with snappy. I've seen that it is possible but I couldn't make it for the moment... My problem comes from my geometry in ( .stl ). Snappy run very well and mesh all my domain (as my geometry didn't exist). And actually my geometry didn't exist.... my .stl in empty (I linked it, just remove the .txt). I think that comes from the fact that when I save it, the .stl extension seems to concerned only the mesh, not the geometry (I've posted a photo) whereas I didn't create any mesh... Should I create a mesh inside my cube with Gmsh which will not been use after because snappy will mesh outside the cube in order just to "shape the geometry" ? Thank you for any help, Adrien |
|
May 20, 2016, 08:11 |
|
#2 |
Member
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10 |
Hi again,
I've define a mesh with Gmsh (just a single hexahedral cell to make my cube) before saving my file in .stl. Now, when I'm importing this geometry it seems to work fine, snappy is meshing all around my cube. BUT, there is a but... As you can see in the picture, snappy doesn't fit perfectly the cube... what is it due to ?
|
|
May 20, 2016, 08:31 |
|
#3 |
Member
AdOo
Join Date: Mar 2016
Location: Bordeaux
Posts: 91
Rep Power: 10 |
Hi all,
My problem was coming from my snappyHexMeshDict: replacing Code:
cube.stl { // Surface-wise min and max refinement level level (3 4); } Code:
cube.stl { // Surface-wise min and max refinement level level (4 4); } Have a nice day, and good luck for your project |
|
May 20, 2016, 12:22 |
|
#4 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
If you want to capture the edges of the cube, you could also increase the feature refinement. Take note that you would need to have an eMesh for this before you run snappy. The eMesh file can be obtained from the surfaceFeatureExtract command. Cheers, Antimony |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 05:38 |
[snappyHexMesh] 'cracks' in Mesh on surface using STL | Fschi | OpenFOAM Meshing & Mesh Conversion | 5 | January 19, 2017 12:24 |
[ICEM] STL file! How is it useful? | bidi | ANSYS Meshing & Geometry | 0 | December 26, 2016 21:33 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 04:24 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |