[Gmsh] Adaptive meshing using a background mesh
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Thu Jan 31 17:54:47 CET 2013
On 08 Nov 2012, at 19:38, N.O. Jaensson <N.O.Jaensson at tue.nl> wrote:
> 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?
>
It's up to you: the two "meshes" are independent -- see tutorial/t7.geo (the background mesh is specified as a post-processing ".pos" file)
> 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
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine