Update app.py
Browse files
app.py
CHANGED
@@ -8,15 +8,14 @@ st.write("""
|
|
8 |
|
9 |
|
10 |
# Fluid properties
|
11 |
-
mu = st.number_input("Viscosity [Pa*s]", step=1e-6,
|
12 |
-
|
13 |
-
rho = st.number_input("Density [kg/m^3]") # 1.196 # Density [kg/m^3]
|
14 |
nu = mu/rho # Dynamic viscosity [m^2/s]
|
15 |
|
16 |
# Flow properties
|
17 |
-
D = st.number_input("Characteristic Length [m]") # Characteristic Length [m]
|
18 |
-
u_inf = st.number_input("Freestream velocity [m/s]") # Freestream velocity [m/s]
|
19 |
-
y_plus = st.number_input("Y+ [-]") # Y+ [-]
|
20 |
|
21 |
Re = rho*u_inf*D/mu # Reynold's number
|
22 |
C_f = .0576*Re**(-.2) # Skin friction coefficient
|
|
|
8 |
|
9 |
|
10 |
# Fluid properties
|
11 |
+
mu = st.number_input("Viscosity [Pa*s]", step=1e-6, format="%.7f")
|
12 |
+
rho = st.number_input("Density [kg/m^3]", step=1e-6, format="%.5f")
|
|
|
13 |
nu = mu/rho # Dynamic viscosity [m^2/s]
|
14 |
|
15 |
# Flow properties
|
16 |
+
D = st.number_input("Characteristic Length [m]", step=1e-6, format="%.5f") # Characteristic Length [m]
|
17 |
+
u_inf = st.number_input("Freestream velocity [m/s]", step=1e-6, format="%.5f") # Freestream velocity [m/s]
|
18 |
+
y_plus = st.number_input("Y+ [-]", step=1e-6, format="%.5f") # Y+ [-]
|
19 |
|
20 |
Re = rho*u_inf*D/mu # Reynold's number
|
21 |
C_f = .0576*Re**(-.2) # Skin friction coefficient
|