Commit d3a69a13 authored by Lukas Riedel's avatar Lukas Riedel

Update testing BC and mesh files

* Remove deprecated .dat files for boundary conditions.
* Remove unused mesh files.
* Add GMSH .geo files for re-building used mesh files.
* Update square.msh with proper boundary segments.
parent 5470f1d3
spatial_resolution_north_we 0
spatial_resolution_north_fb 0
spatial_resolution_south_we 0
spatial_resolution_south_fb 0
spatial_resolution_west_sn -1
spatial_resolution_west_fb -1
spatial_resolution_east_sn -1
spatial_resolution_east_fb -1
spatial_resolution_front_sn -1
spatial_resolution_front_we -1
spatial_resolution_back_sn -1
spatial_resolution_back_we -1
number_BC_change_times 1
0 neumann -1e-6 dirichlet 0
\ No newline at end of file
# BC DATA FILE 2D - Author: L. Riedel - 2015-08-27
#
# Specify intersection coordinates of segments. First, state the number n of coordinates you will place.
# Beginning and end of borders will be added automatically. Thus, every side will have n+1 segments.
# State "-1" to apply a Neumann boundary of flux j=0 to one entire border ("No flow boundary").
# For No Flow Boundaries no BCs have to be stated.
# 3 Segments: 0: 0.0 <-> 0.4 ; 1: 0.4 <-> 0.8 ; 2: 0.8 <-> width
spatial_resolution_north 0
# 1 Segment: 0: 0.0 <-> width
spatial_resolution_south 0
# 1 Segment with no flow BC: 0: 0.0 <-> height
spatial_resolution_west -1
spatial_resolution_east -1
# number of times at which BCs are defined.
number_BC_change_times 1
# Definition of BCs. Order of boundaries as above. Boundary numeration runs along respective standard basis vector.
# If you want the BC type to change and you have set "boundary.interpolateBCvalues = true", you will have to state the same time stamp twice and change BC type in between.
0 neumann -2e-6 dirichlet 0
spatial_resolution_north 0
spatial_resolution_south 0
spatial_resolution_west -1
spatial_resolution_east -1
number_BC_change_times 1
0 dirichlet 1 outflow 0
\ No newline at end of file
spatial_resolution_north 2 0.25 0.75
spatial_resolution_south 0
spatial_resolution_west -1
spatial_resolution_east -1
number_BC_change_times 2
0 neumann 0 dirichlet 1 neumann 0 outflow 0
1E3 neumann 0 neumann 0 neumann 0 outflow 0
spatial_resolution_north_we 0
spatial_resolution_north_fb 0
spatial_resolution_south_we 0
spatial_resolution_south_fb 0
spatial_resolution_west_sn -1
spatial_resolution_west_fb -1
spatial_resolution_east_sn -1
spatial_resolution_east_fb -1
spatial_resolution_front_sn -1
spatial_resolution_front_we -1
spatial_resolution_back_sn -1
spatial_resolution_back_we -1
number_BC_change_times 1
0 dirichlet 1 outflow 0
\ No newline at end of file
spatial_resolution_north_we 2 0.25 0.75
spatial_resolution_north_fb 2 0.25 0.75
spatial_resolution_south_we 0
spatial_resolution_south_fb 0
spatial_resolution_west_sn -1
spatial_resolution_west_fb -1
spatial_resolution_east_sn -1
spatial_resolution_east_fb -1
spatial_resolution_front_sn -1
spatial_resolution_front_we -1
spatial_resolution_back_sn -1
spatial_resolution_back_we -1
number_BC_change_times 2
0 neumann 0 neumann 0 neumann 0 neumann 0 dirichlet 1 neumann 0 neumann 0 neumann 0 neumann 0 outflow 0
1E3 neumann 0 neumann 0 neumann 0 neumann 0 neumann 0 neumann 0 neumann 0 neumann 0 neumann 0 outflow 0
\ No newline at end of file
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
52
1 0 0 0
2 1 0 0
3 0 1 0
4 1 1 0
5 0 0 1
6 1 0 1
7 0 1 1
8 1 1 1
9 0 0 0
10 0 0 0.4999999999986718
11 0 0.4999999999986718 1
12 0 1 0.5000000000013305
13 0 0.5000000000013305 0
14 0.4999999999986718 0 0
15 1 0 0.4999999999986718
16 0.5000000000013305 0 1
17 1 0.4999999999986718 1
18 0.5000000000013305 1 1
19 1 1 0.5000000000013305
20 0.5000000000013305 1 0
21 1 0.5000000000013305 0
22 1 0.5 0.5
23 1 0.25 0.75
24 1 0.75 0.75
25 1 0.25 0.25
26 1 0.75 0.25
27 0.5 0 0.5
28 0.75 0 0.75
29 0.25 0 0.75
30 0.75 0 0.25
31 0.25 0 0.25
32 0.5 0.5 0
33 0.25 0.25 0
34 0.75 0.25 0
35 0.25 0.75 0
36 0.75 0.75 0
37 0.5 1 0.5
38 0.75 1 0.75
39 0.75 1 0.25
40 0.25 1 0.25
41 0.25 1 0.75
42 0.5 0.5 1
43 0.75 0.25 1
44 0.25 0.25 1
45 0.75 0.75 1
46 0.25 0.75 1
47 0 0.5 0.5
48 0 0.25 0.75
49 0 0.25 0.25
50 0 0.75 0.25
51 0 0.75 0.75
52 0.5 0.5 0.5
$EndNodes
$Elements
247
1 15 2 0 1 1
2 15 2 0 2 2
3 15 2 0 3 3
4 15 2 0 4 4
5 15 2 0 5 5
6 15 2 0 6 6
7 15 2 0 7 7
8 15 2 0 8 8
9 1 2 0 1 1 9
10 1 2 0 1 9 1
11 1 2 0 2 1 10
12 1 2 0 2 10 5
13 1 2 0 3 5 11
14 1 2 0 3 11 7
15 1 2 0 4 7 12
16 1 2 0 4 12 3
17 1 2 0 5 3 13
18 1 2 0 5 13 1
19 1 2 0 6 1 14
20 1 2 0 6 14 2
21 1 2 0 7 2 15
22 1 2 0 7 15 6
23 1 2 0 8 6 16
24 1 2 0 8 16 5
25 1 2 0 9 6 17
26 1 2 0 9 17 8
27 1 2 0 10 8 18
28 1 2 0 10 18 7
29 1 2 0 11 8 19
30 1 2 0 11 19 4
31 1 2 0 12 4 20
32 1 2 0 12 20 3
33 1 2 0 13 4 21
34 1 2 0 13 21 2
35 2 2 0 15 23 6 17
36 2 2 0 15 23 15 6
37 2 2 0 15 19 4 26
38 2 2 0 15 4 21 26
39 2 2 0 15 22 23 24
40 2 2 0 15 22 25 23
41 2 2 0 15 24 26 22
42 2 2 0 15 26 25 22
43 2 2 0 15 8 19 24
44 2 2 0 15 19 26 24
45 2 2 0 15 24 17 8
46 2 2 0 15 23 17 24
47 2 2 0 15 25 2 15
48 2 2 0 15 25 15 23
49 2 2 0 15 21 2 25
50 2 2 0 15 21 25 26
51 2 2 0 17 28 15 6
52 2 2 0 17 6 16 28
53 2 2 0 17 31 1 14
54 2 2 0 17 10 1 31
55 2 2 0 17 31 14 30
56 2 2 0 17 30 14 2
57 2 2 0 17 16 5 29
58 2 2 0 17 5 10 29
59 2 2 0 17 29 31 27
60 2 2 0 17 27 31 30
61 2 2 0 17 10 31 29
62 2 2 0 17 30 15 28
63 2 2 0 17 30 2 15
64 2 2 0 17 28 29 27
65 2 2 0 17 27 30 28
66 2 2 0 17 16 29 28
67 2 2 0 19 33 14 1
68 2 2 0 19 13 33 1
69 2 2 0 19 34 14 33
70 2 2 0 19 34 2 14
71 2 2 0 19 4 36 20
72 2 2 0 19 36 4 21
73 2 2 0 19 35 33 13
74 2 2 0 19 3 35 13
75 2 2 0 19 32 34 33
76 2 2 0 19 35 32 33
77 2 2 0 19 32 36 34
78 2 2 0 19 34 21 2
79 2 2 0 19 36 21 34
80 2 2 0 19 36 32 35
81 2 2 0 19 20 35 3
82 2 2 0 19 36 35 20
83 2 2 0 21 40 41 12
84 2 2 0 21 12 41 7
85 2 2 0 21 3 40 12
86 2 2 0 21 4 19 39
87 2 2 0 21 20 4 39
88 2 2 0 21 19 8 38
89 2 2 0 21 19 38 39
90 2 2 0 21 18 38 8
91 2 2 0 21 40 37 41
92 2 2 0 21 41 37 38
93 2 2 0 21 40 39 37
94 2 2 0 21 39 38 37
95 2 2 0 21 7 41 18
96 2 2 0 21 41 38 18
97 2 2 0 21 3 20 40
98 2 2 0 21 20 39 40
99 2 2 0 23 43 6 17
100 2 2 0 23 43 16 6
101 2 2 0 23 42 44 43
102 2 2 0 23 42 43 45
103 2 2 0 23 43 17 45
104 2 2 0 23 44 16 43
105 2 2 0 23 44 5 16
106 2 2 0 23 11 5 44
107 2 2 0 23 46 44 42
108 2 2 0 23 45 46 42
109 2 2 0 23 45 17 8
110 2 2 0 23 8 18 45
111 2 2 0 23 18 7 46
112 2 2 0 23 18 46 45
113 2 2 0 23 7 11 46
114 2 2 0 23 11 44 46
115 2 2 0 25 49 13 1
116 2 2 0 25 10 49 1
117 2 2 0 25 51 7 12
118 2 2 0 25 51 12 50
119 2 2 0 25 50 12 3
120 2 2 0 25 5 48 10
121 2 2 0 25 11 48 5
122 2 2 0 25 50 3 13
123 2 2 0 25 50 13 49
124 2 2 0 25 7 51 11
125 2 2 0 25 47 51 50
126 2 2 0 25 47 50 49
127 2 2 0 25 51 47 48
128 2 2 0 25 51 48 11
129 2 2 0 25 48 47 49
130 2 2 0 25 48 49 10
131 4 2 0 27 37 36 39 52
132 4 2 0 27 50 40 41 37
133 4 2 0 27 40 37 36 39
134 4 2 0 27 23 28 22 25
135 4 2 0 27 46 41 45 42
136 4 2 0 27 51 46 44 42
137 4 2 0 27 35 40 37 36
138 4 2 0 27 23 43 24 22
139 4 2 0 27 22 28 30 25
140 4 2 0 27 51 44 11 48
141 4 2 0 27 46 51 44 11
142 4 2 0 27 17 43 45 24
143 4 2 0 27 43 17 23 24
144 4 2 0 27 28 15 30 25
145 4 2 0 27 28 23 15 25
146 4 2 0 27 36 21 26 34
147 4 2 0 27 41 45 38 18
148 4 2 0 27 50 51 41 12
149 4 2 0 27 40 50 41 12
150 4 2 0 27 41 46 45 18
151 4 2 0 27 40 35 20 36
152 4 2 0 27 20 40 36 39
153 4 2 0 27 26 21 25 34
154 4 2 0 27 36 26 39 52
155 4 2 0 27 48 44 29 52
156 4 2 0 27 45 38 24 52
157 4 2 0 27 31 33 49 52
158 4 2 0 27 33 1 49 13
159 4 2 0 27 40 3 50 12
160 4 2 0 27 44 5 29 16
161 4 2 0 27 3 40 35 20
162 4 2 0 27 7 46 41 18
163 4 2 0 27 19 4 26 39
164 4 2 0 27 21 2 25 34
165 4 2 0 27 17 45 8 24
166 4 2 0 27 23 6 28 15
167 4 2 0 27 7 51 46 11
168 4 2 0 27 5 10 48 29
169 4 2 0 27 2 14 30 34
170 4 2 0 27 43 17 6 23
171 4 2 0 27 10 31 1 49
172 4 2 0 27 33 31 1 14
173 4 2 0 27 44 5 11 48
174 4 2 0 27 15 2 30 25
175 4 2 0 27 16 43 6 28
176 4 2 0 27 19 8 38 24
177 4 2 0 27 45 8 38 18
178 4 2 0 27 4 20 36 39
179 4 2 0 27 13 3 50 35
180 4 2 0 27 51 7 41 12
181 4 2 0 27 21 4 36 26
182 4 2 0 27 8 45 38 24
183 4 2 0 27 6 43 23 28
184 4 2 0 27 31 33 1 49
185 4 2 0 27 51 7 46 41
186 4 2 0 27 3 40 50 35
187 4 2 0 27 44 5 48 29
188 4 2 0 27 4 36 26 39
189 4 2 0 27 2 30 25 34
190 4 2 0 27 52 35 36 32
191 4 2 0 27 52 36 35 37
192 4 2 0 27 39 52 38 37
193 4 2 0 27 52 36 34 32
194 4 2 0 27 52 48 51 47
195 4 2 0 27 52 43 45 42
196 4 2 0 27 52 51 50 47
197 4 2 0 27 52 41 38 37
198 4 2 0 27 52 29 31 27
199 4 2 0 27 52 33 35 32
200 4 2 0 27 52 26 34 36
201 4 2 0 27 22 43 28 23
202 4 2 0 27 52 44 51 48
203 4 2 0 27 52 51 44 42
204 4 2 0 27 52 44 43 42
205 4 2 0 27 42 41 51 46
206 4 2 0 27 42 51 41 52
207 4 2 0 27 52 45 41 42
208 4 2 0 27 52 41 45 38
209 4 2 0 27 52 41 50 51
210 4 2 0 27 52 50 41 37
211 4 2 0 27 52 31 30 27
212 4 2 0 27 24 52 43 45
213 4 2 0 27 43 52 24 22
214 4 2 0 27 22 30 34 25
215 4 2 0 27 22 34 30 52
216 4 2 0 27 26 22 34 25
217 4 2 0 27 26 34 22 52
218 4 2 0 27 48 52 49 47
219 4 2 0 27 52 50 49 47
220 4 2 0 27 52 34 33 32
221 4 2 0 27 37 35 50 40
222 4 2 0 27 37 50 35 52
223 4 2 0 27 52 28 29 27
224 4 2 0 27 28 22 52 43
225 4 2 0 27 24 52 26 22
226 4 2 0 27 29 10 52 31
227 4 2 0 27 29 52 10 48
228 4 2 0 27 52 10 49 31
229 4 2 0 27 52 49 10 48
230 4 2 0 27 14 30 52 31
231 4 2 0 27 52 30 14 34
232 4 2 0 27 14 52 33 31
233 4 2 0 27 33 52 14 34
234 4 2 0 27 49 13 52 33
235 4 2 0 27 52 13 49 50
236 4 2 0 27 13 35 52 33
237 4 2 0 27 52 35 13 50
238 4 2 0 27 28 16 52 29
239 4 2 0 27 28 52 16 43
240 4 2 0 27 52 16 44 29
241 4 2 0 27 52 44 16 43
242 4 2 0 27 26 19 52 24
243 4 2 0 27 26 52 19 39
244 4 2 0 27 52 19 38 24
245 4 2 0 27 52 38 19 39
246 4 2 0 27 30 52 28 22
247 4 2 0 27 28 52 30 27
$EndElements
// Gmsh project created on Sat Aug 25 12:29:12 2018
//+
Point(1) = {0, 0, 0, 1.0};
//+
Point(2) = {2, 0, 0, 1.0};
//+
Point(3) = {2, 2, 0, 1.0};
//+
Point(4) = {0, 2, 0, 1.0};
//+
Point(5) = {0, 0, 1, 1.0};
//+
Point(6) = {2, 0, 1, 1.0};
//+
Point(7) = {2, 2, 1, 1.0};
//+
Point(8) = {0, 2, 1, 1.0};
//+
Point(9) = {0, 0, 2, 1.0};
//+
Point(10) = {2, 0, 2, 1.0};
//+
Point(11) = {2, 2, 2, 1.0};
//+
Point(12) = {0, 2, 2, 1.0};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 3};
//+
Line(3) = {3, 4};
//+
Line(4) = {4, 1};
//+
Line(5) = {5, 6};
//+
Line(6) = {6, 7};
//+
Line(7) = {7, 8};
//+
Line(8) = {8, 5};
//+
Line(9) = {9, 10};
//+
Line(10) = {10, 11};
//+
Line(11) = {11, 12};
//+
Line(12) = {12, 9};
//+
Line(13) = {9, 5};
//+
Line(14) = {12, 8};
//+
Line(15) = {10, 6};
//+
Line(16) = {11, 7};
//+
Line(17) = {7, 3};
//+
Line(18) = {6, 2};
//+
Line(19) = {8, 4};
//+
Line(20) = {5, 1};
//+
Line Loop(1) = {1, 2, 3, 4};
//+
Plane Surface(1) = {1};
//+
Line Loop(2) = {5, 6, 7, 8};
//+
Plane Surface(2) = {2};
//+
Line Loop(3) = {9, 10, 11, 12};
//+
Plane Surface(3) = {3};
//+
Line Loop(4) = {15, -5, -13, 9};
//+
Plane Surface(4) = {4};
//+
Line Loop(5) = {8, -13, -12, 14};
//+
Plane Surface(5) = {5};
//+
Line Loop(6) = {14, -7, -16, 11};
//+
Plane Surface(6) = {6};
//+
Line Loop(7) = {6, -16, -10, 15};
//+
Plane Surface(7) = {7};
//+
Line Loop(8) = {2, -17, -6, 18};
//+
Plane Surface(8) = {8};
//+
Line Loop(9) = {3, -19, -7, 17};
//+
Plane Surface(9) = {9};
//+
Line Loop(10) = {8, 20, -4, -19};
//+
Plane Surface(10) = {10};
//+
Line Loop(11) = {1, -18, -5, 20};
//+
Plane Surface(11) = {11};
//+
Surface Loop(1) = {8, 1, 11, 10, 9, 2};
//+
Volume(1) = {1};
//+
Surface Loop(2) = {7, 6, 5, 4, 3, 2};
//+
Volume(2) = {2};
//+
Physical Surface(2) = {11, 10, 9, 8, 1};
//+
Physical Surface(3) = {4, 5, 3, 6, 7};
//+
Physical Volume(0) = {1};
//+
Physical Volume(1) = {2};
// Gmsh project created on Sat Aug 25 12:29:12 2018
//+
Point(1) = {0, 0, 0, 0.25};
//+
Point(2) = {1, 0, 0, 0.25};
//+
Point(3) = {1, 1, 0, 0.25};
//+
Point(4) = {0, 1, 0, 0.25};
//+
Point(5) = {0, 0, 1, 0.25};
//+
Point(6) = {1, 0, 1, 0.25};
//+
Point(7) = {1, 1, 1, 0.25};
//+
Point(8) = {0, 1, 1, 0.25};
//+
Line(1) = {5, 6};
//+
Line(2) = {6, 2};
//+
Line(3) = {2, 1};
//+
Line(4) = {1, 5};
//+
Line(5) = {8, 7};
//+
Line(6) = {7, 3};
//+
Line(7) = {3, 4};
//+
Line(8) = {4, 8};
//+
Line(9) = {5, 8};
//+
Line(10) = {6, 7};
//+
Line(11) = {2, 3};
//+
Line(12) = {1, 4};
//+
Line Loop(1) = {1, 2, 3, 4};
//+
Plane Surface(1) = {1};
//+
Line Loop(2) = {10, 6, -11, -2};
//+
Plane Surface(2) = {2};
//+
Line Loop(3) = {5, 6, 7, 8};
//+
Plane Surface(3) = {3};
//+
Line Loop(4) = {9, -8, -12, 4};
//+
Plane Surface(4) = {4};
//+
Line Loop(5) = {1, 10, -5, -9};
//+
Plane Surface(5) = {5};
//+
Line Loop(6) = {7, -12, -3, 11};
//+
Plane Surface(6) = {6};
//+
Surface Loop(1) = {5, 1, 2, 3, 6, 4};
//+
Volume(1) = {1};
//+
Physical Surface(10) = {1};
//+
Physical Surface(11) = {3};
//+
Physical Surface(12) = {4};
//+
Physical Surface(13) = {2};
//+
Physical Surface(14) = {5};
//+
Physical Surface(15) = {6};
//+
Physical Volume(0) = {1};
This diff is collapsed.
This diff is collapsed.
// Gmsh project created on Fri Nov 2 14:56:38 2018
//+
Point(1) = {0, 0, 0, 0.5};
//+
Point(2) = {2, 0, 0, 0.5};
//+
Point(3) = {2, 2, 0, 0.5};
//+
Point(4) = {0, 2, 0, 0.5};
//+
Point(5) = {0, 1, 0, 0.5};
//+
Point(6) = {2, 1, 0, 0.5};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 6};
//+
Line(3) = {6, 3};
//+
Line(4) = {3, 4};
//+
Line(5) = {4, 5};
//+
Line(6) = {5, 1};
//+
Line(7) = {5, 6};
//+
Line Loop(1) = {1, 2, -7, 6};
//+
Plane Surface(1) = {1};
//+
Line Loop(2) = {7, 3, 4, 5};
//+
Plane Surface(2) = {2};
//+
Physical Line(2) = {1, 2, 6};
//+
Physical Line(3) = {3, 4, 5};
//+
Physical Surface(0) = {1};
//+
Physical Surface(1) = {2};
// Gmsh project created on Fri May 3 15:09:55 2019
//+
Point(1) = {0, 0, 0, 0.1};
//+
Point(2) = {1, 0, 0, 0.1};
//+
Point(3) = {1, 1, 0, 0.1};
//+
Point(4) = {0, 1, 0, 0.1};
//+
Line(1) = {1, 4};
//+
Line(2) = {4, 3};
//+
Line(3) = {3, 2};
//+
Line(4) = {2, 1};
//+
Line Loop(1) = {1, 2, 3, 4};
//+
Plane Surface(1) = {1};
//+
Physical Line(10) = {4};
//+
Physical Line(11) = {2};
//+
Physical Line(12) = {1};
//+
Physical Line(13) = {3};
//+
Physical Surface(0) = {1};
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment