Please calculate the pressure drop through a pipe if its length is \(1 \; km\); its diameter is \(1 m\), and if the fluid has viscosity of \(\require{color}{\color[rgb]{0.501963,0.000046,0.501966}\mu} = {\color[rgb]{0.501963,0.000046,0.501966}1.54 \; 10^{-3} kg/(m \cdot s)}\) and the bulk velocity is \(\require{color}{\color[rgb]{0.059472,0.501943,0.998465}10\; m/s}\).
This is a straightforward application of the Hagen-Poiseuille equation for the pressure loss across a pipe. Recall, from Lecture 10 we found out that
import numpy as npmu =1.54*10**(-3) # viscosityV =10# velocityD =1# diameterR = D/2# radiusL =1000# 1 km = 1000 mDelta_p = (8* mu * V * L)/(R**2)print('The loss in pressure is '+str(np.around(Delta_p,3))+'Pa')