trenchfoot 0.1.1__py3-none-any.whl → 0.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of trenchfoot might be problematic. Click here for more details.
- trenchfoot/generate_scenarios.py +104 -27
- trenchfoot/gmsh_sloped_trench_mesher.py +125 -25
- trenchfoot/scenarios/S01_straight_vwalls/metrics.json +4 -4
- trenchfoot/scenarios/S01_straight_vwalls/preview_oblique.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview_side.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview_top.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/scene.json +2 -2
- trenchfoot/scenarios/S01_straight_vwalls/trench_scene.obj +30 -27
- trenchfoot/scenarios/S01_straight_vwalls/volumetric/trench_volume.msh +540 -802
- trenchfoot/scenarios/S02_straight_slope_pipe/metrics.json +10 -10
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_oblique.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_side.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_top.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/scene.json +3 -3
- trenchfoot/scenarios/S02_straight_slope_pipe/trench_scene.obj +4977 -4974
- trenchfoot/scenarios/S02_straight_slope_pipe/volumetric/trench_volume.msh +1694 -1969
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/metrics.json +14 -14
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_oblique.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_side.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_top.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/scene.json +4 -4
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/trench_scene.obj +10547 -10540
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/volumetric/trench_volume.msh +3101 -3767
- trenchfoot/scenarios/S04_U_slope_multi_noise/metrics.json +17 -17
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_oblique.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_side.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_top.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/scene.json +8 -7
- trenchfoot/scenarios/S04_U_slope_multi_noise/trench_scene.obj +17999 -17988
- trenchfoot/scenarios/S04_U_slope_multi_noise/volumetric/trench_volume.msh +4991 -6506
- trenchfoot/scenarios/S05_wide_slope_pair/metrics.json +14 -14
- trenchfoot/scenarios/S05_wide_slope_pair/preview_oblique.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/preview_side.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/preview_top.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/scene.json +6 -6
- trenchfoot/scenarios/S05_wide_slope_pair/trench_scene.obj +10547 -10540
- trenchfoot/scenarios/S05_wide_slope_pair/volumetric/trench_volume.msh +5081 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/metrics.json +16 -16
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_oblique.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_side.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_top.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/scene.json +6 -6
- trenchfoot/scenarios/S06_bumpy_wide_loop/trench_scene.obj +12812 -12793
- trenchfoot/scenarios/S06_bumpy_wide_loop/volumetric/trench_volume.msh +10402 -0
- trenchfoot/scenarios/S07_circular_well/metrics.json +48 -0
- trenchfoot/scenarios/S07_circular_well/preview_oblique.png +0 -0
- trenchfoot/scenarios/S07_circular_well/preview_side.png +0 -0
- trenchfoot/scenarios/S07_circular_well/preview_top.png +0 -0
- trenchfoot/scenarios/S07_circular_well/scene.json +203 -0
- trenchfoot/scenarios/S07_circular_well/trench_scene.obj +64401 -0
- trenchfoot/scenarios/S07_circular_well/volumetric/trench_volume.msh +22370 -0
- trenchfoot/scenarios/SUMMARY.json +343 -32
- trenchfoot/trench_scene_generator_v3.py +323 -46
- {trenchfoot-0.1.1.dist-info → trenchfoot-0.2.2.dist-info}/METADATA +16 -18
- {trenchfoot-0.1.1.dist-info → trenchfoot-0.2.2.dist-info}/RECORD +58 -49
- {trenchfoot-0.1.1.dist-info → trenchfoot-0.2.2.dist-info}/WHEEL +1 -1
- {trenchfoot-0.1.1.dist-info → trenchfoot-0.2.2.dist-info}/entry_points.txt +0 -0
- {trenchfoot-0.1.1.dist-info → trenchfoot-0.2.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"surface_area_by_group": {
|
|
3
|
+
"trench_bottom": 18.82403650828919,
|
|
4
|
+
"trench_cap_for_volume": 22.05640516225481,
|
|
5
|
+
"trench_walls": 54.53928771441612,
|
|
6
|
+
"ground_surface": 40.328721583732374,
|
|
7
|
+
"pipe0_pipe_side": 5.025651121424817,
|
|
8
|
+
"pipe0_pipe_cap_neg": 0.12557400812187475,
|
|
9
|
+
"pipe0_pipe_cap_pos": 0.12557400812187475,
|
|
10
|
+
"pipe1_pipe_side": 3.2980835484350353,
|
|
11
|
+
"pipe1_pipe_cap_neg": 0.07063537956855452,
|
|
12
|
+
"pipe1_pipe_cap_pos": 0.07063537956855451,
|
|
13
|
+
"pipe2_pipe_side": 1.884619170534306,
|
|
14
|
+
"pipe2_pipe_cap_neg": 0.03139350203046869,
|
|
15
|
+
"pipe2_pipe_cap_pos": 0.03139350203046869,
|
|
16
|
+
"pipe3_pipe_side": 2.4123125382839117,
|
|
17
|
+
"pipe3_pipe_cap_neg": 0.04520664292387489,
|
|
18
|
+
"pipe3_pipe_cap_pos": 0.045206642923874885,
|
|
19
|
+
"sphere0": 0.7838221025021312
|
|
20
|
+
},
|
|
21
|
+
"closed_surface_sets": {
|
|
22
|
+
"trench_closed_groups": [
|
|
23
|
+
"trench_walls",
|
|
24
|
+
"trench_bottom",
|
|
25
|
+
"trench_cap_for_volume"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"volumes": {
|
|
29
|
+
"trench_from_surface": -47.27542533827233,
|
|
30
|
+
"trench_flux_integral_div1": -47.275425338272335
|
|
31
|
+
},
|
|
32
|
+
"footprint_area_top": 22.05640516225481,
|
|
33
|
+
"footprint_area_bottom": 18.82403650828919,
|
|
34
|
+
"width_top": 2.0,
|
|
35
|
+
"width_bottom": 1.75,
|
|
36
|
+
"noise": {
|
|
37
|
+
"enable": true,
|
|
38
|
+
"amplitude": 0.02,
|
|
39
|
+
"corr_length": 0.4,
|
|
40
|
+
"octaves": 2,
|
|
41
|
+
"gain": 0.5,
|
|
42
|
+
"seed": 37,
|
|
43
|
+
"apply_to": [
|
|
44
|
+
"trench_walls",
|
|
45
|
+
"trench_bottom"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path_xy": [
|
|
3
|
+
[
|
|
4
|
+
1.5,
|
|
5
|
+
0.0
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
1.4711779206048456,
|
|
9
|
+
0.2926354830241924
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
1.38581929876693,
|
|
13
|
+
0.5740251485476346
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
1.2472044184538178,
|
|
17
|
+
0.8333553495294033
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
1.0606601717798214,
|
|
21
|
+
1.0606601717798212
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
0.8333553495294035,
|
|
25
|
+
1.2472044184538178
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
0.5740251485476348,
|
|
29
|
+
1.38581929876693
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
0.2926354830241925,
|
|
33
|
+
1.4711779206048456
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
9.184850993605148e-17,
|
|
37
|
+
1.5
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
-0.2926354830241923,
|
|
41
|
+
1.4711779206048456
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
-0.5740251485476346,
|
|
45
|
+
1.38581929876693
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
-0.8333553495294029,
|
|
49
|
+
1.2472044184538182
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
-1.0606601717798212,
|
|
53
|
+
1.0606601717798214
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
-1.247204418453818,
|
|
57
|
+
0.8333553495294033
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
-1.38581929876693,
|
|
61
|
+
0.5740251485476349
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
-1.4711779206048456,
|
|
65
|
+
0.2926354830241929
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
-1.5,
|
|
69
|
+
1.8369701987210297e-16
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
-1.4711779206048456,
|
|
73
|
+
-0.2926354830241925
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
-1.3858192987669302,
|
|
77
|
+
-0.5740251485476345
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
-1.2472044184538182,
|
|
81
|
+
-0.8333553495294029
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
-1.0606601717798214,
|
|
85
|
+
-1.0606601717798212
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
-0.8333553495294033,
|
|
89
|
+
-1.2472044184538178
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
-0.5740251485476355,
|
|
93
|
+
-1.3858192987669298
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
-0.292635483024193,
|
|
97
|
+
-1.4711779206048454
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
-2.755455298081545e-16,
|
|
101
|
+
-1.5
|
|
102
|
+
],
|
|
103
|
+
[
|
|
104
|
+
0.29263548302419246,
|
|
105
|
+
-1.4711779206048456
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
0.574025148547635,
|
|
109
|
+
-1.38581929876693
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
0.8333553495294028,
|
|
113
|
+
-1.2472044184538182
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
1.060660171779821,
|
|
117
|
+
-1.0606601717798214
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
1.2472044184538178,
|
|
121
|
+
-0.8333553495294033
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
1.3858192987669298,
|
|
125
|
+
-0.5740251485476355
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
1.4711779206048454,
|
|
129
|
+
-0.29263548302419307
|
|
130
|
+
],
|
|
131
|
+
[
|
|
132
|
+
1.5,
|
|
133
|
+
0.0
|
|
134
|
+
]
|
|
135
|
+
],
|
|
136
|
+
"width": 2.0,
|
|
137
|
+
"depth": 2.5,
|
|
138
|
+
"wall_slope": 0.05,
|
|
139
|
+
"ground_margin": 1.0,
|
|
140
|
+
"ground": {
|
|
141
|
+
"z0": 0.0,
|
|
142
|
+
"slope": [
|
|
143
|
+
0.0,
|
|
144
|
+
0.0
|
|
145
|
+
],
|
|
146
|
+
"size_margin": 2.0
|
|
147
|
+
},
|
|
148
|
+
"pipes": [
|
|
149
|
+
{
|
|
150
|
+
"radius": 0.2,
|
|
151
|
+
"length": 4.0,
|
|
152
|
+
"angle_deg": 0,
|
|
153
|
+
"s_center": 0.25,
|
|
154
|
+
"z": -0.5,
|
|
155
|
+
"offset_u": 0.0
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"radius": 0.15,
|
|
159
|
+
"length": 3.5,
|
|
160
|
+
"angle_deg": 45,
|
|
161
|
+
"s_center": 0.5,
|
|
162
|
+
"z": -1.2,
|
|
163
|
+
"offset_u": 0.1
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"radius": 0.1,
|
|
167
|
+
"length": 3.0,
|
|
168
|
+
"angle_deg": -60,
|
|
169
|
+
"s_center": 0.75,
|
|
170
|
+
"z": -1.8,
|
|
171
|
+
"offset_u": -0.15
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"radius": 0.12,
|
|
175
|
+
"length": 3.2,
|
|
176
|
+
"angle_deg": 90,
|
|
177
|
+
"s_center": 0.0,
|
|
178
|
+
"z": -2.2,
|
|
179
|
+
"offset_u": 0.0
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"boxes": [],
|
|
183
|
+
"spheres": [
|
|
184
|
+
{
|
|
185
|
+
"radius": 0.25,
|
|
186
|
+
"s": 0.4,
|
|
187
|
+
"offset_u": 0.0,
|
|
188
|
+
"z": -1.5
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"noise": {
|
|
192
|
+
"enable": true,
|
|
193
|
+
"amplitude": 0.02,
|
|
194
|
+
"corr_length": 0.4,
|
|
195
|
+
"octaves": 2,
|
|
196
|
+
"gain": 0.5,
|
|
197
|
+
"seed": 37,
|
|
198
|
+
"apply_to": [
|
|
199
|
+
"trench_walls",
|
|
200
|
+
"trench_bottom"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
}
|