Hi all,
I’ve been trying out gmsh and am mystified by the numbering of the physical surfaces. I found out that the physical surface I need as a boundary has number 24 by opening the GUI and moving the cursor on the desired surface. How are these numbers set? How can I find out which number it is without the GUI?
My .geo file is as follows:
msh = 1;
m = 1;x0 = 0;
y0 = 0;
z0 = 0;
x1 = 0.99;
y1 = 0.1;
x2 = 0.93;
y2 = 0.075;
x3 = 1.0;
y3 = 0.05;
x4 = 0.93;
y4 = 0.025;
z1 = 0.01;Point(1) = {x0, y0, z0,msh};
Point(2) = {x0, y1, z0,msh};
Point(3) = {x1, y1, z0,msh};
Point(4) = {x2, y2, z0,msh};
Point(5) = {x3, y3, z0,msh};
Point(6) = {x4, y4, z0,msh};
Point(7) = {x1, y0, z0,msh};Line(1) = {1, 2};
Line(2) = {2, 3};
Spline(3) = {3, 4, 5, 6, 7};
Line(4) = {7, 1};
Line Loop(5) = {1, 2, 3, 4};
Line Loop(7) = {3};
Plane Surface(6) = {5};Extrude {0, 0, z1}{ Surface{6}; }
//+
Physical Surface(1) = {24};
Physical Volume(“all”) = {1};
Thank you so much!