summaryrefslogtreecommitdiff
path: root/797/CH8/EX8.3.e/8_03_example.sci
blob: 7c78cba6038bf76b47d7e989db584cdeaa7e7248 (plain)
1
2
3
4
5
6
7
//Example 8-03 Determining the Head Loss in Water pipe
rho = 999 //density of water [kg/m^3]
mu = 1.138 * 10**-3 //dynamic viscosity of water [kg/m.s]
D = 5 //diameter of pipe [cm]
Vdot = 0.006 //flow rate of water through pipe [m^3/s]
L = 60 //length of pipe for which head loss is to be determined[m]
g = 9.81 //gravitational acceleration