Refactoring

This commit is contained in:
André R. Brodtkorb
2018-10-31 13:02:21 +01:00
parent 71777dad4e
commit 4fa09d5d39
12 changed files with 1404 additions and 633 deletions

View File

@@ -0,0 +1,146 @@
##############################################################################
# Generated by SWASHES version 1.03.00, 2016-01-29
##############################################################################
# Dimension: 1
# Type: 3 (=Dam break)
# Domain: 1
# Choice: 1 (=on a wet domain without friction (Stoker's solution))
##############################################################################
# PARAMETERS OF THE SOLUTION
#
# Length of the domain: 10 meters
# Space step: 0.078125 meters
# Number of cells: 128
# Position of the dam: x=5 meters
# Time value: 6 seconds
##############################################################################
#
#(i-0.5)*dx h[i] u[i] topo[i] q[i] topo[i]+h[i] Fr[i]=Froude topo[i]+hc[i]
0.0390625 0.005 0 0 0 0.005 0 0
0.117188 0.005 0 0 0 0.005 0 0
0.195312 0.005 0 0 0 0.005 0 0
0.273438 0.005 0 0 0 0.005 0 0
0.351562 0.005 0 0 0 0.005 0 0
0.429688 0.005 0 0 0 0.005 0 0
0.507812 0.005 0 0 0 0.005 0 0
0.585938 0.005 0 0 0 0.005 0 0
0.664062 0.005 0 0 0 0.005 0 0
0.742188 0.005 0 0 0 0.005 0 0
0.820312 0.005 0 0 0 0.005 0 0
0.898438 0.005 0 0 0 0.005 0 0
0.976562 0.005 0 0 0 0.005 0 0
1.05469 0.005 0 0 0 0.005 0 0
1.13281 0.005 0 0 0 0.005 0 0
1.21094 0.005 0 0 0 0.005 0 0
1.28906 0.005 0 0 0 0.005 0 0
1.36719 0.005 0 0 0 0.005 0 0
1.44531 0.005 0 0 0 0.005 0 0
1.52344 0.005 0 0 0 0.005 0 0
1.60156 0.005 0 0 0 0.005 0 0
1.67969 0.005 0 0 0 0.005 0 0
1.75781 0.005 0 0 0 0.005 0 0
1.83594 0.005 0 0 0 0.005 0 0
1.91406 0.005 0 0 0 0.005 0 0
1.99219 0.005 0 0 0 0.005 0 0
2.07031 0.005 0 0 0 0.005 0 0
2.14844 0.005 0 0 0 0.005 0 0
2.22656 0.005 0 0 0 0.005 0 0
2.30469 0.005 0 0 0 0.005 0 0
2.38281 0.005 0 0 0 0.005 0 0
2.46094 0.005 0 0 0 0.005 0 0
2.53906 0.005 0 0 0 0.005 0 0
2.61719 0.005 0 0 0 0.005 0 0
2.69531 0.005 0 0 0 0.005 0 0
2.77344 0.005 0 0 0 0.005 0 0
2.85156 0.005 0 0 0 0.005 0 0
2.92969 0.005 0 0 0 0.005 0 0
3.00781 0.005 0 0 0 0.005 0 0
3.08594 0.005 0 0 0 0.005 0 0
3.16406 0.005 0 0 0 0.005 0 0
3.24219 0.005 0 0 0 0.005 0 0
3.32031 0.005 0 0 0 0.005 0 0
3.39844 0.005 0 0 0 0.005 0 0
3.47656 0.005 0 0 0 0.005 0 0
3.55469 0.005 0 0 0 0.005 0 0
3.63281 0.005 0 0 0 0.005 0 0
3.71094 0.00490073 0.00441906 0 2.16566e-005 0.00490073 0.0201542 0.000362943
3.78906 0.00470863 0.0130996 0 6.16813e-005 0.00470863 0.0609504 0.000729255
3.86719 0.00452038 0.0217802 0 9.84546e-005 0.00452038 0.103428 0.000996019
3.94531 0.00433596 0.0304607 0 0.000132076 0.00433596 0.147694 0.00121151
4.02344 0.00415538 0.0391413 0 0.000162647 0.00415538 0.193863 0.0013919
4.10156 0.00397865 0.0478218 0 0.000190266 0.00397865 0.242061 0.00154532
4.17969 0.00380575 0.0565024 0 0.000215034 0.00380575 0.292423 0.00167667
4.25781 0.0036367 0.065183 0 0.000237051 0.0036367 0.345101 0.00178925
4.33594 0.00347148 0.0738635 0 0.000256416 0.00347148 0.400256 0.00188541
4.41406 0.00331011 0.0825441 0 0.00027323 0.00331011 0.458068 0.00196696
4.49219 0.00315257 0.0912246 0 0.000287592 0.00315257 0.518734 0.0020353
4.57031 0.00299888 0.0999052 0 0.000299604 0.00299888 0.58247 0.00209158
4.64844 0.00284903 0.108586 0 0.000309364 0.00284903 0.649516 0.00213677
4.72656 0.00270302 0.117266 0 0.000316973 0.00270302 0.720135 0.00217166
4.80469 0.00256085 0.125947 0 0.000322531 0.00256085 0.794623 0.00219697
4.88281 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
4.96094 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.03906 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.11719 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.19531 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.27344 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.35156 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.42969 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.50781 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.58594 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.66406 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.74219 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.82031 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.89844 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
5.97656 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
6.05469 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
6.13281 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
6.21094 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
6.28906 0.001 0 0 0 0.001 0 0
6.36719 0.001 0 0 0 0.001 0 0
6.44531 0.001 0 0 0 0.001 0 0
6.52344 0.001 0 0 0 0.001 0 0
6.60156 0.001 0 0 0 0.001 0 0
6.67969 0.001 0 0 0 0.001 0 0
6.75781 0.001 0 0 0 0.001 0 0
6.83594 0.001 0 0 0 0.001 0 0
6.91406 0.001 0 0 0 0.001 0 0
6.99219 0.001 0 0 0 0.001 0 0
7.07031 0.001 0 0 0 0.001 0 0
7.14844 0.001 0 0 0 0.001 0 0
7.22656 0.001 0 0 0 0.001 0 0
7.30469 0.001 0 0 0 0.001 0 0
7.38281 0.001 0 0 0 0.001 0 0
7.46094 0.001 0 0 0 0.001 0 0
7.53906 0.001 0 0 0 0.001 0 0
7.61719 0.001 0 0 0 0.001 0 0
7.69531 0.001 0 0 0 0.001 0 0
7.77344 0.001 0 0 0 0.001 0 0
7.85156 0.001 0 0 0 0.001 0 0
7.92969 0.001 0 0 0 0.001 0 0
8.00781 0.001 0 0 0 0.001 0 0
8.08594 0.001 0 0 0 0.001 0 0
8.16406 0.001 0 0 0 0.001 0 0
8.24219 0.001 0 0 0 0.001 0 0
8.32031 0.001 0 0 0 0.001 0 0
8.39844 0.001 0 0 0 0.001 0 0
8.47656 0.001 0 0 0 0.001 0 0
8.55469 0.001 0 0 0 0.001 0 0
8.63281 0.001 0 0 0 0.001 0 0
8.71094 0.001 0 0 0 0.001 0 0
8.78906 0.001 0 0 0 0.001 0 0
8.86719 0.001 0 0 0 0.001 0 0
8.94531 0.001 0 0 0 0.001 0 0
9.02344 0.001 0 0 0 0.001 0 0
9.10156 0.001 0 0 0 0.001 0 0
9.17969 0.001 0 0 0 0.001 0 0
9.25781 0.001 0 0 0 0.001 0 0
9.33594 0.001 0 0 0 0.001 0 0
9.41406 0.001 0 0 0 0.001 0 0
9.49219 0.001 0 0 0 0.001 0 0
9.57031 0.001 0 0 0 0.001 0 0
9.64844 0.001 0 0 0 0.001 0 0
9.72656 0.001 0 0 0 0.001 0 0
9.80469 0.001 0 0 0 0.001 0 0
9.88281 0.001 0 0 0 0.001 0 0
9.96094 0.001 0 0 0 0.001 0 0
1 ##############################################################################
2 # Generated by SWASHES version 1.03.00, 2016-01-29
3 ##############################################################################
4 # Dimension: 1
5 # Type: 3 (=Dam break)
6 # Domain: 1
7 # Choice: 1 (=on a wet domain without friction (Stoker's solution))
8 ##############################################################################
9 # PARAMETERS OF THE SOLUTION
10 #
11 # Length of the domain: 10 meters
12 # Space step: 0.078125 meters
13 # Number of cells: 128
14 # Position of the dam: x=5 meters
15 # Time value: 6 seconds
16 ##############################################################################
17 #
18 #(i-0.5)*dx h[i] u[i] topo[i] q[i] topo[i]+h[i] Fr[i]=Froude topo[i]+hc[i]
19 0.0390625 0.005 0 0 0 0.005 0 0
20 0.117188 0.005 0 0 0 0.005 0 0
21 0.195312 0.005 0 0 0 0.005 0 0
22 0.273438 0.005 0 0 0 0.005 0 0
23 0.351562 0.005 0 0 0 0.005 0 0
24 0.429688 0.005 0 0 0 0.005 0 0
25 0.507812 0.005 0 0 0 0.005 0 0
26 0.585938 0.005 0 0 0 0.005 0 0
27 0.664062 0.005 0 0 0 0.005 0 0
28 0.742188 0.005 0 0 0 0.005 0 0
29 0.820312 0.005 0 0 0 0.005 0 0
30 0.898438 0.005 0 0 0 0.005 0 0
31 0.976562 0.005 0 0 0 0.005 0 0
32 1.05469 0.005 0 0 0 0.005 0 0
33 1.13281 0.005 0 0 0 0.005 0 0
34 1.21094 0.005 0 0 0 0.005 0 0
35 1.28906 0.005 0 0 0 0.005 0 0
36 1.36719 0.005 0 0 0 0.005 0 0
37 1.44531 0.005 0 0 0 0.005 0 0
38 1.52344 0.005 0 0 0 0.005 0 0
39 1.60156 0.005 0 0 0 0.005 0 0
40 1.67969 0.005 0 0 0 0.005 0 0
41 1.75781 0.005 0 0 0 0.005 0 0
42 1.83594 0.005 0 0 0 0.005 0 0
43 1.91406 0.005 0 0 0 0.005 0 0
44 1.99219 0.005 0 0 0 0.005 0 0
45 2.07031 0.005 0 0 0 0.005 0 0
46 2.14844 0.005 0 0 0 0.005 0 0
47 2.22656 0.005 0 0 0 0.005 0 0
48 2.30469 0.005 0 0 0 0.005 0 0
49 2.38281 0.005 0 0 0 0.005 0 0
50 2.46094 0.005 0 0 0 0.005 0 0
51 2.53906 0.005 0 0 0 0.005 0 0
52 2.61719 0.005 0 0 0 0.005 0 0
53 2.69531 0.005 0 0 0 0.005 0 0
54 2.77344 0.005 0 0 0 0.005 0 0
55 2.85156 0.005 0 0 0 0.005 0 0
56 2.92969 0.005 0 0 0 0.005 0 0
57 3.00781 0.005 0 0 0 0.005 0 0
58 3.08594 0.005 0 0 0 0.005 0 0
59 3.16406 0.005 0 0 0 0.005 0 0
60 3.24219 0.005 0 0 0 0.005 0 0
61 3.32031 0.005 0 0 0 0.005 0 0
62 3.39844 0.005 0 0 0 0.005 0 0
63 3.47656 0.005 0 0 0 0.005 0 0
64 3.55469 0.005 0 0 0 0.005 0 0
65 3.63281 0.005 0 0 0 0.005 0 0
66 3.71094 0.00490073 0.00441906 0 2.16566e-005 0.00490073 0.0201542 0.000362943
67 3.78906 0.00470863 0.0130996 0 6.16813e-005 0.00470863 0.0609504 0.000729255
68 3.86719 0.00452038 0.0217802 0 9.84546e-005 0.00452038 0.103428 0.000996019
69 3.94531 0.00433596 0.0304607 0 0.000132076 0.00433596 0.147694 0.00121151
70 4.02344 0.00415538 0.0391413 0 0.000162647 0.00415538 0.193863 0.0013919
71 4.10156 0.00397865 0.0478218 0 0.000190266 0.00397865 0.242061 0.00154532
72 4.17969 0.00380575 0.0565024 0 0.000215034 0.00380575 0.292423 0.00167667
73 4.25781 0.0036367 0.065183 0 0.000237051 0.0036367 0.345101 0.00178925
74 4.33594 0.00347148 0.0738635 0 0.000256416 0.00347148 0.400256 0.00188541
75 4.41406 0.00331011 0.0825441 0 0.00027323 0.00331011 0.458068 0.00196696
76 4.49219 0.00315257 0.0912246 0 0.000287592 0.00315257 0.518734 0.0020353
77 4.57031 0.00299888 0.0999052 0 0.000299604 0.00299888 0.58247 0.00209158
78 4.64844 0.00284903 0.108586 0 0.000309364 0.00284903 0.649516 0.00213677
79 4.72656 0.00270302 0.117266 0 0.000316973 0.00270302 0.720135 0.00217166
80 4.80469 0.00256085 0.125947 0 0.000322531 0.00256085 0.794623 0.00219697
81 4.88281 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
82 4.96094 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
83 5.03906 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
84 5.11719 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
85 5.19531 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
86 5.27344 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
87 5.35156 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
88 5.42969 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
89 5.50781 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
90 5.58594 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
91 5.66406 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
92 5.74219 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
93 5.82031 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
94 5.89844 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
95 5.97656 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
96 6.05469 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
97 6.13281 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
98 6.21094 0.00253936 0.127279 0 0.000323208 0.00253936 0.806419 0.00220005
99 6.28906 0.001 0 0 0 0.001 0 0
100 6.36719 0.001 0 0 0 0.001 0 0
101 6.44531 0.001 0 0 0 0.001 0 0
102 6.52344 0.001 0 0 0 0.001 0 0
103 6.60156 0.001 0 0 0 0.001 0 0
104 6.67969 0.001 0 0 0 0.001 0 0
105 6.75781 0.001 0 0 0 0.001 0 0
106 6.83594 0.001 0 0 0 0.001 0 0
107 6.91406 0.001 0 0 0 0.001 0 0
108 6.99219 0.001 0 0 0 0.001 0 0
109 7.07031 0.001 0 0 0 0.001 0 0
110 7.14844 0.001 0 0 0 0.001 0 0
111 7.22656 0.001 0 0 0 0.001 0 0
112 7.30469 0.001 0 0 0 0.001 0 0
113 7.38281 0.001 0 0 0 0.001 0 0
114 7.46094 0.001 0 0 0 0.001 0 0
115 7.53906 0.001 0 0 0 0.001 0 0
116 7.61719 0.001 0 0 0 0.001 0 0
117 7.69531 0.001 0 0 0 0.001 0 0
118 7.77344 0.001 0 0 0 0.001 0 0
119 7.85156 0.001 0 0 0 0.001 0 0
120 7.92969 0.001 0 0 0 0.001 0 0
121 8.00781 0.001 0 0 0 0.001 0 0
122 8.08594 0.001 0 0 0 0.001 0 0
123 8.16406 0.001 0 0 0 0.001 0 0
124 8.24219 0.001 0 0 0 0.001 0 0
125 8.32031 0.001 0 0 0 0.001 0 0
126 8.39844 0.001 0 0 0 0.001 0 0
127 8.47656 0.001 0 0 0 0.001 0 0
128 8.55469 0.001 0 0 0 0.001 0 0
129 8.63281 0.001 0 0 0 0.001 0 0
130 8.71094 0.001 0 0 0 0.001 0 0
131 8.78906 0.001 0 0 0 0.001 0 0
132 8.86719 0.001 0 0 0 0.001 0 0
133 8.94531 0.001 0 0 0 0.001 0 0
134 9.02344 0.001 0 0 0 0.001 0 0
135 9.10156 0.001 0 0 0 0.001 0 0
136 9.17969 0.001 0 0 0 0.001 0 0
137 9.25781 0.001 0 0 0 0.001 0 0
138 9.33594 0.001 0 0 0 0.001 0 0
139 9.41406 0.001 0 0 0 0.001 0 0
140 9.49219 0.001 0 0 0 0.001 0 0
141 9.57031 0.001 0 0 0 0.001 0 0
142 9.64844 0.001 0 0 0 0.001 0 0
143 9.72656 0.001 0 0 0 0.001 0 0
144 9.80469 0.001 0 0 0 0.001 0 0
145 9.88281 0.001 0 0 0 0.001 0 0
146 9.96094 0.001 0 0 0 0.001 0 0