Compute the friction pressure drop along a straight pipe from friction factor f, length L, diameter D, density ρ and velocity v using the Darcy formula, for pipe network hydraulics and pump energy estimation.
輸入摩擦係數 f、管長 L、管徑 D、密度 ρ、流速 v,求壓降。