1
Point(1) = {0.0, 0.0, 0.0, 0.05};
2
Point(2) = {0.3, 0.0, 0.0, 0.05};
3
Point(3) = {0.3, 0.0, 0.3, 0.05};
4
Point(4) = {0.0, 0.0, 0.3, 0.05};
5
Point(5) = {0.0, 1.0, 0.0, 0.05};
6
Point(6) = {0.3, 1.0, 0.0, 0.05};
7
Point(7) = {0.3, 1.0, 0.3, 0.05};
8
Point(8) = {0.0, 1.0, 0.3, 0.05};
26
Line Loop(5) = {1,2,3,4};
28
// Side surface, nearest to the x axis
29
Line Loop(6) = {1,-10,-5,9};
31
// Side surface, furthest from the x axis
32
Line Loop(7) = {-3,-11,7,12};
34
// Side surface, nearest to the z axis
35
Line Loop(8) = {-4,-12,8,9};
37
// Side surface, furthest from the z axis
38
Line Loop(9) = {2,-11,-6,10};
41
Line Loop(10) = {5,6,7,8};
43
Plane Surface(20) = {5};
44
Plane Surface(21) = {6};
45
Plane Surface(22) = {7};
46
Plane Surface(23) = {8};
47
Plane Surface(24) = {9};
48
Plane Surface(25) = {10};
51
Physical Line(333) = {5};
52
// Sides of the box perpendicular to the z axis
53
Physical Line(666) = {6,7};
54
// Sides of the box perpendicular to the x axis
55
Physical Line(777) = {8,9};
57
Physical Line(444) = {10};
59
// This is just to ensure all the interior
60
// elements get written out.
61
Physical Surface(333) = {20};
62
Physical Surface(666) = {21,22};
63
Physical Surface(777) = {23,24};
64
Physical Surface(444) = {25};
66
Surface Loop(800) = {22, 20, 21, 24, 25, 23};
68
Physical Volume(999) = {900};