CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] STL exported from CATIA and snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2012, 14:02
Default STL exported from CATIA and snappyHexMesh
  #1
ma-
New Member
 
Join Date: Apr 2012
Posts: 2
Rep Power: 0
ma- is on a distinguished road
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
Attached Files
File Type: gz profils.stl.gz (15.8 KB, 12 views)
ma- is offline   Reply With Quote

Old   April 9, 2012, 14:11
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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.
lovecraft22 is offline   Reply With Quote

Old   April 9, 2012, 14:35
Default
  #3
ma-
New Member
 
Join Date: Apr 2012
Posts: 2
Rep Power: 0
ma- is on a distinguished road
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.
ma- is offline   Reply With Quote

Old   April 9, 2012, 15:06
Default
  #4
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
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.
lovecraft22 is offline   Reply With Quote

Reply

Tags
catia, snappyhexmesh, stl


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 07:01.