1
// define a layer variable
4
// define a len variable
7
Point(1) = {0.0, 0.0, 0.0, 1.0};
9
Extrude {len, 0.0, 0.0} {
10
Point{1}; Layers{lay};
13
Extrude {0.0, len, 0.0} {
17
Extrude {0.0, 0.0, len} {
18
Surface{5}; Layers{lay};
22
Physical Surface(1) = {5};
25
Physical Surface(2) = {27};
28
Physical Surface(3) = {26};
31
Physical Surface(4) = {18};
34
Physical Surface(5) = {14};
37
Physical Surface(6) = {22};
39
Physical Volume(1) = {1};