mesh2.geo 643 Bytes
Newer Older
tleyssens6's avatar
tleyssens6 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
L = 0.3;
H = 0.4;
y = 0;
lc = .01;

Point(1) = {-L, H, 0, lc};
Point(2) = {-L, 0, 0, lc};
Point(3) = {L, 0, 0, lc};
Point(4) = {L, H, 0, lc};
Point(5) = {-L/10, 0, 0, lc};
Point(6) = {L/10, 0, 0, lc};
Line(1) = {1, 2};
Line(2) = {2, 5};
Line(3) = {5, 6};
Line(4) = {6, 3};
Line(5) = {3, 4};
Line(6) = {4, 1};

Line Loop(1) = {1:6};

Plane Surface(1) = {1};

Physical Line("Left") = {1};
Physical Line("BottomLeft") = {2};
Physical Line("BottomMiddle") = {3};
Physical Line("BottomRight") = {4};
Physical Line("Right") = {5};
Physical Line("Top") = {6};
Physical Surface("Domain") = {1};
Physical Point("PtFix") = {1};
Mesh.MshFileVersion = 2;