Problem statement
Write a function to classify the water surface profile starting at depth y in a channel with longitudinal slope
, discharge Q, Manning roughness coefficient n, and cross section specified by a structure channelStruct as in Cody Problem 58314. The unit system will be specified in units as either ‘SI’ or ‘USCS’ (U.S. customary system); take the acceleration of gravity g to be either 9.81
or 32.2
. You can assume that the slopes will be either mild or steep and the profiles will be one of the six shown in the figure below.
Background
Sections of channels are classifying by the relationship between the critical depth
and the normal depth
. Slopes with
are steep—that is, normal flow is supercritical (fast and shallow), whereas slopes with
are mild—that is, normal flow is subcritical (slow and deep).
The type of water surface profile in gradually varied flow then depends on the water depth y relative to these two depths, as shown in the figure below. Profile S1 has
; profile S2 has
; and profile S3 has
. Profile M1 has
; profile M2 has
; and profile M3 has
.
Figure by NateJonesAR - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=25698746
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers4
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3406 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2830 Solvers
-
Return elements unique to either input
808 Solvers
-
36 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
253 Solvers
More from this Author321
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!