[Gmsh] How to perform local mesh refinement in GMSH ?

DILASSER Guillaume Guillaume.DILASSER at cea.fr
Fri Feb 24 08:16:41 CET 2017

Dear Prithivirajan,

Alternately, you can also use fields to specify your mesh density near certain points. You might want to have a look to the Sphere field or the attractor field documentations here<http://gmsh.info/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes>. There is also an example of what you can achieve here<http://gmsh.info/doc/texinfo/gmsh.html#t10_002egeo>.

Sincerely Yours,

Guillaume DILASSER
Doctorant SACM / LEAS
CEA - Centre de Saclay - Bât.123 - PC 319c
91191 Gif sur Yvette Cedex - France -

guillaume.dilasser at cea.fr<mailto:guillaume.dilasser at cea.fr>

De : gmsh [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] De la part de Nicolás Biocca
Envoyé : jeudi 23 février 2017 22:02
À : Prithivirajan V <prithivi.purdue at gmail.com>
Cc : gmsh at onelab.info
Objet : Re: [Gmsh] How to perform local mesh refinement in GMSH ?

Hello, I don't know about refinement around the sphere, but you can do it around a local point. You need to define that point and include it in volumes, surfaces or lines.
For example, suppose you have defined x,y,z,lc variables and Surface 20 numbering exists.
Point(11) = {x,y,z,lc};
Point(11) In Surface(20);


2017-02-23 12:49 GMT-03:00 Prithivirajan V <prithivi.purdue at gmail.com<mailto:prithivi.purdue at gmail.com>>:

Hello All,

I am using Gmsh for creating a finite element mesh. After I create the volume mesh, Is there a way to do a local mesh refinement around a particular point (say x,y,z) and within a sphere of given radius.

Kindly help !


gmsh mailing list
gmsh at onelab.info<mailto:gmsh at onelab.info>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170224/1ac1dc6a/attachment-0001.html>

More information about the gmsh mailing list