[Gmsh] 2D: Manual mesh refinement

Oliver Willekens oliver.willekens at elis.ugent.be
Tue Jul 8 23:34:29 CEST 2014


2014-07-08 17:57 GMT+02:00 benjamin <benjamin.bercovici at gmail.com>:

> Dear all,
>
> I wrote a .geo file that describes a 2D electrostatic confinement device
> (see the attached document for the .geo file and the resulting mesh). The
> geometry is comprised of a circular wall and several electrodes, whose
> cross sections are circular. The electrodes are asymmetrically distributed
> so that particles can exit the device through the asymmetry.
>
> I would like to refine the (2D) mesh along the exit path of the particles
> (i.e in the region that is highlighted on the screenshot). I read the
> documentation of gmsh, but I could not find a (simple) solution to my
> problem.
>

Create a field of type "Box", as in [tutorial 10][1]. Considering your
desired geometry, that would be the easiest.

[1]: http://geuz.org/gmsh/doc/texinfo/gmsh.html#t10_002egeo


> How would you do that? I was thinking of creating a set of points in the
> region of interest so that the mesh can connect with them and get refined,
> but this idea may be to naive.
>
> Best regards,
>
> Benjamin Bercovici
>
> ps: you can call "gmsh -2 iec.geo" to generate the mesh, or "gmsh iec.geo"
> and then click "Mesh->2D ".
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>


-- 
Oliver Willekens
PhD Student
[image: LCP group logo] <https://lcp.elis.ugent.be/>

Liquid Crystals & Photonics Group
Sint- Pietersnieuwstraat 41
9000 Gent
Phone: +32 9 264.89.51
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140708/406accb1/attachment.html>