blob: 1b824367f07b4c4215590ea73dfef4b296c8ad2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
clc
//Example 10.2 HEAD LOSS FOR LAMINAR FLOW
g=9.81; //[m/s^2]
L=100; //[m]
D=0.15; //diameter[m]
A=%pi*D^2/4 //area[m^2]
Q=0.02 ;//[m^3/s]
v=6*10^-4; //[m^2/s]
V=Q/A //[m/s]
//Reynolds number
Re=V*D/v
//Re<2000, the flow is laminar.
//Head loss(laminar flow)
hf=32*v*L*V/(g*D^2) //[m]
printf("\nThe head loss per 100m length of the pipe = %.2f m.\n",hf)
|