You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,3 +80,23 @@ function pressure_drop(f::Fluid, v::Valve)
114
80
115
81
return p₀ * (Q / Kv)^2* ρ / ρ₀
116
82
end
83
+
84
+
"""
85
+
pressure_drop(f::Fluid, b::Bend)
86
+
87
+
Computes the pressure drop of a `fluid` flowing through a `bend`.
88
+
89
+
So far, we only support 90-degree bends, see Spedding, P.L., Bernard, E. and McNally, G.M., ‘Fluid flow through 90 degree bends’, Dev. Chem. Eng Mineral Process, 12: 107–128, 2004.
90
+
91
+
# Arguments
92
+
- `f::Fluid`: the fluid flowing through the tube
93
+
- `b::Bend`: the valve through which the fluid flows
94
+
95
+
# Returns
96
+
- `DynamicQuantity.AbstractQuantity`: the pressure drop of the fluid flowing through the tube
97
+
"""
98
+
functionpressure_drop(f::Fluid, b::Bend)
99
+
@assert b.angle ==90u"deg""only 90-degree bends are supported at the moment"
0 commit comments