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: [email protected]
> To: [email protected]
>
> 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_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh