(33E) Stream Flow Estimate in Culverts
|
03-09-2019, 06:57 PM
(This post was last modified: 03-09-2019 09:15 PM by Dieter.)
Post: #3
|
|||
|
|||
RE: (33E) Stream Flow Estimate in Culverts
(03-09-2019 04:32 AM)PedroLeiva Wrote: Very nice program about Hydrology. It is short enough (49 steps) to work well also for HP-25 But it can be improved. :-) The original version requires the user to prestore not less than three numeric constansts (180, 0,6666... and 1,49). Which also means that the program occupies all available data registers R0...R7. Here is a version that also does it in 49 steps, but the user only has to provide the characteristic culvert data. The program also uses only R0...R4. There is even enough space to use the more exact conversion constant 1,486 instead of 1,49 (actually this is 0,3048–1/3 = 1,4859...). Code: prestore parameters: Enter flow depth d and [R/S] returns three results: Area A [ft²] Velocity V [ft/s] Stream discharge Q [ft³/s] Example: Culvert radius = 3 ft, slope = 2%, roughness coefficient = 0,024. 3 STO 1 0,02 STO 2 0,024 STO 3 2 [R/S] "8,25" "9,43" 77,77 3,5 [R/S] "17,12" "12,19" 208,67 Notes: 1. On start the program switches to radians mode. The last step reverts to standard degrees mode. Simply change this last step if your preferred angle mode is different. 2. The program can be easily modified for regular metric units, i.e. m², m/s and m³/s: simply remove the "1,486 ×" multiplication in step 40...45. This even frees up six lines which may be used for display formatting or other goodies. To adjust the original program for m², m/s and m³/s simply store 1 in R2. 3. After the program has been run the previously displayed results can still be recalled. On exit... – X shows the discharge rate Q – [X⇄Y] returns the area A – [LastX] recalls the velocity V again. If two more steps can be squeezed out (e.g. in the metric version) simply add [LastX] [X⇄Y] as the final steps and all three values are nicely returned on the stack. Edit: this post has seen more than a dozen edits, finally leading to a better program. If you read this post earlier be sure to use the final program version. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(33E) Stream Flow Estimate in Culverts - SlideRule - 03-08-2019, 01:14 PM
RE: (33E) Stream Flow Estimate in Culverts - PedroLeiva - 03-09-2019, 04:32 AM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-09-2019 06:57 PM
RE: (33E) Stream Flow Estimate in Culverts - Thomas Klemm - 03-09-2019, 09:04 PM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-09-2019, 09:21 PM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-10-2019, 01:53 PM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-10-2019, 07:53 PM
RE: (33E) Stream Flow Estimate in Culverts - Thomas Klemm - 03-09-2019, 10:30 PM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-10-2019, 10:03 AM
RE: (33E) Stream Flow Estimate in Culverts - Thomas Klemm - 03-10-2019, 10:19 PM
RE: (33E) Stream Flow Estimate in Culverts - Dieter - 03-11-2019, 09:58 AM
|
User(s) browsing this thread: 6 Guest(s)