|
[Sponsors] |
[snappyHexMesh] STL exported from CATIA and snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2012, 14:02 |
STL exported from CATIA and snappyHexMesh
|
#1 |
New Member
Join Date: Apr 2012
Posts: 2
Rep Power: 0 |
Hello everyone,
I'm new to openFoam and I'm trying to use snappyHexMesh with a file I exported from CATIA as STL. I took flange as an example from the tutorials, but it seems that I'm missing something. 1. I put my STL file in the triSurface folder 2. I edited the sHMD according to it 3. After running "Allrun" from the root folder successfully, I can't see my profiles in paraview. I'm suspecting the blockMeshDict to be incorrect. Especially the vertices part. In my STL file, vertex coordinates go approximately from -1.0e-002 to 6.0e+002. I can't see how I should update the blockMeshDict to match those values. Or maybe I'm completely missing the point ? What am I doing wrong ? NB: I've attached my STL file to this thread |
|
April 9, 2012, 14:11 |
|
#2 |
Senior Member
|
Hi Ma!
the problem is that you have 2D profiles. You need some 3D bodies to get them picked up by snappy otherwise you'll end up with your blockMesh mesh only… Whether you want to run a 2D or 3D simulation, you still need a 3D geometry. |
|
April 9, 2012, 14:35 |
|
#3 |
New Member
Join Date: Apr 2012
Posts: 2
Rep Power: 0 |
Hello lovecraft22,
Thank you for your answer. I indeed want a 2D simulation. Actually, my profiles are extruded, but very thin (< 1mm). Isn't that enough ? In a past experience, I meshed a single profile with gmsh, and I had to extrude a tiny bit out of it (1 mesh depth) and it went well. My goal here is to reproduce it with snappyHexMesh and 3 naca profiles. |
|
April 9, 2012, 15:06 |
|
#4 |
Senior Member
|
In my experience sHM messes a little bit with thin geometries, that means that if you have a thin surface you need a very fine mesh to avoid sHM to bridge across the surface. So, I would suggest you to extrude your profiles a little bit and have a blockMesh shorter than their span. So, if you extrude them by 50mm you block mesh should be 40mm wide. This way you can then generate the mesh to perform a 2d simulation.
One your mesh is done you'll end up with a 3D mesh. You'll then need to extrude one of the faces to have a 2D mesh. Always remember that openFoam can perform 2D simulation but the geometry and the domain need to be 3D anyway. I hope that's clear, if is not, just let me know. |
|
Tags |
catia, snappyhexmesh, stl |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Catia to snappyHexMesh | bgarrood | OpenFOAM Meshing & Mesh Conversion | 14 | April 12, 2018 20:06 |
[snappyHexMesh] Strange cells created by SnappyHexMesh | newToOpenFoam | OpenFOAM Meshing & Mesh Conversion | 4 | December 21, 2014 20:06 |
[snappyHexMesh] snappyhexmesh | sasanghomi | OpenFOAM Meshing & Mesh Conversion | 7 | August 13, 2013 07:18 |
[snappyHexMesh] STL - File and sHM | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 14, 2010 09:12 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 20:43 |