[Gmsh] Remesh STL with constraint on edge length / area

Domingo Chavez azrael3000 at gmx.net
Thu Aug 9 15:59:43 CEST 2012


Dear all,

I have the following problem that I'm trying to solve:

The input file is an STL file, which I can load into gmsh without problems following tutorial # 13.
Next I want to remesh the geometry, which is an open skin-mesh such that:
1.) Edge length < threshold1
2.) Triangle area < threshold2

>From what I understand I should be able to use Fields to obtain this. However, I was not able to figure out how to set the edge length / triangle area as field.

Another issue is the meshing itself. I saw that the points are on the surface but the edges that are created are not necessarily part of the surface. This results in some smoothing of corners, which ideally, I'd like to avoid.

Thanks in advance for your help.

Best regards,
Arno