ludgerpaehler
commited on
Initial push
Browse files- .gitattributes +2 -0
- data/cavity/geometries/fine.geo +154 -0
- data/cavity/geometries/medium.geo +154 -0
- data/cavity/meshes/fine.msh +3 -0
- data/cavity/meshes/medium.msh +0 -0
- data/cylinder/geometries/fine.geo +102 -0
- data/cylinder/geometries/medium.geo +58 -0
- data/cylinder/meshes/fine.msh +0 -0
- data/cylinder/meshes/medium.msh +0 -0
- data/pinball/geometries/fine.geo +143 -0
- data/pinball/meshes/fine.msh +0 -0
- data/step/geometries/fine.geo +147 -0
- data/step/geometries/medium.geo +147 -0
- data/step/meshes/fine.msh +3 -0
- data/step/meshes/medium.msh +0 -0
.gitattributes
CHANGED
@@ -53,3 +53,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
data/cavity/meshes/fine.msh filter=lfs diff=lfs merge=lfs -text
|
57 |
+
data/step/meshes/fine.msh filter=lfs diff=lfs merge=lfs -text
|
data/cavity/geometries/fine.geo
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n = 350;
|
2 |
+
n1p = 200;
|
3 |
+
n2p = 100;
|
4 |
+
n3p = 100;
|
5 |
+
n1m = 150;
|
6 |
+
n2m = 100;
|
7 |
+
n3m = 50;
|
8 |
+
|
9 |
+
// Thick solid lines
|
10 |
+
Point(1) = { -0.6, 0.0, 0, 1/n};
|
11 |
+
Point(2) = { -0.6, 0.1, 0, 1/n};
|
12 |
+
Point(3) = { 2.5, 0.1, 0, 1/n};
|
13 |
+
Point(4) = { 2.5, 0.0, 0, 1/n};
|
14 |
+
Point(5) = { 1.75, 0.0, 0, 1/n};
|
15 |
+
Point(6) = { 1.0, 0.0, 0, 1/n};
|
16 |
+
Point(7) = { 1.0,-0.1, 0, 1/n};
|
17 |
+
Point(8) = { 0.0,-0.1, 0, 1/n};
|
18 |
+
Point(9) = { 0.0, 0.0, 0, 1/n};
|
19 |
+
Point(10) = { -0.4, 0.0, 0, 1/n};
|
20 |
+
|
21 |
+
// Thin solid lines
|
22 |
+
Point(11) = {-1.2, 0.0, 0, 1/n1p};
|
23 |
+
Point(12) = {-1.2,0.15, 0, 1/n1p};
|
24 |
+
Point(13) = { 2.5,0.15, 0, 1/n1p};
|
25 |
+
Point(14) = { 1.0,-0.2, 0, 1/n1m};
|
26 |
+
Point(15) = { 0.0,-0.2, 0, 1/n1m};
|
27 |
+
|
28 |
+
// Dashed lines
|
29 |
+
Point(16) = {-1.2, 0.3, 0, 1/n2p};
|
30 |
+
Point(17) = { 2.5, 0.3, 0, 1/n2p};
|
31 |
+
Point(18) = { 1.0,-0.35, 0, 1/n2m};
|
32 |
+
Point(19) = { 0.0,-0.35, 0, 1/n2m};
|
33 |
+
|
34 |
+
// Dotted lines
|
35 |
+
Point(20) = {-1.2, 0.5, 0, 1/n3p};
|
36 |
+
Point(21) = { 2.5, 0.5, 0, 1/n3p};
|
37 |
+
Point(22) = { 1.0,-1.0, 0, 1/n3m};
|
38 |
+
Point(23) = { 0.0,-1.0, 0, 1/n3m};
|
39 |
+
|
40 |
+
// Control location
|
41 |
+
Point(24) = {-0.35, 0.0, 0, 1/n};
|
42 |
+
|
43 |
+
// Measurement location
|
44 |
+
Point(25) = { 1.1, 0.0, 0, 1/n};
|
45 |
+
|
46 |
+
//+
|
47 |
+
Line(1) = {11, 12};
|
48 |
+
//+
|
49 |
+
Line(2) = {12, 16};
|
50 |
+
//+
|
51 |
+
Line(3) = {16, 20};
|
52 |
+
//+
|
53 |
+
Line(4) = {20, 21};
|
54 |
+
//+
|
55 |
+
Line(5) = {16, 17};
|
56 |
+
//+
|
57 |
+
Line(6) = {12, 13};
|
58 |
+
//+
|
59 |
+
Line(7) = {11, 1};
|
60 |
+
//+
|
61 |
+
Line(8) = {1, 10};
|
62 |
+
//+
|
63 |
+
Line(9) = {10, 24};
|
64 |
+
//+
|
65 |
+
Line(10) = {9, 6};
|
66 |
+
//+
|
67 |
+
Line(11) = {6, 25};
|
68 |
+
//+
|
69 |
+
Line(12) = {5, 4};
|
70 |
+
//+
|
71 |
+
Line(13) = {21, 17};
|
72 |
+
//+
|
73 |
+
Line(14) = {17, 13};
|
74 |
+
//+
|
75 |
+
Line(15) = {13, 3};
|
76 |
+
//+
|
77 |
+
Line(16) = {3, 4};
|
78 |
+
//+
|
79 |
+
Line(17) = {2, 3};
|
80 |
+
//+
|
81 |
+
Line(18) = {1, 2};
|
82 |
+
//+
|
83 |
+
Line(19) = {9, 8};
|
84 |
+
//+
|
85 |
+
Line(20) = {8, 15};
|
86 |
+
//+
|
87 |
+
Line(21) = {15, 19};
|
88 |
+
//+
|
89 |
+
Line(22) = {19, 23};
|
90 |
+
//+
|
91 |
+
Line(23) = {23, 22};
|
92 |
+
//+
|
93 |
+
Line(24) = {22, 18};
|
94 |
+
//+
|
95 |
+
Line(25) = {18, 14};
|
96 |
+
//+
|
97 |
+
Line(26) = {14, 7};
|
98 |
+
//+
|
99 |
+
Line(27) = {7, 6};
|
100 |
+
//+
|
101 |
+
Line(28) = {8, 7};
|
102 |
+
//+
|
103 |
+
Line(29) = {15, 14};
|
104 |
+
//+
|
105 |
+
Line(30) = {19, 18};
|
106 |
+
//+
|
107 |
+
Line(31) = {24, 9};
|
108 |
+
//+
|
109 |
+
Line(32) = {25, 5};
|
110 |
+
|
111 |
+
//+
|
112 |
+
Curve Loop(1) = {18, 17, 16, -12, -11, -32, -27, -28, -19, -31, -9, -8};
|
113 |
+
//+
|
114 |
+
Plane Surface(1) = {1};
|
115 |
+
//+
|
116 |
+
Curve Loop(2) = {1, 6, 15, -17, -18, -7};
|
117 |
+
//+
|
118 |
+
Plane Surface(2) = {2};
|
119 |
+
//+
|
120 |
+
Curve Loop(3) = {2, 5, 14, -6};
|
121 |
+
//+
|
122 |
+
Plane Surface(3) = {3};
|
123 |
+
//+
|
124 |
+
Curve Loop(4) = {3, 4, 13, -5};
|
125 |
+
//+
|
126 |
+
Plane Surface(4) = {4};
|
127 |
+
//+
|
128 |
+
Curve Loop(5) = {28, -26, -29, -20};
|
129 |
+
//+
|
130 |
+
Plane Surface(5) = {5};
|
131 |
+
//+
|
132 |
+
Curve Loop(6) = {29, -25, -30, -21};
|
133 |
+
//+
|
134 |
+
Plane Surface(6) = {6};
|
135 |
+
//+
|
136 |
+
Curve Loop(7) = {30, -24, -23, -22};
|
137 |
+
//+
|
138 |
+
Plane Surface(7) = {7};
|
139 |
+
//
|
140 |
+
Physical Surface("Fluid", 1) = {4, 3, 2, 1, 5, 6, 7};
|
141 |
+
//+
|
142 |
+
Physical Curve("Inlet", 2) = {3, 2, 1};
|
143 |
+
//+
|
144 |
+
Physical Curve("Freestream", 3) = {4};
|
145 |
+
//+
|
146 |
+
Physical Curve("Outlet", 4) = {13, 14, 15, 16};
|
147 |
+
// Note that the downstream wall is "12"... move that up here to add that to the slip BCs
|
148 |
+
Physical Curve("Slip", 5) = {7, 8};
|
149 |
+
//+
|
150 |
+
Physical Curve("Wall", 6) = {9, 19, 20, 21, 22, 23, 24, 25, 26, 27, 32, 12};
|
151 |
+
//+
|
152 |
+
Physical Curve("Control", 7) = {31};
|
153 |
+
//+
|
154 |
+
Physical Curve("Sensor", 8) = {11};
|
data/cavity/geometries/medium.geo
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n = 200;
|
2 |
+
n1p = 100;
|
3 |
+
n2p = 50;
|
4 |
+
n3p = 25;
|
5 |
+
n1m = 75;
|
6 |
+
n2m = 50;
|
7 |
+
n3m = 25;
|
8 |
+
|
9 |
+
// Thick solid lines
|
10 |
+
Point(1) = { -0.6, 0.0, 0, 1/n};
|
11 |
+
Point(2) = { -0.6, 0.1, 0, 1/n};
|
12 |
+
Point(3) = { 2.5, 0.1, 0, 1/n};
|
13 |
+
Point(4) = { 2.5, 0.0, 0, 1/n};
|
14 |
+
Point(5) = { 1.75, 0.0, 0, 1/n};
|
15 |
+
Point(6) = { 1.0, 0.0, 0, 1/n};
|
16 |
+
Point(7) = { 1.0,-0.1, 0, 1/n};
|
17 |
+
Point(8) = { 0.0,-0.1, 0, 1/n};
|
18 |
+
Point(9) = { 0.0, 0.0, 0, 1/n};
|
19 |
+
Point(10) = { -0.4, 0.0, 0, 1/n};
|
20 |
+
|
21 |
+
// Thin solid lines
|
22 |
+
Point(11) = {-1.2, 0.0, 0, 1/n1p};
|
23 |
+
Point(12) = {-1.2,0.15, 0, 1/n1p};
|
24 |
+
Point(13) = { 2.5,0.15, 0, 1/n1p};
|
25 |
+
Point(14) = { 1.0,-0.2, 0, 1/n1m};
|
26 |
+
Point(15) = { 0.0,-0.2, 0, 1/n1m};
|
27 |
+
|
28 |
+
// Dashed lines
|
29 |
+
Point(16) = {-1.2, 0.3, 0, 1/n2p};
|
30 |
+
Point(17) = { 2.5, 0.3, 0, 1/n2p};
|
31 |
+
Point(18) = { 1.0,-0.35, 0, 1/n2m};
|
32 |
+
Point(19) = { 0.0,-0.35, 0, 1/n2m};
|
33 |
+
|
34 |
+
// Dotted lines
|
35 |
+
Point(20) = {-1.2, 0.5, 0, 1/n3p};
|
36 |
+
Point(21) = { 2.5, 0.5, 0, 1/n3p};
|
37 |
+
Point(22) = { 1.0,-1.0, 0, 1/n3m};
|
38 |
+
Point(23) = { 0.0,-1.0, 0, 1/n3m};
|
39 |
+
|
40 |
+
// Control location
|
41 |
+
Point(24) = {-0.35, 0.0, 0, 1/n};
|
42 |
+
|
43 |
+
// Measurement location
|
44 |
+
Point(25) = { 1.1, 0.0, 0, 1/n};
|
45 |
+
|
46 |
+
//+
|
47 |
+
Line(1) = {11, 12};
|
48 |
+
//+
|
49 |
+
Line(2) = {12, 16};
|
50 |
+
//+
|
51 |
+
Line(3) = {16, 20};
|
52 |
+
//+
|
53 |
+
Line(4) = {20, 21};
|
54 |
+
//+
|
55 |
+
Line(5) = {16, 17};
|
56 |
+
//+
|
57 |
+
Line(6) = {12, 13};
|
58 |
+
//+
|
59 |
+
Line(7) = {11, 1};
|
60 |
+
//+
|
61 |
+
Line(8) = {1, 10};
|
62 |
+
//+
|
63 |
+
Line(9) = {10, 24};
|
64 |
+
//+
|
65 |
+
Line(10) = {9, 6};
|
66 |
+
//+
|
67 |
+
Line(11) = {6, 25};
|
68 |
+
//+
|
69 |
+
Line(12) = {5, 4};
|
70 |
+
//+
|
71 |
+
Line(13) = {21, 17};
|
72 |
+
//+
|
73 |
+
Line(14) = {17, 13};
|
74 |
+
//+
|
75 |
+
Line(15) = {13, 3};
|
76 |
+
//+
|
77 |
+
Line(16) = {3, 4};
|
78 |
+
//+
|
79 |
+
Line(17) = {2, 3};
|
80 |
+
//+
|
81 |
+
Line(18) = {1, 2};
|
82 |
+
//+
|
83 |
+
Line(19) = {9, 8};
|
84 |
+
//+
|
85 |
+
Line(20) = {8, 15};
|
86 |
+
//+
|
87 |
+
Line(21) = {15, 19};
|
88 |
+
//+
|
89 |
+
Line(22) = {19, 23};
|
90 |
+
//+
|
91 |
+
Line(23) = {23, 22};
|
92 |
+
//+
|
93 |
+
Line(24) = {22, 18};
|
94 |
+
//+
|
95 |
+
Line(25) = {18, 14};
|
96 |
+
//+
|
97 |
+
Line(26) = {14, 7};
|
98 |
+
//+
|
99 |
+
Line(27) = {7, 6};
|
100 |
+
//+
|
101 |
+
Line(28) = {8, 7};
|
102 |
+
//+
|
103 |
+
Line(29) = {15, 14};
|
104 |
+
//+
|
105 |
+
Line(30) = {19, 18};
|
106 |
+
//+
|
107 |
+
Line(31) = {24, 9};
|
108 |
+
//+
|
109 |
+
Line(32) = {25, 5};
|
110 |
+
|
111 |
+
//+
|
112 |
+
Curve Loop(1) = {18, 17, 16, -12, -11, -32, -27, -28, -19, -31, -9, -8};
|
113 |
+
//+
|
114 |
+
Plane Surface(1) = {1};
|
115 |
+
//+
|
116 |
+
Curve Loop(2) = {1, 6, 15, -17, -18, -7};
|
117 |
+
//+
|
118 |
+
Plane Surface(2) = {2};
|
119 |
+
//+
|
120 |
+
Curve Loop(3) = {2, 5, 14, -6};
|
121 |
+
//+
|
122 |
+
Plane Surface(3) = {3};
|
123 |
+
//+
|
124 |
+
Curve Loop(4) = {3, 4, 13, -5};
|
125 |
+
//+
|
126 |
+
Plane Surface(4) = {4};
|
127 |
+
//+
|
128 |
+
Curve Loop(5) = {28, -26, -29, -20};
|
129 |
+
//+
|
130 |
+
Plane Surface(5) = {5};
|
131 |
+
//+
|
132 |
+
Curve Loop(6) = {29, -25, -30, -21};
|
133 |
+
//+
|
134 |
+
Plane Surface(6) = {6};
|
135 |
+
//+
|
136 |
+
Curve Loop(7) = {30, -24, -23, -22};
|
137 |
+
//+
|
138 |
+
Plane Surface(7) = {7};
|
139 |
+
//
|
140 |
+
Physical Surface("Fluid", 1) = {4, 3, 2, 1, 5, 6, 7};
|
141 |
+
//+
|
142 |
+
Physical Curve("Inlet", 2) = {3, 2, 1};
|
143 |
+
//+
|
144 |
+
Physical Curve("Freestream", 3) = {4};
|
145 |
+
//+
|
146 |
+
Physical Curve("Outlet", 4) = {13, 14, 15, 16};
|
147 |
+
// Note that the downstream wall is "12"... move that up here to add that to the slip BCs
|
148 |
+
Physical Curve("Slip", 5) = {7, 8};
|
149 |
+
//+
|
150 |
+
Physical Curve("Wall", 6) = {9, 19, 20, 21, 22, 23, 24, 25, 26, 27, 32, 12};
|
151 |
+
//+
|
152 |
+
Physical Curve("Control", 7) = {31};
|
153 |
+
//+
|
154 |
+
Physical Curve("Sensor", 8) = {11};
|
data/cavity/meshes/fine.msh
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a19a75e8772356045564d9b3a937d517fa186f402adc309f1c3f634b97414b5
|
3 |
+
size 12578337
|
data/cavity/meshes/medium.msh
ADDED
The diff for this file is too large to render.
See raw diff
|
|
data/cylinder/geometries/fine.geo
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n1 = 17.0;
|
2 |
+
n2 = 5.0;
|
3 |
+
n3 = 0.7;
|
4 |
+
x_ninf = -60.0;
|
5 |
+
x_pinf = 200.0;
|
6 |
+
y_inf = 20.0;
|
7 |
+
x_plus = 1.5;
|
8 |
+
|
9 |
+
// Origin
|
10 |
+
Point(1) = {0, 0, 0, 1/n1};
|
11 |
+
|
12 |
+
// Cylinder points
|
13 |
+
Point(2) = { 0.5, 0.0, 0, 1/n1};
|
14 |
+
Point(3) = { 0.0, 0.5, 0, 1/n1};
|
15 |
+
Point(4) = {-0.5, 0.0, 0, 1/n1};
|
16 |
+
Point(5) = { 0.0,-0.5, 0, 1/n1};
|
17 |
+
|
18 |
+
// Near boundaries
|
19 |
+
Point(6) = {-1.5, -1.5, 0, 1/n1};
|
20 |
+
Point(7) = {-1.5, 1.5, 0, 1/n1};
|
21 |
+
Point(8) = {x_plus, 1.5, 0, 1/n1};
|
22 |
+
Point(9) = {x_plus, -1.5, 0, 1/n1};
|
23 |
+
|
24 |
+
// Medium boundaries
|
25 |
+
Point(10) = {x_ninf, -3.0, 0, 1/n2};
|
26 |
+
Point(11) = {x_ninf, 3.0, 0, 1/n2};
|
27 |
+
Point(12) = {x_pinf, -3.0, 0, 1/n2};
|
28 |
+
Point(13) = {x_pinf, 3.0, 0, 1/n2};
|
29 |
+
|
30 |
+
// Far boundaries
|
31 |
+
Point(14) = {x_ninf, -y_inf, 0, 1/n3};
|
32 |
+
Point(15) = {x_ninf, y_inf, 0, 1/n3};
|
33 |
+
Point(16) = {x_pinf, -y_inf, 0, 1/n3};
|
34 |
+
Point(17) = {x_pinf, y_inf, 0, 1/n3};
|
35 |
+
|
36 |
+
// Cylinder Lines
|
37 |
+
Circle(1) = {2, 1, 3};
|
38 |
+
Circle(2) = {3, 1, 4};
|
39 |
+
Circle(3) = {4, 1, 5};
|
40 |
+
Circle(4) = {5, 1, 2};
|
41 |
+
|
42 |
+
|
43 |
+
//+
|
44 |
+
Line(5) = {6, 7};
|
45 |
+
//+
|
46 |
+
Line(6) = {7, 8};
|
47 |
+
//+
|
48 |
+
Line(7) = {8, 9};
|
49 |
+
//+
|
50 |
+
Line(8) = {9, 6};
|
51 |
+
//+
|
52 |
+
Line(9) = {14, 10};
|
53 |
+
//+
|
54 |
+
Line(10) = {10, 11};
|
55 |
+
//+
|
56 |
+
Line(11) = {11, 15};
|
57 |
+
//+
|
58 |
+
Line(12) = {15, 17};
|
59 |
+
//+
|
60 |
+
Line(13) = {17, 13};
|
61 |
+
//+
|
62 |
+
Line(14) = {13, 12};
|
63 |
+
//+
|
64 |
+
Line(15) = {12, 16};
|
65 |
+
//+
|
66 |
+
Line(16) = {16, 14};
|
67 |
+
//+
|
68 |
+
Line(17) = {11, 13};
|
69 |
+
//+
|
70 |
+
Line(18) = {10, 12};
|
71 |
+
|
72 |
+
|
73 |
+
//+
|
74 |
+
Curve Loop(1) = {6, 7, 8, 5};
|
75 |
+
//+
|
76 |
+
Curve Loop(2) = {1, 2, 3, 4};
|
77 |
+
//+
|
78 |
+
Plane Surface(1) = {1, 2};
|
79 |
+
//+
|
80 |
+
Curve Loop(3) = {17, 14, -18, 10};
|
81 |
+
//+
|
82 |
+
Plane Surface(2) = {1, 3};
|
83 |
+
//+
|
84 |
+
Curve Loop(4) = {11, 12, 13, -17};
|
85 |
+
//+
|
86 |
+
Plane Surface(3) = {4};
|
87 |
+
//+
|
88 |
+
Curve Loop(5) = {9, 18, 15, 16};
|
89 |
+
//+
|
90 |
+
Plane Surface(4) = {5};
|
91 |
+
|
92 |
+
|
93 |
+
//+
|
94 |
+
Physical Surface("Fluid", 1) = {3, 2, 4, 1};
|
95 |
+
//+
|
96 |
+
Physical Curve("Inlet", 2) = {11, 10, 9};
|
97 |
+
//+
|
98 |
+
Physical Curve("Freestream", 3) = {12, 16};
|
99 |
+
//+
|
100 |
+
Physical Curve("Outlet", 4) = {13, 14, 15};
|
101 |
+
//+
|
102 |
+
Physical Curve("Wall", 5) = {1, 4, 3, 2};
|
data/cylinder/geometries/medium.geo
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n1 = 35.0;
|
2 |
+
n2 = 20.0;
|
3 |
+
n3 = 1.5;
|
4 |
+
x_ninf = -5.0;
|
5 |
+
x_pinf = 15.0;
|
6 |
+
y_inf = 5.0;
|
7 |
+
|
8 |
+
// Origin
|
9 |
+
Point(1) = {0, 0, 0, 1/n1};
|
10 |
+
|
11 |
+
// Cylinder points
|
12 |
+
Point(2) = { 0.5, 0.0, 0, 1/n1};
|
13 |
+
Point(3) = { 0.0, 0.5, 0, 1/n1};
|
14 |
+
Point(4) = {-0.5, 0.0, 0, 1/n1};
|
15 |
+
Point(5) = { 0.0,-0.5, 0, 1/n1};
|
16 |
+
|
17 |
+
// Boundaries
|
18 |
+
Point(6) = {x_ninf, -y_inf, 0, 1/n3};
|
19 |
+
Point(7) = {x_ninf, 0, 0, 1/n3};
|
20 |
+
Point(8) = {x_ninf, y_inf, 0, 1/n3};
|
21 |
+
Point(9) = {x_pinf, -y_inf, 0, 1/n3};
|
22 |
+
Point(10) = {x_pinf, 0, 0, 1/n2};
|
23 |
+
Point(11) = {x_pinf, y_inf, 0, 1/n3};
|
24 |
+
|
25 |
+
// Cylinder Lines
|
26 |
+
Circle(1) = {2, 1, 3};
|
27 |
+
Circle(2) = {3, 1, 4};
|
28 |
+
Circle(3) = {4, 1, 5};
|
29 |
+
Circle(4) = {5, 1, 2};
|
30 |
+
|
31 |
+
// Boundary lines
|
32 |
+
Line(5) = {6, 7};
|
33 |
+
Line(6) = {7, 8};
|
34 |
+
Line(7) = {8, 11};
|
35 |
+
Line(8) = {11, 10};
|
36 |
+
Line(9) = {10, 9};
|
37 |
+
Line(10) = {9, 6};
|
38 |
+
Line(11) = {7, 4};
|
39 |
+
Line(12) = {2, 10};
|
40 |
+
|
41 |
+
//+
|
42 |
+
Curve Loop(1) = {7, 8, -12, 1, 2, -11, 6};
|
43 |
+
//+
|
44 |
+
Plane Surface(1) = {1};
|
45 |
+
//+
|
46 |
+
Curve Loop(2) = {11, 3, 4, 12, 9, 10, 5};
|
47 |
+
//+
|
48 |
+
Plane Surface(2) = {2};
|
49 |
+
//+
|
50 |
+
Physical Surface("Fluid", 1) = {1, 2};
|
51 |
+
//+
|
52 |
+
Physical Curve("Inlet", 2) = {6, 5};
|
53 |
+
//+
|
54 |
+
Physical Curve("Freestream", 3) = {7, 10};
|
55 |
+
//+
|
56 |
+
Physical Curve("Outlet", 4) = {8, 9};
|
57 |
+
//+
|
58 |
+
Physical Curve("Cylinder", 5) = {1, 2, 3, 4};
|
data/cylinder/meshes/fine.msh
ADDED
The diff for this file is too large to render.
See raw diff
|
|
data/cylinder/meshes/medium.msh
ADDED
The diff for this file is too large to render.
See raw diff
|
|
data/pinball/geometries/fine.geo
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n1 = 30.0;
|
2 |
+
n2 = 5.0;
|
3 |
+
n3 = 3;
|
4 |
+
x_ninf = -6.0;
|
5 |
+
x_pinf = 20.0;
|
6 |
+
y_inf = 6.0;
|
7 |
+
|
8 |
+
// Cylinder points
|
9 |
+
R = 0.5;
|
10 |
+
x0 = 0.0;
|
11 |
+
y0 = 0.0;
|
12 |
+
Point(1) = { x0, y0, 0, 1/n1};
|
13 |
+
Point(2) = { x0+R,y0+0.0, 0, 1/n1};
|
14 |
+
Point(3) = { x0+0.0,y0+R, 0, 1/n1};
|
15 |
+
Point(4) = { x0-R,y0+0.0, 0, 1/n1};
|
16 |
+
Point(5) = { x0+0.0,y0-R, 0, 1/n1};
|
17 |
+
|
18 |
+
x0 = 1.5*1.866*R;
|
19 |
+
y0 = 1.5*R;
|
20 |
+
Point(6) = { x0, y0, 0, 1/n1};
|
21 |
+
Point(7) = { x0+R,y0+0.0, 0, 1/n1};
|
22 |
+
Point(8) = { x0+0.0,y0+R, 0, 1/n1};
|
23 |
+
Point(9) = { x0-R,y0+0.0, 0, 1/n1};
|
24 |
+
Point(10) = { x0+0.0,y0-R, 0, 1/n1};
|
25 |
+
|
26 |
+
x0 = 1.5*1.866*R;
|
27 |
+
y0 = -1.5*R;
|
28 |
+
Point(11) = { x0, y0, 0, 1/n1};
|
29 |
+
Point(12) = { x0+0.5,y0+0.0, 0, 1/n1};
|
30 |
+
Point(13) = { x0+0.0,y0+0.5, 0, 1/n1};
|
31 |
+
Point(14) = { x0-0.5,y0+0.0, 0, 1/n1};
|
32 |
+
Point(15) = { x0+0.0,y0-0.5, 0, 1/n1};
|
33 |
+
|
34 |
+
// Boundaries
|
35 |
+
Point(16) = {x_ninf, -y_inf, 0, 1/n3};
|
36 |
+
Point(17) = {x_ninf, 0, 0, 1/n3};
|
37 |
+
Point(18) = {x_ninf, y_inf, 0, 1/n3};
|
38 |
+
Point(19) = {x_pinf, -y_inf, 0, 1/n3};
|
39 |
+
Point(20) = {x_pinf, 0, 0, 1/n2};
|
40 |
+
Point(21) = {x_pinf, y_inf, 0, 1/n3};
|
41 |
+
|
42 |
+
// High-resolution points in near-wake
|
43 |
+
y0 = 1.5*R;
|
44 |
+
Point(22) = {5.0, y0, 0, 1/n1};
|
45 |
+
Point(23) = {5.0, 0.0, 0, 1/n1};
|
46 |
+
Point(24) = {5.0, -y0, 0, 1/n1};
|
47 |
+
Point(25) = {x_pinf, y0, 0, 1/n2};
|
48 |
+
Point(26) = {x_pinf, 0.0, 0, 1/n2};
|
49 |
+
Point(27) = {x_pinf, -y0, 0, 1/n2};
|
50 |
+
|
51 |
+
// Cylinder Lines
|
52 |
+
Circle(1) = {2, 1, 3};
|
53 |
+
Circle(2) = {3, 1, 4};
|
54 |
+
Circle(3) = {4, 1, 5};
|
55 |
+
Circle(4) = {5, 1, 2};
|
56 |
+
|
57 |
+
Circle(5) = {7, 6, 8};
|
58 |
+
Circle(6) = {8, 6, 9};
|
59 |
+
Circle(7) = {9, 6, 10};
|
60 |
+
Circle(8) = {10, 6, 7};
|
61 |
+
|
62 |
+
Circle(9) = {12, 11, 13};
|
63 |
+
Circle(10) = {13, 11, 14};
|
64 |
+
Circle(11) = {14, 11, 15};
|
65 |
+
Circle(12) = {15, 11, 12};
|
66 |
+
|
67 |
+
|
68 |
+
//+
|
69 |
+
Line(13) = {18, 21};
|
70 |
+
//+
|
71 |
+
Line(14) = {21, 25};
|
72 |
+
//+
|
73 |
+
Line(15) = {25, 20};
|
74 |
+
//+
|
75 |
+
Line(16) = {20, 27};
|
76 |
+
//+
|
77 |
+
Line(17) = {27, 19};
|
78 |
+
//+
|
79 |
+
Line(18) = {19, 16};
|
80 |
+
//+
|
81 |
+
Line(19) = {16, 17};
|
82 |
+
//+
|
83 |
+
Line(20) = {17, 18};
|
84 |
+
//+
|
85 |
+
Line(21) = {17, 4};
|
86 |
+
//+
|
87 |
+
Line(22) = {5, 14};
|
88 |
+
//+
|
89 |
+
Line(23) = {3, 9};
|
90 |
+
//+
|
91 |
+
Line(24) = {7, 22};
|
92 |
+
//+
|
93 |
+
Line(25) = {12, 24};
|
94 |
+
//+
|
95 |
+
Line(26) = {24, 23};
|
96 |
+
//+
|
97 |
+
Line(27) = {23, 22};
|
98 |
+
//+
|
99 |
+
Line(28) = {22, 25};
|
100 |
+
//+
|
101 |
+
Line(29) = {23, 20};
|
102 |
+
//+
|
103 |
+
Line(30) = {24, 27};
|
104 |
+
//+
|
105 |
+
Line(31) = {2, 23};
|
106 |
+
//+
|
107 |
+
Curve Loop(1) = {13, 14, -28, -24, 5, 6, -23, 2, -21, 20};
|
108 |
+
//+
|
109 |
+
Plane Surface(1) = {1};
|
110 |
+
//+
|
111 |
+
Curve Loop(2) = {7, 8, 24, -27, -31, 1, 23};
|
112 |
+
//+
|
113 |
+
Plane Surface(2) = {2};
|
114 |
+
//+
|
115 |
+
Curve Loop(3) = {28, 15, -29, 27};
|
116 |
+
//+
|
117 |
+
Plane Surface(3) = {3};
|
118 |
+
//+
|
119 |
+
Curve Loop(4) = {16, -30, 26, 29};
|
120 |
+
//+
|
121 |
+
Plane Surface(4) = {4};
|
122 |
+
//+
|
123 |
+
Curve Loop(5) = {31, -26, -25, 9, 10, -22, 4};
|
124 |
+
//+
|
125 |
+
Plane Surface(5) = {5};
|
126 |
+
//+
|
127 |
+
Curve Loop(6) = {21, 3, 22, 11, 12, 25, 30, 17, 18, 19};
|
128 |
+
//+
|
129 |
+
Plane Surface(6) = {6};
|
130 |
+
//+
|
131 |
+
Physical Surface("Fluid", 1) = {1, 3, 4, 2, 5, 6};
|
132 |
+
//+
|
133 |
+
Physical Curve("Inlet", 2) = {20, 19};
|
134 |
+
//+
|
135 |
+
Physical Curve("Freestream", 3) = {13, 18};
|
136 |
+
//+
|
137 |
+
Physical Curve("Outlet", 4) = {14, 15, 16, 17};
|
138 |
+
//+
|
139 |
+
Physical Curve("Cyl1", 5) = {2, 1, 4, 3};
|
140 |
+
//+
|
141 |
+
Physical Curve("Cyl2", 6) = {6, 5, 8, 7};
|
142 |
+
//+
|
143 |
+
Physical Curve("Cyl3", 7) = {10, 9, 12, 11};
|
data/pinball/meshes/fine.msh
ADDED
The diff for this file is too large to render.
See raw diff
|
|
data/step/geometries/fine.geo
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n = 200; // Near corner
|
2 |
+
n1 = 150; // Near walls
|
3 |
+
n2 = 30; // Bulk flow
|
4 |
+
|
5 |
+
L_in = 2.5;
|
6 |
+
L_out = 25;
|
7 |
+
h_in = 0.5;
|
8 |
+
h_s = 0.5;
|
9 |
+
x_lr = 5.9; // Approximate reattachment point (Boujo & Gallaire, 2015)
|
10 |
+
dx_s = 0.2; // Length of sensor region
|
11 |
+
|
12 |
+
Point(1) = {-L_in, 0.0, 0, 1/n1};
|
13 |
+
Point(2) = {-L_in, h_in, 0, 1/n1};
|
14 |
+
Point(3) = { 0.0, h_in, 0, 1/n1};
|
15 |
+
Point(4) = { 0.0, 0.0, 0, 1/n};
|
16 |
+
Point(5) = { 0.0, -h_s, 0, 1/n1};
|
17 |
+
Point(6) = {L_out, h_in, 0, 1/n1};
|
18 |
+
Point(7) = {L_out, 0.0, 0, 1/n2};
|
19 |
+
Point(8) = {L_out, -h_s, 0, 1/n1};
|
20 |
+
|
21 |
+
Point(9) = { -0.5, 0.0, 0, 1/n};
|
22 |
+
Point(10) = { -0.5, 0.2, 0, 1/n};
|
23 |
+
Point(11) = { 0.5, 0.2-h_s, 0, 1/n};
|
24 |
+
Point(12) = { 0.5, 0.2, 0, 1/n};
|
25 |
+
Point(13) = { 0.5, 0.2-h_s, 0, 1/n};
|
26 |
+
Point(14) = { 0.0, 0.2-h_s, 0, 1/n};
|
27 |
+
|
28 |
+
Point(15) = {-L_in, 0.2, 0, 1/n2};
|
29 |
+
Point(16) = { -1.0, 0.2, 0, 1/n2};
|
30 |
+
Point(17) = { 2.0, 0.2, 0, 1/n2};
|
31 |
+
Point(18) = { 2.0, 0.2-h_s, 0, 1/n2};
|
32 |
+
Point(19) = {L_out, 0.2-h_s, 0, 1/n2};
|
33 |
+
|
34 |
+
Point(20) = {-L_in, h_in-0.2, 0, 1/n2};
|
35 |
+
Point(21) = { -1.0, h_in-0.2, 0, 1/n2};
|
36 |
+
Point(22) = { 2.0, h_in-0.2, 0, 1/n2};
|
37 |
+
Point(23) = {L_out, h_in-0.2, 0, 1/n2};
|
38 |
+
|
39 |
+
// Control location
|
40 |
+
Point(24) = {-0.35, 0.0, 0, 1/n};
|
41 |
+
|
42 |
+
// Sensor location
|
43 |
+
Point(25) = {x_lr, -h_s, 0.0, 1/n1};
|
44 |
+
Point(26) = {x_lr+dx_s, -h_s, 0.0, 1/n1};
|
45 |
+
|
46 |
+
//+
|
47 |
+
Line(1) = {1, 15};
|
48 |
+
//+
|
49 |
+
Line(2) = {15, 20};
|
50 |
+
//+
|
51 |
+
Line(3) = {20, 2};
|
52 |
+
//+
|
53 |
+
Line(4) = {2, 3};
|
54 |
+
//+
|
55 |
+
Line(5) = {1, 9};
|
56 |
+
//+
|
57 |
+
Line(6) = {15, 16};
|
58 |
+
//+
|
59 |
+
Line(7) = {20, 21};
|
60 |
+
//+
|
61 |
+
Line(8) = {21, 22};
|
62 |
+
//+
|
63 |
+
Line(9) = {16, 10};
|
64 |
+
//+
|
65 |
+
Line(10) = {10, 12};
|
66 |
+
//+
|
67 |
+
Line(11) = {12, 17};
|
68 |
+
//+
|
69 |
+
Line(12) = {10, 9};
|
70 |
+
//+
|
71 |
+
Line(13) = {9, 24};
|
72 |
+
//+
|
73 |
+
Line(14) = {4, 14};
|
74 |
+
//+
|
75 |
+
Line(15) = {14, 5};
|
76 |
+
//+
|
77 |
+
Line(16) = {14, 11};
|
78 |
+
//+
|
79 |
+
Line(17) = {11, 12};
|
80 |
+
//+
|
81 |
+
Line(18) = {11, 18};
|
82 |
+
//+
|
83 |
+
Line(19) = {18, 17};
|
84 |
+
//+
|
85 |
+
Line(20) = {17, 22};
|
86 |
+
//+
|
87 |
+
Line(21) = {5, 25};
|
88 |
+
//+
|
89 |
+
Line(22) = {8, 19};
|
90 |
+
//+
|
91 |
+
Line(23) = {19, 7};
|
92 |
+
//+
|
93 |
+
Line(24) = {7, 23};
|
94 |
+
//+
|
95 |
+
Line(25) = {23, 6};
|
96 |
+
//+
|
97 |
+
Line(26) = {19, 18};
|
98 |
+
//+
|
99 |
+
Line(27) = {22, 23};
|
100 |
+
//+
|
101 |
+
Line(28) = {6, 3};
|
102 |
+
//+
|
103 |
+
Line(29) = {24, 4};
|
104 |
+
//+
|
105 |
+
Line(30) = {25, 26};
|
106 |
+
//+
|
107 |
+
Line(31) = {26, 8};
|
108 |
+
//+
|
109 |
+
Curve Loop(1) = {4, -28, -25, -27, -8, -7, 3};
|
110 |
+
//+
|
111 |
+
Plane Surface(1) = {1};
|
112 |
+
//+
|
113 |
+
Curve Loop(2) = {7, 8, -20, -11, -10, -9, -6, 2};
|
114 |
+
//+
|
115 |
+
Plane Surface(2) = {2};
|
116 |
+
//+
|
117 |
+
Curve Loop(3) = {6, 9, 12, -5, 1};
|
118 |
+
//+
|
119 |
+
Plane Surface(3) = {3};
|
120 |
+
//+
|
121 |
+
Curve Loop(4) = {10, -17, -16, -14, -13, -29, -12};
|
122 |
+
//+
|
123 |
+
Plane Surface(4) = {4};
|
124 |
+
//+
|
125 |
+
Curve Loop(5) = {11, -19, -18, 17};
|
126 |
+
//+
|
127 |
+
Plane Surface(5) = {5};
|
128 |
+
//+
|
129 |
+
Curve Loop(6) = {18, -26, -22, -21, -30, -31, -15, 16};
|
130 |
+
//+
|
131 |
+
Plane Surface(6) = {6};
|
132 |
+
//+
|
133 |
+
Curve Loop(7) = {27, -24, -23, 26, 19, 20};
|
134 |
+
//+
|
135 |
+
Plane Surface(7) = {7};
|
136 |
+
//+
|
137 |
+
Physical Surface("Fluid", 1) = {7, 1, 6, 3, 2, 4, 5};
|
138 |
+
//+
|
139 |
+
Physical Curve("Inlet", 2) = {1, 2, 3};
|
140 |
+
//+
|
141 |
+
Physical Curve("Outlet", 3) = {25, 24, 23, 22};
|
142 |
+
//+
|
143 |
+
Physical Curve("Wall", 4) = {4, 28, 21, 31, 15, 14, 13, 5};
|
144 |
+
//+
|
145 |
+
Physical Curve("Control", 5) = {29};
|
146 |
+
//+
|
147 |
+
Physical Curve("Sensor", 6) = {30};
|
data/step/geometries/medium.geo
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
n = 150; // Near corner
|
2 |
+
n1 = 100; // Near walls
|
3 |
+
n2 = 20; // Bulk flow
|
4 |
+
|
5 |
+
L_in = 2.5;
|
6 |
+
L_out = 25;
|
7 |
+
h_in = 0.5;
|
8 |
+
h_s = 0.5;
|
9 |
+
x_lr = 5.9; // Approximate reattachment point (Boujo & Gallaire, 2015)
|
10 |
+
dx_s = 0.2; // Length of sensor region
|
11 |
+
|
12 |
+
Point(1) = {-L_in, 0.0, 0, 1/n1};
|
13 |
+
Point(2) = {-L_in, h_in, 0, 1/n1};
|
14 |
+
Point(3) = { 0.0, h_in, 0, 1/n1};
|
15 |
+
Point(4) = { 0.0, 0.0, 0, 1/n};
|
16 |
+
Point(5) = { 0.0, -h_s, 0, 1/n1};
|
17 |
+
Point(6) = {L_out, h_in, 0, 1/n1};
|
18 |
+
Point(7) = {L_out, 0.0, 0, 1/n2};
|
19 |
+
Point(8) = {L_out, -h_s, 0, 1/n1};
|
20 |
+
|
21 |
+
Point(9) = { -0.5, 0.0, 0, 1/n};
|
22 |
+
Point(10) = { -0.5, 0.2, 0, 1/n};
|
23 |
+
Point(11) = { 0.5, 0.2-h_s, 0, 1/n};
|
24 |
+
Point(12) = { 0.5, 0.2, 0, 1/n};
|
25 |
+
Point(13) = { 0.5, 0.2-h_s, 0, 1/n};
|
26 |
+
Point(14) = { 0.0, 0.2-h_s, 0, 1/n};
|
27 |
+
|
28 |
+
Point(15) = {-L_in, 0.2, 0, 1/n2};
|
29 |
+
Point(16) = { -1.0, 0.2, 0, 1/n2};
|
30 |
+
Point(17) = { 2.0, 0.2, 0, 1/n2};
|
31 |
+
Point(18) = { 2.0, 0.2-h_s, 0, 1/n2};
|
32 |
+
Point(19) = {L_out, 0.2-h_s, 0, 1/n2};
|
33 |
+
|
34 |
+
Point(20) = {-L_in, h_in-0.2, 0, 1/n2};
|
35 |
+
Point(21) = { -1.0, h_in-0.2, 0, 1/n2};
|
36 |
+
Point(22) = { 2.0, h_in-0.2, 0, 1/n2};
|
37 |
+
Point(23) = {L_out, h_in-0.2, 0, 1/n2};
|
38 |
+
|
39 |
+
// Control location
|
40 |
+
Point(24) = {-0.35, 0.0, 0, 1/n};
|
41 |
+
|
42 |
+
// Sensor location
|
43 |
+
Point(25) = {x_lr, -h_s, 0.0, 1/n1};
|
44 |
+
Point(26) = {x_lr+dx_s, -h_s, 0.0, 1/n1};
|
45 |
+
|
46 |
+
//+
|
47 |
+
Line(1) = {1, 15};
|
48 |
+
//+
|
49 |
+
Line(2) = {15, 20};
|
50 |
+
//+
|
51 |
+
Line(3) = {20, 2};
|
52 |
+
//+
|
53 |
+
Line(4) = {2, 3};
|
54 |
+
//+
|
55 |
+
Line(5) = {1, 9};
|
56 |
+
//+
|
57 |
+
Line(6) = {15, 16};
|
58 |
+
//+
|
59 |
+
Line(7) = {20, 21};
|
60 |
+
//+
|
61 |
+
Line(8) = {21, 22};
|
62 |
+
//+
|
63 |
+
Line(9) = {16, 10};
|
64 |
+
//+
|
65 |
+
Line(10) = {10, 12};
|
66 |
+
//+
|
67 |
+
Line(11) = {12, 17};
|
68 |
+
//+
|
69 |
+
Line(12) = {10, 9};
|
70 |
+
//+
|
71 |
+
Line(13) = {9, 24};
|
72 |
+
//+
|
73 |
+
Line(14) = {4, 14};
|
74 |
+
//+
|
75 |
+
Line(15) = {14, 5};
|
76 |
+
//+
|
77 |
+
Line(16) = {14, 11};
|
78 |
+
//+
|
79 |
+
Line(17) = {11, 12};
|
80 |
+
//+
|
81 |
+
Line(18) = {11, 18};
|
82 |
+
//+
|
83 |
+
Line(19) = {18, 17};
|
84 |
+
//+
|
85 |
+
Line(20) = {17, 22};
|
86 |
+
//+
|
87 |
+
Line(21) = {5, 25};
|
88 |
+
//+
|
89 |
+
Line(22) = {8, 19};
|
90 |
+
//+
|
91 |
+
Line(23) = {19, 7};
|
92 |
+
//+
|
93 |
+
Line(24) = {7, 23};
|
94 |
+
//+
|
95 |
+
Line(25) = {23, 6};
|
96 |
+
//+
|
97 |
+
Line(26) = {19, 18};
|
98 |
+
//+
|
99 |
+
Line(27) = {22, 23};
|
100 |
+
//+
|
101 |
+
Line(28) = {6, 3};
|
102 |
+
//+
|
103 |
+
Line(29) = {24, 4};
|
104 |
+
//+
|
105 |
+
Line(30) = {25, 26};
|
106 |
+
//+
|
107 |
+
Line(31) = {26, 8};
|
108 |
+
//+
|
109 |
+
Curve Loop(1) = {4, -28, -25, -27, -8, -7, 3};
|
110 |
+
//+
|
111 |
+
Plane Surface(1) = {1};
|
112 |
+
//+
|
113 |
+
Curve Loop(2) = {7, 8, -20, -11, -10, -9, -6, 2};
|
114 |
+
//+
|
115 |
+
Plane Surface(2) = {2};
|
116 |
+
//+
|
117 |
+
Curve Loop(3) = {6, 9, 12, -5, 1};
|
118 |
+
//+
|
119 |
+
Plane Surface(3) = {3};
|
120 |
+
//+
|
121 |
+
Curve Loop(4) = {10, -17, -16, -14, -13, -29, -12};
|
122 |
+
//+
|
123 |
+
Plane Surface(4) = {4};
|
124 |
+
//+
|
125 |
+
Curve Loop(5) = {11, -19, -18, 17};
|
126 |
+
//+
|
127 |
+
Plane Surface(5) = {5};
|
128 |
+
//+
|
129 |
+
Curve Loop(6) = {18, -26, -22, -21, -30, -31, -15, 16};
|
130 |
+
//+
|
131 |
+
Plane Surface(6) = {6};
|
132 |
+
//+
|
133 |
+
Curve Loop(7) = {27, -24, -23, 26, 19, 20};
|
134 |
+
//+
|
135 |
+
Plane Surface(7) = {7};
|
136 |
+
//+
|
137 |
+
Physical Surface("Fluid", 1) = {7, 1, 6, 3, 2, 4, 5};
|
138 |
+
//+
|
139 |
+
Physical Curve("Inlet", 2) = {1, 2, 3};
|
140 |
+
//+
|
141 |
+
Physical Curve("Outlet", 3) = {25, 24, 23, 22};
|
142 |
+
//+
|
143 |
+
Physical Curve("Wall", 4) = {4, 28, 21, 31, 15, 14, 13, 5};
|
144 |
+
//+
|
145 |
+
Physical Curve("Control", 5) = {29};
|
146 |
+
//+
|
147 |
+
Physical Curve("Sensor", 6) = {30};
|
data/step/meshes/fine.msh
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23355234e8fd330b2c738fc95bbd6627f38923c06cbb1dcc1dc84b32c457eb22
|
3 |
+
size 12056719
|
data/step/meshes/medium.msh
ADDED
The diff for this file is too large to render.
See raw diff
|
|