[Gmsh] Getting a graded mesh metric

Jiplea, Marius marius.jiplea11 at imperial.ac.uk
Fri Aug 10 11:31:18 CEST 2012


Hello again,

I am trying to mesh the surface of the ocean in a graded way. I'd like the mesh to be fine (small) near the shore and coarse (large) as we go far from the shore. I'm using compound lines in order to avoid getting a mesh near the shorelines that is smaller then the one I wish to obtain.

I know that by using a threshold field I should be able to control the gradation of a mesh, but it seems that it does not work (maybe because I'm using compound lines?).

Kind Regards,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120810/6fa83253/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.png
Type: image/png
Size: 37559 bytes
Desc: mesh.png
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120810/6fa83253/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.geo
Type: application/octet-stream
Size: 352268 bytes
Desc: mesh.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120810/6fa83253/attachment.geo>