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

[CAD formats] Degenerate triangles in STL for use in sHM

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

Like Tree1Likes
  • 1 Post By Dreoasteh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2017, 06:22
Question Degenerate triangles in STL for use in sHM
  #1
Member
 
Marc
Join Date: May 2017
Posts: 42
Rep Power: 6
Dreoasteh is on a distinguished road
Hello!

I've been working on an STL file (shown in this image):



My aim is to use this STL in snappyHeyMesh, however when running the surfaceCheck utility illegalFaces as well as problemFaces appear. In this image the bad triangles can be seen easily:



Therefore, I am worried that the final mesh will turn out badly, or not turn out at all!

I have previously used a no-thickness version of this STL and although problemFaces appeared the mesh turned out ok.

To clarify, I did not make this STL in a CAD software, instead I exported it from a mathematical modelling software called MathMod.

So my question is: can this be an issue? If so, what could I do to improve triangle quality while retaining the same shape?

Thank you
Dreoasteh is offline   Reply With Quote

Old   September 27, 2017, 11:17
Default
  #2
Member
 
Marc
Join Date: May 2017
Posts: 42
Rep Power: 6
Dreoasteh is on a distinguished road
I don't want to be one of those guys who solves his problem and does not give any advice for people with the same issue, so here we go:

I found two main options to improve STL quality though third party software:

  1. Blender

    I liked cellBlender in particular, which is a version of Blender with extra features directed towards chemistry/biology cell and molecule research. However, its Mesh Analyzer and tutorials about how to repair and remesh were fantastic. For the degenerate triangles in STLs try decimating your geometry.
    .
  2. Meshlab

    Many mesh operations (filters as they call them) are based on research papers which is great if you need to give proof of what you do to your geometry. The best option in this software for cleaning (or downsizing) your STL or OBJ files is the Quadratic Edge Collapse option, a good guide can be found here.
I hope this informations helps someone someday.
Loekatoni likes this.
Dreoasteh is offline   Reply With Quote

Reply

Tags
illegal face, snappyhexmesh, stl file

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 07:01
Triangles are degenerate Pointwise pcm Pointwise & Gridgen 4 July 13, 2017 12:08
[snappyHexMesh] Checkinf if SHM stl files are watertight fracasce OpenFOAM Meshing & Mesh Conversion 2 April 25, 2017 07:50
[snappyHexMesh] SHM does not follow STL geometry well Illmatic OpenFOAM Meshing & Mesh Conversion 7 July 23, 2016 12:07
[snappyHexMesh] sHM with cyclic patch on stl geometry johannesk OpenFOAM Meshing & Mesh Conversion 2 August 21, 2009 10:08


All times are GMT -4. The time now is 08:10.