[Gmsh] Local Mesh Refinement in GMSH

Geordie McBain gdmcbain at freeshell.org
Sun Jan 16 23:03:08 CET 2011


2011/1/15 S. Swayamjyoti <swayam.151 at gmail.com>:
> Hello GMSH Users,
>
> I am new to GMSH. I want to refine my grid in a particular region of the
> grid. Could someone tell me how to do this?

There are many many ways to do this with Gmsh; see
http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes.
 Which is best for you depends on your problem.  Perhaps the simplest
of the methods is to specify `the optional last expression [which]
sets the prescribed mesh element size at that point' when defining
your geometric Points
(http://geuz.org/gmsh/doc/texinfo/gmsh.html#Points); this is
demonstrated in tutorial 5
(http://geuz.org/gmsh/doc/texinfo/gmsh.html#t5_002egeo).