Skip to content

Commit cd90061

Browse files
committed
update script and add mesh
1 parent 9a3c705 commit cd90061

File tree

3 files changed

+8620
-15
lines changed

3 files changed

+8620
-15
lines changed

misc/3dblock.geo

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
w = 1e-5;
2+
cl = 1e-6;
3+
4+
xl = 0.0;
5+
xh = w;
6+
yl = 0.0;
7+
yh = w;
8+
zl = 0.0;
9+
zh = w;
10+
11+
Point(1) = {xl, yl, zl, cl};
12+
Point(2) = {xh, yl, zl, cl};
13+
Point(3) = {xh, yh, zl, cl};
14+
Point(4) = {xl, yh, zl, cl};
15+
Point(5) = {xl, yl, zh, cl};
16+
Point(6) = {xh, yl, zh, cl};
17+
Point(7) = {xh, yh, zh, cl};
18+
Point(8) = {xl, yh, zh, cl};
19+
20+
Line(1) = {3,7};
21+
Line(2) = {6,2};
22+
Line(3) = {6,7};
23+
Line(4) = {3,2};
24+
Line(5) = {8,7};
25+
Line(6) = {8,4};
26+
Line(7) = {3,4};
27+
Line(8) = {8,5};
28+
Line(9) = {5,1};
29+
Line(10) = {4,1};
30+
Line(11) = {1,2};
31+
Line(12) = {5,6};
32+
Line Loop(13) = {1,-3,2,-4};
33+
Plane Surface(14) = {13};
34+
Line Loop(15) = {5,-3,-12,-8};
35+
Plane Surface(16) = {15};
36+
Line Loop(17) = {12,2,-11,-9};
37+
Plane Surface(18) = {17};
38+
Line Loop(19) = {11,-4,7,10};
39+
Plane Surface(20) = {19};
40+
Line Loop(21) = {7,-6,5,-1};
41+
Plane Surface(22) = {21};
42+
Line Loop(23) = {10,-9,-8,6};
43+
Plane Surface(24) = {23};
44+
Surface Loop(25) = {22,20,18,16,14,24};
45+
Volume(26) = {25};
46+
Physical Surface("top") = {20};
47+
Physical Surface("bot") = {16};
48+
Physical Volume("bulk") = {26};

0 commit comments

Comments
 (0)