summaryrefslogtreecommitdiff
path: root/3720/CH13/EX13.6/Ex13_6.sce
blob: 01ad54985754007a09167637131df77b72300068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Example 13_6
clc;clear;
// Given values
b=6;//Width in m
S_0=0.004;// The bottom slope
y=2;// m
g=9.81;// m/s^2
//Properties
n=0.014;// The Manning coefficient
a=1;//The factor a is a dimensional constant in m^(1/3)/s

//Calculation
A_c=y*b;//The cross sectional area in m^2
p=b+(2*y);// Perimeter in m
R_h=A_c/p;// Hydraulic radius in m
V=(a/n)*A_c*R_h^(2/3)*S_0^(1/2);
printf('The flow rate,V=%0.1f m^3/s\n',V);
// y=y_n=2 m
y_c=V^2/(g*A_c^2);
disp("This channel at these flow conditions is classified as STEEP since y_n <y_c ,and the flow is supercritical.")