summaryrefslogtreecommitdiff
path: root/896/CH17/EX17.3/3.sce
blob: 4b0bb4f88a7d5249e2fbd14fdb6a6d4f18e27524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
//Example 17.3
//Calculate the distance between the wall and edge of the laminar sublayer and buffer layer
V=10//ft/s
l=0.25//ft
v=1.08*10^(-5)//ft^2/s
R=V*l/v//dimentionless (reynold's number)
f=0.0037//dimentionless (fanning friction factor)
u1=V*(f/2)^0.5//ft/s
u01=5//dimentionless
y01=5//dimentionless
r1=y01*v/u1//ft
printf("the distance between the wall and edge of the laminar sublayer is %f ft\n",r1);
//for buffer layer
u02=12//dimentionless
y02=26//dimentionless
r2=y02*v/u1//ft
printf("the distance between the wall and edge of the buffer layer is %f ft",r2);