<div><br></div><div><br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user ">Sent from <a href="https://protonmail.com">ProtonMail</a>, Swiss-based encrypted email.<br></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><blockquote class="protonmail_quote" type="cite"><div>-------- Original Message --------<br></div><div>Subject: [Gmsh] simple question<br></div><div>Local Time: June 30, 2017 11:06 AM<br></div><div>UTC Time: June 30, 2017 1:06 AM<br></div><div>From: luis.saturday@gmail.com<br></div><div>To: gmsh@onelab.info<br></div><div><br></div><div dir="ltr"><div><div>Hi Gmsh team:<br></div></div><div><div>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:<br></div><div><br></div><div>lc = 5e-2;<br></div><div><br></div><div>Point(1) = {0, 0, 0, lc};<br></div><div>Point(2) = {.1, 0, 0, lc};<br></div><div>Point(3) = {.1, .1, 0, lc};<br></div><div>Point(4) = {0, .1, 0, lc};<br></div><div><br></div><div>Line(1) = {1,2};<br></div><div>Line(2) = {2,3};<br></div><div>Line(3) = {3,4};<br></div><div>Line(4) = {4,1};<br></div><div><br></div><div>Line Loop(1) = {1,2,3,4};<br></div><div><br></div><div>Plane Surface(2) = {1};<br></div><div><br></div><div>Physical Surface(2001) = {1} ;<br></div></div></div></blockquote><div><br></div><div>Change the RHS here to {2}.  The idea is that 'the <var>expression-list</var> 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.<br></div><div><br></div><div><a href="http://gmsh.info/doc/texinfo/gmsh.html#index-Physical-surfaces">http://gmsh.info/doc/texinfo/gmsh.html#index-Physical-surfaces</a><br></div><div><br></div>