Spaces:
Sleeping
Sleeping
Commit ·
bdbde26
1
Parent(s): 3d87973
Update app.py
Browse files
app.py
CHANGED
|
@@ -453,8 +453,16 @@ def main():
|
|
| 453 |
s = st.number_input("Non-Dimensional s (For Suction Loads - from Graphs Above)", value=0.5)
|
| 454 |
p2_bottom = st.number_input("Non-Dimensional p2 (For Suction Loads - from Graphs Above)", value=0.55)
|
| 455 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 456 |
if st.button("Run Dispersion"):
|
| 457 |
-
dispersion_result = dispersion(
|
| 458 |
st.write("Dispersion Result:")
|
| 459 |
st.write("Wave Length:", L)
|
| 460 |
|
|
|
|
| 453 |
s = st.number_input("Non-Dimensional s (For Suction Loads - from Graphs Above)", value=0.5)
|
| 454 |
p2_bottom = st.number_input("Non-Dimensional p2 (For Suction Loads - from Graphs Above)", value=0.55)
|
| 455 |
|
| 456 |
+
Hmax = Hs*1.8 #design wave height, equal to the mean of the highest 1/250 of the wave heights [m].
|
| 457 |
+
h = Still_Water_Level - Bottom_of_Wall #water depth [m]
|
| 458 |
+
d = h #water depth in front of the caisson, on top of the foundation [m]
|
| 459 |
+
h_acc = h #submerged depth of the caisson [m]
|
| 460 |
+
hc = Top_of_Wall_Height - Still_Water_Level #height of the caisson above the water line [m]
|
| 461 |
+
slope_foreshore = [1,100] #slope of the foreshore [rad]
|
| 462 |
+
lambda_=[1,1,1]
|
| 463 |
+
|
| 464 |
if st.button("Run Dispersion"):
|
| 465 |
+
dispersion_result = dispersion(T=T, h=h)
|
| 466 |
st.write("Dispersion Result:")
|
| 467 |
st.write("Wave Length:", L)
|
| 468 |
|