1
// define a layer variable
6
// define a len variable
11
Point(1) = {0.0, 0.0, 0.0, 1.0};
13
Extrude {len_x, 0.0, 0.0} {
14
Point{1}; Layers{lay_x};
17
Extrude {0.0, len_y, 0.0} {
18
Line{1}; Layers{lay_y};
21
Extrude {0.0, 0.0, len_z} {
22
Surface{5}; Layers{lay_z};
26
Physical Surface(1) = {5};
29
Physical Surface(2) = {27};
32
Physical Surface(3) = {26};
35
Physical Surface(4) = {18};
38
Physical Surface(5) = {14};
41
Physical Surface(6) = {22};
43
Physical Volume(1) = {1};