[Gmsh] simple question

G. D. McBain gdmcbain at protonmail.com
Fri Jun 30 06:35:00 CEST 2017


Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.

> -------- Original Message --------
> Subject: [Gmsh] simple question
> Local Time: June 30, 2017 11:06 AM
> UTC Time: June 30, 2017 1:06 AM
> From: luis.saturday at gmail.com
> To: gmsh at onelab.info
>
> Hi Gmsh team:
>
> I just strated using Gmsh for my work. I have a very simple question. I am trying to mesh a 2D square with the following input:
> lc = 5e-2;
> Point(1) = {0, 0, 0, lc};
> Point(2) = {.1, 0, 0, lc};
> Point(3) = {.1, .1, 0, lc};
> Point(4) = {0, .1, 0, lc};
> Line(1) = {1,2};
> Line(2) = {2,3};
> Line(3) = {3,4};
> Line(4) = {4,1};
> Line Loop(1) = {1,2,3,4};
> Plane Surface(2) = {1};
> Physical Surface(2001) = {1} ;

Change the RHS here to {2}. The idea is that 'the expression-list on the right hand side should contain the identification numbers of all the elementary surfaces that need to be grouped inside the physical surface', i.e. list the Plane Surface rather than the Line Loop.
http://gmsh.info/doc/texinfo/gmsh.html#index-Physical-surfaces
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170630/16b5f4b9/attachment.html>


More information about the gmsh mailing list