<div dir="ltr">Hi, i have problem with physical group labels.<div>I open gmsh.exe and create physical surface. In geo file i see something like this:</div><div><br></div><div><i>Physical Surface(35) = {18, 20, 22, 24}; </i><br></div><div><br></div><div>But, i need label for this surface like this:</div><div><br></div><div><i>Physical Surface("label", 35) = {18, 20, 22, 24};</i><br></div><div><i><br></i></div><div>Can i label this surface without edit geo file in text editor?</div><div><br></div><div>-----------------------------------------------------------------</div><div><br></div><div>Second question:</div><div>Ok, i have geo file with physical surfaces without labels:</div><div><i>Physical Surface(35) = {18, 20, 22, 24};</i></div><div><br></div><div>can i get id for this physical surface?</div><div>If physical surface has label, i just use this function:</div><div><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><i>Gmodel *m;</i></pre><pre style="margin-top:0px;margin-bottom:0px"><i>m<span style="color:rgb(170,170,170)">-></span>getPhysicalName<span style="color:rgb(170,170,170)">(</span>dimension<span style="color:rgb(170,170,170)">,</span><span style="color:rgb(192,192,192)"> </span>id<span style="color:rgb(170,170,170)">);</span></i></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#aaaaaa"><i>m->getPhysicalNumber(dimension, name);</i></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#aaaaaa"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#aaaaaa">How can i get id for surfaces without labels?</font></pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#aaaaaa">thanks in advice</font></pre></div></div>