CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

create STL file with zero thickness plates with surfaceMeshTriangulate

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2011, 07:53
Default create STL file with zero thickness plates with surfaceMeshTriangulate
  #1
New Member
 
Tim Gronarz
Join Date: Sep 2011
Location: Aachen
Posts: 4
Rep Power: 5
TimG is on a distinguished road
Hi,

i am trying to generate an STL file from a Fluent/Gambit Mesh (*.msh) with surfaceMeshTriangulate for mesh generation with SnappyHexMesh . The surfacemesh contains plates with zero thickness (like a baffle), that are not connected to a wall on each side. After the creation of the STL file with surfaceMeshTriangulate, these plates have disappeared. I believe that the reason is that the STL Format is used to describe Volumes and subsequently the plates are ignored. Is that true? Is there a way to keep these plates?

Additionally, if i add a plate by hand, snappyHexMesh does not snap the STL correctly. At the edges that are not connected to a Wall, the Mesh looks badly deformed. Why is that?

Kind regards
Tim
TimG is offline   Reply With Quote

Old   February 9, 2012, 06:10
Default
  #2
Member
 
matteo lombardi
Join Date: Apr 2009
Posts: 61
Rep Power: 8
matteoL is on a distinguished road
Hello Tim,
I am trying to use snappyHExMesh on a zero thickness geometry like you did and indeeed the result is not very satisfactory.. The edges of the surface are not snapped at all..

Have you managed to find a way to resolve the issue?

Thanks,matteo
matteoL is offline   Reply With Quote

Old   February 9, 2012, 09:39
Default
  #3
New Member
 
Tim Gronarz
Join Date: Sep 2011
Location: Aachen
Posts: 4
Rep Power: 5
TimG is on a distinguished road
Hi Matteo,


i did not find a way. But i did some research on the STL format. It is designed for the representation of volumes, and since a zero thickness plate is not a volume, it might be a reason why the "surface mesh triangulate" tool can't create STL Files from other geometry files that include zero thickness plates.

It is possible to create stl files containing zero thickness parts with other CAD Tools and mesh them with snappyHexMesh. But if you take a look at the windshield (a 2D geometry) of the motorcycle in the motorcycle tutorial, you will find that the upper edge is snapped very poor. I believe snappyHexMesh is not capable to mesh zero thickness geometries correctly for now.
If anyone knows how to mesh zero thickness geometries with snappyHexMesh, feel free to reply.


Kind regards,
Tim
TimG is offline   Reply With Quote

Old   February 9, 2012, 12:47
Default
  #4
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 8
sail is on a distinguished road
I have to confirm the TimG's word about it. it is really hard if not impossible to use a 0 thinckness stl file.

to overcome this i usually have two options:

1) if my cell number permit, i use a solid with very low thickness and use it normally. take keep in mind that you can scale the mesh after the sHM phase, so it is possible, if your geometry permit, to have s sensible thickness in the z dimension, mesh it, and then scale the mesh to keep it as low as possible. you can find examples (but applied to 3d body) in the wigley hull tutorial (LTSInetrFoam

2) use external meshing sw.

good luck.
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail is offline   Reply With Quote

Reply

Tags
snappyhexmesh, stl, surfacemeshtriangulate

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


All times are GMT -4. The time now is 12:50.