6. Momentum balance for an uniform open channel
Same water depth everywhere
Stationary conditions
7. MATLAB Program
• function riverflow
• rho=1000;
• h=1.5; %Water depth within the river
• B=50; % Width of the river
• A=B*h;
• U= B+2*h;
• dhyd=4*A/U;
• z1=20; % Upper height of the river
• z2=0; % Loweder height of the river
• L=10000; % Length of the river
• J=(z1-z2)/L; % Slope
• Ks=0.03; %Roughness of the river bed
•
• [T v]=ode45(@RHS,[0 1000],0);
• plot(T,v*A,'Color',[0 0 0],'LineWidth',2)
• xlabel('Time[s]','FontWeight','bold')
• ylabel('Discharge[m^3/s]','FontWeight','bold')
• grid on
•
• function dvdt=RHS(t,v)
• Re=v*dhyd/nu;
• lambda=colebrook_white(Re,Ks/dhyd);
• dvdt=(p1-p2)/(rho*L)+g*(z1-z2)/L-lambda/8*U/A*v*abs(v);
• end
• end
7
8. Open channel and river slopes
Example: Weser river in
Germany: At the source
z1=123m, at the mouth z0=0
m, lenght 300km