Problem 58374. Classify water surface profiles
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 commentsProblem Recent Solvers4
Suggested Problems
-
Find relatively common elements in matrix rows
2051 Solvers
-
1160 Solvers
-
76 Solvers
-
Project Euler: Problem 10, Sum of Primes
1717 Solvers
-
1558 Solvers
More from this Author279
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!