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

[snappyHexMesh] create STL file with zero thickness plates with surfaceMeshTriangulate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 24, 2011, 06: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: 14
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, 05:10
Default
  #2
Member
 
matteo lombardi
Join Date: Apr 2009
Posts: 67
Rep Power: 16
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, 08:39
Default
  #3
New Member
 
Tim Gronarz
Join Date: Sep 2011
Location: Aachen
Posts: 4
Rep Power: 14
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, 11:47
Default
  #4
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 16
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


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
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


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