[Gmsh] Adaptive meshing using a background mesh

N.O. Jaensson N.O.Jaensson at tue.nl
Thu Nov 8 19:38:42 CET 2012


Dear all,

I am trying to create a (2D) mesh where very small areas are refined. The refinement is dependent on the solution of a previous simulation and there is no easy way to do the refinements using an Attractor field with lines and/or points. Therefore, I would like to use a background mesh. 

My first question is about how the background is exactly used to determine the element sizes. Is there some sort of ‘sampling mesh’, where the vertices are used to determine the values in the background mesh? If so, what is the resolution of this sampling mesh?

My second question is related to the first. Because it would be too time consuming to make the whole sampling mesh with the resolution of the small areas, I would like to use an iterative procedure (as suggested in the manual). However, I am having difficulty implementing this iterative process in gmsh. I tried using ‘merge’, but it always seems that the same sampling mesh is used, yielding the same result for every iteration. Can someone point me in the right direction?

Thank you very much in advance!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121108/704adada/attachment.html>