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 the numeric mean of the prime numbers in a matrix.
8910 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2299 Solvers
-
128 Solvers
-
285 Solvers
-
255 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!