mesh.geo 1.29 KB
Newer Older
Nathan Coppin's avatar
Nathan Coppin 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
rin = 0.01905;
wout = 0.5;
lout = 0.15;
lcin = wout/20; 
lcout = wout/20;

Point(1) = {0, 0, 0};

/* Inner Circle */
Point(10) = {rin, 0, 0, lcin};
Point(11) = {0, rin, 0, lcin};
Point(12) = {-rin, 0, 0, lcin};
Point(13) = {0, -rin, 0, lcin};

Circle(10)={10, 1, 11};
Circle(11)={11, 1, 12};
Circle(12)={12, 1, 13};
Circle(13)={13, 1, 10};

Line Loop(10) = {10, 11, 12, 13};
Physical Line("Inner") = {10, 11, 12, 13};

/* Outer Boundary */

Nathan Coppin's avatar
Nathan Coppin committed
25
Point(17) = {-0.5,1.65,0,lcout};
Nathan Coppin's avatar
Nathan Coppin committed
26
27
Point(18) = {-lout,wout,0,lcout};
Point(19) = {-lout,-wout,0,lcout};
Nathan Coppin's avatar
Nathan Coppin committed
28
29
Point(20) = {-0.045,-0.6,0,lcout};
Point(21) = {0.045,-0.6,0,lcout};
Nathan Coppin's avatar
Nathan Coppin committed
30
31
Point(22) = {lout,-wout,0,lcout};
Point(23) = {lout,wout,0,lcout};
Nathan Coppin's avatar
Nathan Coppin committed
32
Point(24) = {0.5,1.65,0,lcout};
Nathan Coppin's avatar
Nathan Coppin committed
33
34
35
36
37
38
39
40

Line(17) = {17,18};
Line(18) = {18,19};
Line(19) = {19,20};
Line(20) = {20,21};
Line(21) = {21,22};
Line(22) = {22,23};
Line(23) = {23,24};
Nathan Coppin's avatar
Nathan Coppin committed
41
Line(24) = {24,17};
Nathan Coppin's avatar
Nathan Coppin committed
42

Nathan Coppin's avatar
Nathan Coppin committed
43
44
Physical Line("Right") = {18};
Physical Line("Left") = {22};
Nathan Coppin's avatar
Nathan Coppin committed
45
Physical Line("RightUp") = {17};
Nathan Coppin's avatar
Nathan Coppin committed
46
Physical Line("RightDown") = {19};
Nathan Coppin's avatar
Nathan Coppin committed
47
Physical Line("LeftUp") = {23};
Nathan Coppin's avatar
Nathan Coppin committed
48
Physical Line("LeftDown") = {21};
Nathan Coppin's avatar
Nathan Coppin committed
49
Physical Line("LockDown") = {20};
Nathan Coppin's avatar
Nathan Coppin committed
50
Physical Line("LockUp") = {24};
Nathan Coppin's avatar
Nathan Coppin committed
51
Line Loop(20) = {17, 18, 19, 20, 21, 22, 23, 24};
Nathan Coppin's avatar
Nathan Coppin committed
52
53
54
55
56
/* Plane Surface */
Plane Surface(1) = {20, 10};
Physical Surface("Domain") = {1};
Physical Point("PtFix") = {13};
Mesh.MshFileVersion = 2;