[Gmsh] Basic refinement

Guilherme Praciano Karst Caminha gpkc at cin.ufpe.br
Tue Jul 1 17:50:34 CEST 2014


Hello,

Take a look at background mesh techniques.
Here's an example from my research.

Best regards


2014-07-01 11:07 GMT-03:00 Amarpal Singh Kapoor <
amarpalsinghkapoor at gmail.com>:

> Dear users,
>
> I'm new to gmsh and am trying to refine a mesh in specific regions. Lets
> consider my domain to be a unit square and my current aim is to have a
> finer mesh along the boundaries. I'm using the method of attractor and
> threshold to refine my mesh locally (like in t10.geo). I can have a
> successful refinement on any 3 boundaries only. The moment I include the
> 4th edge in the edge list, I get an almost uniform mesh.
>
> Q1. What is the reason behind this?
>
> [image: Inline image 1]
>
> Q2. Is there a better way of achieving this type of refinement?
>
> I have attached my .geo file with this email.
>
> Kind Regards,
> Amar
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140701/013ccc24/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 154830 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140701/013ccc24/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Geometria2D.geo
Type: application/octet-stream
Size: 1489 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140701/013ccc24/attachment.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: View2D.pos
Type: application/octet-stream
Size: 205526 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140701/013ccc24/attachment.pos>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bgmesh.png
Type: image/png
Size: 84978 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140701/013ccc24/attachment-0001.png>