home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / civil-ab.zip / MNDOTHYD.ZIP / IRRCHANL.TXT < prev    next >
Text File  |  1985-09-09  |  16KB  |  467 lines

  1.                             IRREGULAR CHANNEL
  2.  
  3.  
  4. IRRCHANL DOCUMENTATION:  Irregular channel program written in house
  5. using Manning's equation.
  6.  
  7.  
  8.      The cross section may have up to 21 points.  Coordinates are
  9. entered in order from left to right.  The X coordinate must always
  10. increase from left to right.
  11.  
  12.      With each set of X and Y coordinates the value of manning's "n"
  13. between this and the previous set of coordinates is entered.  The value
  14. of "n" entered with the first set of coordinates is a dummy and is not
  15. used in the calculations.  Each point can have a different manning's
  16. "n" value.  The machine will ask for the "n" value of the main channel
  17. so that the output can be separated into the areas left of main
  18. channel, main channel and right of main channel.  Initial and final
  19. depths which you enter must be based on the same datum as the Y
  20. coordinates.  The limits on Y are +/- 9999.9.
  21.  
  22.      The number of output stages available is 20.
  23.  
  24.      The average velocity is the summation of Q times V for all "n"
  25. regions divided by total Q.  The mean velocity is simply total
  26. discharge divided by total area.
  27.  
  28.      The program also has the capability of storing x-sections on
  29. diskette for future use.
  30.  
  31.      You also have several ways of modifying the x-section.  You can
  32. alter manning's "n" either one point at a time or by increasing or
  33. decreasing each of the three sections (left, main, and right) by a
  34. given percent.  You can also redefine the x-section by making the
  35. overbank narrower.  If the resultant x-section produced by this
  36. narrowing operation contains more than 21 points, an error message is
  37. printed and you have the option of trying again.
  38.  
  39.      PLACE HYDRAULICS DISK IN DRIVE "A" AND DATA DISK IN DRIVE "B"
  40.  
  41. 1.  IS X-SECTION ON DISKETTE 0=YES  1=NO
  42.  
  43.     If X-section has been stored previously then answer yes.
  44.     When just beginning, then the answer is no.
  45.  
  46.     If no:
  47.  
  48. 2.  ENTER NO. OF PTS. ON X-SECTION?
  49.  
  50.     Input total number of coordinates of x,y,n.  Maximum 21 sets of
  51.     points.  The P.C. will keep track of number, therefore, helping with
  52.     input.
  53.  
  54. 3.  ENTER NO. 1 x, y, "n"
  55.  
  56.     Input first coordinate separated by commas.  For example, 110, 950,
  57.     0.1 (110 is the x distance, 950 is the elevation, and 0.1 is the
  58.     manning's "n").  The manning's "n" for the first coordinate is a
  59.     dummy.  The value of "n" between 1st coordinate and 2nd coordinate
  60.     is defined by the value of "n" in the 2nd coordinate, etc.
  61.     This question will appear until all specified coordinates are keyed
  62.     in.
  63.  
  64.                              P.C.'s OUTPUT
  65.  
  66. POINT NO 1       2       3       4       5       6       7       8     9
  67. X:    110     185     320     380     395     420     440     575   650
  68. Y:   950.0   945.0   942.0   940.0   932.0   933.0   941.0   940.0 951.0
  69. N:  0.0000  0.0900  0.0600  0.0600  0.0350  0.0350  0.0350  0.0500 .082
  70. ------------------------------------------------------------------------
  71.  
  72. 4.  IS DATA CORRECT?  YES=0  NO=1
  73.  
  74.     If no:
  75.  
  76.      a.  ENTER NO. OF POINT IN ERROR?
  77.  
  78.          In the example - say the point #6, the elev. should be 931
  79.          instead of 933, therefore, input 6 and press RETURN key.
  80.  
  81.      b.  ENTER NO. 6 x, y, "n"?
  82.  
  83.          In example, input 420,931, 0.035
  84.  
  85.                              P.C.'s OUTPUT
  86.  
  87. POINT #:  1      2      3      4      5      6      7      8      9
  88. X:      110    185    320    380    395    420    440    575    650
  89. Y:    950.0  945.0  942.0  940.0  932.0  931.0  941.0  940.0  951.0
  90. N:   0.0000 0.0900 0.0600 0.0600 0.03500 0.0350 0.0350 0.0500 0.0800
  91.  
  92. 5.  IS DATA CORRECT?  YES=0  NO=1
  93.  
  94. 6.  ENTER MAIN CHANNEL "N"?
  95.  
  96.     In example, input 0.035
  97.     This will separate the values for the left overbank, the
  98.     right overbank and the main channel.
  99.  
  100. 7.  ENTER INITIAL STAGE ELEVATION?
  101.  
  102.     Program is looking for the lowest desired elevation to begin the
  103.     stage vs. discharge calculations.
  104.     In example, input 937.
  105.  
  106. 8.  ENTER FINAL STAGE ELEVATION?
  107.  
  108.     Looking for the highest desired elevation to end the stage vs.
  109.     discharge calculations.
  110.     In example, input 939.
  111.  
  112. 9.  ENTER ELEVATION INCREMENT?
  113.  
  114.     The program is asking for a desired increment for the purpose of
  115.     calculating stages between the initial and the final elevations.
  116.     A large enough increment should be chosen so that no more than
  117.     20 stages are generated.  If increment chosen will generate more
  118.     than 20 stages, P.C. will give appropriate message and will ask for
  119.     increment again.
  120.  
  121.     a.  THE NUMBER OF STAGES WILL EXCEED 20
  122.     b.  ENTER MAIN CHANNEL "N"?
  123.     c.  ENTER INITIAL STAGE ELEVATION?
  124.     d.  ENTER FINAL ELEVATION?
  125.     e.  ENTER ELEVATION INCREMENT?
  126.  
  127.                              P.C.'s OUTPUT
  128.  
  129. "N" FOR MAIN CHANNEL = 0.0350
  130.  
  131.  =STAGE=   =====AREA (SQ FT)=====   =WETTED PER (FT)==   ===HYD RAD===
  132.     FEET   LEFT  MAIN RIGHT TOTAL    LT MAIN   RT  TOT    LT MAIN   RT
  133.   937.00      0   197     0   197     0   49    0   49   0.0  4.0  0.0
  134.   938.00      0   245     0   245     0   53    0   53   0.0  4.6  0.0
  135.   939.00      0   297     0   297     0   58    0   58   0.0  5.1  0.0
  136.  
  137. 10. ENTER SLOPE? (ft/ft)
  138.  
  139.     In example, 0.0005
  140.  
  141.                              P.C.'s OUTPUT
  142.  
  143. =STAGE=   ========VELOCITY (FT/SEC)=======   ======DISCHARGE (CFS)======
  144.    FEET   LEFT   MAIN  RIGHT    AVE   MEAN   LEFT   MAIN  RIGHT  TOTAL
  145.  937.00   0.00   2.40   0.00   2.40   2.40      0    474      0    474
  146.  938.00   0.00   2.63   0.00   2.63   2.63      0    645      0    645
  147.  939.00   0.00   2.84   0.00   2.84   2.84      0    844      0    844
  148.  
  149. ________________________________________________________________________
  150.  
  151. 11. CHANGE "N" 0% 1=NO 2=POINT?
  152.  
  153.     Gives opportunity to change Manning's "n" by percent or point by
  154.     point.
  155.  
  156.     If by percent:  (input 0)
  157.  
  158.     a. % CHANGE IN LEFT "N" (+,-,0)?
  159.  
  160.        The program is looking for a positive or a negative percent
  161.        change in left overbank. Zero (0) indicates no change.
  162.  
  163.        In example say -10% (input -10).
  164.  
  165.     b. % CHANGE IN MAIN "N" (+,-,0)?
  166.  
  167.        The program is looking for percent change in main channel "n"
  168.        In example, input 0
  169.  
  170.     c. % CHANGE IN RIGHT "N"
  171.  
  172.        The program is looking for percent change in right overbank "n"
  173.        In example, input 15 (meaning 15 percent)
  174.  
  175.                              P.C.'s OUTPUT
  176.  
  177. POINT #:  1      2      3      4      5      6      7      8      9
  178. X:      110    185    320    380    395    420    440    575    650
  179. Y:    950.0  945.0  942.0  940.0  932.0  931.0  941.0  940.0  951.0
  180. N:   0.0000 0.0810 0.0540 0.5400 0.03500 0.0350 0.0350 0.0575 0.0920
  181.  
  182. ------------------------------------------------------------------------
  183.  
  184. SLOPE = 0.0005000
  185.  
  186. 13. IS DATA CORRECT?  YES=0 NO=1
  187.  
  188.     Gives opportunity to change anything else about the x-sec.
  189.  
  190. 14. ENTER MAIN CHANNEL "N"?
  191.  
  192.     The main channel "n" could have been changed previously.
  193.     In example, input 0.035
  194.  
  195.                              P.C.'s  OUTPUT
  196.  
  197. 'N' FOR MAIN CHANNEL = 0.0350
  198.  
  199. 15.  ENTER INITIAL STAGE ELEVATION?
  200.  
  201.      If desired, can change to different elevation than previously used.
  202.      In example, input 937
  203.  
  204. 16. ENTER FINAL ELEVATION?
  205.  
  206.     In example, input 939
  207.  
  208. 17. ENTER ELEVATION INCREMENT?
  209.  
  210.     In example, input 1
  211.  
  212.                              P.C.'s OUTPUT
  213.  
  214. 'N' FOR MAIN CHANNEL = 0.0350
  215.  
  216.  =STAGE=   =====AREA (SQ FT)=====   =WETTED PER (FT)==   ===HYD RAD===
  217.     FEET   LEFT  MAIN RIGHT TOTAL    LT MAIN   RT  TOT    LT MAIN   RT
  218.   937.00      0   197     0   197     0   49    0   49   0.0  4.0  0.0
  219.   938.00      0   245     0   245     0   53    0   53   0.0  4.6  0.0
  220.   939.00      0   297     0   297     0   58    0   58   0.0  5.1  0.0
  221.  
  222. SLOPE = 0.000500
  223.  
  224. =STAGE=   ========VELOCITY (FT/SEC)=======   ======DISCHARGE (CFS)======
  225.    FEET   LEFT   MAIN  RIGHT    AVE   MEAN   LEFT   MAIN  RIGHT  TOTAL
  226.  937.00   0.00   2.40   0.00   2.40   2.40      0    474      0    474
  227.  938.00   0.00   2.63   0.00   2.63   2.63      0    645      0    645
  228.  939.00   0.00   2.84   0.00   2.84   2.84      0    844      0    844
  229.  
  230. ________________________________________________________________________
  231.  
  232. 18. CHANGE 'N' 0=% 1=NO 2=POINT
  233.  
  234.     This question is looped until completely satisfied with
  235.     the manning's "n" and, therefore, the stage vs. discharge results.
  236.  
  237.     If no:
  238.  
  239. 19. NEW SLOPE?  YES=0  NO=1  (in ft./ft.)
  240.  
  241.     Gives opportunity to vary the slope.
  242.     In example, input 0.
  243.  
  244. 20. ENTER SLOPE?  (in ft./ft.)
  245.  
  246.     In example, input 0.0007
  247.  
  248.                              P.C.'s OUTPUT
  249.  
  250. SLOPE = 0.000700
  251.  
  252. =STAGE=   ========VELOCITY (FT/SEC)=======   ======DISCHARGE (CFS)======
  253.    FEET   LEFT   MAIN  RIGHT    AVE   MEAN   LEFT   MAIN  RIGHT  TOTAL
  254.  937.00   0.00   2.84   0.00   2.84   2.84      0    560      0    560
  255.  938.00   0.00   3.11   0.00   3.11   3.11      0    762      0    762
  256.  939.00   0.00   3.36   0.00   3.36   3.36      0    997      0    997
  257.  
  258. ------------------------------------------------------------------------
  259.  
  260. 21. CHANGE 'N'  0=%  1=NO  2=POINT?
  261.  
  262.     Opportunity to change manning's "n"
  263.     In example, input 1
  264.  
  265. 22. NEW SLOPE?  YES=0  NO=1
  266.  
  267.     Opportunity to change slope, etc.
  268.     In example, input 1
  269.  
  270. 23. NEW CALC. INTERVAL?  YES=0  NO=1
  271.  
  272.     Gives opportunity to make interval smaller and the range of stages
  273.     closer to the design, overtopping, Q100 discharges.
  274.     It is recommended that 0.1 be used as the final increment for
  275.     the purpose of designing bridge structure opening.
  276.     In example, input 0.
  277.  
  278. If yes: (input 0)
  279.  
  280. a.  ENTER INITIAL STAGE ELEVATION?
  281.  
  282.     Should be set just low enough to provide stages for
  283.     desired discharges (Design, overtopping, or other).
  284.     In example, input 944.6
  285.  
  286. b.  ENTER FINAL STAGE ELEVATION?
  287.  
  288.  
  289.     In example, input 944.8 (It is assumed that design discharge is
  290.     4500 cfs and Q100 is 5500 cfs).
  291.  
  292. c.  ENTER ELEVATION INCREMENT?
  293.  
  294.     In example, input 0.1
  295.  
  296.                              P.C.'s  OUTPUT
  297.  
  298.  =STAGE=   =====AREA (SQ FT)=====   =WETTED PER (FT)==   ===HYD RAD===
  299.     FEET   LEFT  MAIN RIGHT TOTAL    LT MAIN   RT  TOT    LT MAIN   RT
  300.   944.60    368   629   626  1622   177   64  167  408   2.1  9.8  3.8
  301.   944.70    386   635   642  1663   182   64  167  413   2.1  9.9  3.8
  302.   944.80    404   641   659  1704   186   64  168  419   2.2  9.9  3.8
  303.  
  304. SLOPE = 0.000700
  305.  
  306. =STAGE=   ========VELOCITY (FT/SEC)=======   ======DISCHARGE (CFS)======
  307.    FEET   LEFT   MAIN  RIGHT    AVE   MEAN   LEFT   MAIN  RIGHT  TOTAL
  308.  944.60   1.78   5.14   1.70   4.01   2.98    576   3236   1026   4839
  309.  944.70   1.81   5.18   1.73   4.02   2.99    611   3288   1068   4967
  310.  944.80   1.83   5.21   1.76   4.03   2.99    647   3340   1114   5100
  311.  
  312. ------------------------------------------------------------------------
  313.     d.  CHANGE "N"  0=%  1=NO  2=POINT
  314.  
  315.         In example, input 1
  316.  
  317.     e.  NEW SLOPE?  YES=0  NO=1
  318.  
  319.     f.  NEW CALC. INTERVAL?  YES=0  NO=1?
  320.  
  321.         In example, input 1
  322.  
  323. 24. NARROWER OVERBANK  0=YES  1=NO
  324.  
  325.     Provides opportunity to eliminate a portion of x-section. from left
  326.     or right overbank.
  327.     Sometimes useful when balancing stage with observed highwater.
  328.     Eliminates portion of x-section from conveying flow and, therefore,
  329.     stage can be higher.
  330.     Sometimes can be used to quickly determine the change in stage
  331.     due to encroachment onto the floodplain by development.
  332.  
  333. If yes:  (input 0)
  334.  
  335.     a.  STORE ORIG. X-SECTION  0=YES  1=NO
  336.  
  337.         In example, input 0
  338.  
  339.     b.  DATA FILE #  (on P.C. asks for filename)
  340.  
  341.         The program loops on making x-section smaller and smaller, but
  342.         once the desired effect is by-passed, the program can not make
  343.         x-section bigger (because it looses from memory the points that
  344.         have been chopped off).  The way to by-pass this, is to store
  345.         the original x-section, then recall it to make a more accurate
  346.         cut (narrowing).
  347.  
  348.     c.  ENTER MIN. LEFT X VALUE (or 0)?
  349.  
  350.         The program is looking for a beginning distance value (x value)
  351.         along the x-section at which point a slope can be applied, as
  352.         say 50:1, 10:1, 2:1 etc.  Since the x-section can be made only
  353.         smaller, therefore, the most farthest value from the main
  354.         channel is preferable.  Then if the results are still not
  355.         satisfactory, another starting X value closer to the main
  356.         channel can be entered.
  357.         In example, input 250
  358.  
  359.     d.  ENTER LEFT OVERBANK SLOPE X:1
  360.  
  361.         The program is looking for a slope value as a ratio, as 10:1
  362.         etc.
  363.         In example, this slope will start at distance value of 250
  364.         and continue at 2:1 as high as necessary.
  365.         In example, input 2
  366.  
  367.     e.  ENTER MAX. RIGHT X VALUE (OR 0)?
  368.  
  369.         Same as for left overbank.  Begin with the farthest desirable
  370.         distance from the main channel.
  371.         Input of 0 (zero) indicates that no change is necessary.
  372.         In example, input 0
  373.  
  374.     f.  ENTER RIGHT OVERBANK SLOPE X:1?
  375.  
  376.         Input a slope as 15:1 or a 0 (zero) if previous input was 0
  377.         (zero).
  378.         In example, input 0
  379.  
  380.                              P.C.'s OUTPUT
  381.  
  382. MINIMUM LEFT X VALUE =  250     SLOPE =  2:1
  383. MAXIMUM RIGHT X VALUE = 0       SLOPE =  0:1
  384.  
  385. POINT #:  1      2      3      4      5      6      7      8      9
  386. X:      237    250    320    380    395    420    440    575    650
  387. Y:    950.0  943.6  942.0  940.0  932.0  931.0  941.0  940.0  951.0
  388. N:   0.0000 0.0540 0.0540 0.4500 0.03500 0.0350 0.0350 0.0575 0.0920
  389.  
  390.     g.  IS DATA CORRECT?  YES=0  NO=1
  391.  
  392.         Gives opportunity to change any point in x-section.
  393.         In example, input 0
  394.  
  395.     h.  ENTER MAIN CHANNEL "N"?
  396.  
  397.         In example, input 0.035
  398.  
  399.     i.  ENTER INITIAL STAGE ELEVATION?
  400.  
  401.         In example, input 944
  402.  
  403.     j.  ENTER FINAL STAGE ELEVATION?
  404.  
  405.         In example, input 944.2
  406.  
  407.     k.  ENTER ELEVATION INCREMENT?
  408.  
  409.         In example, input 0.1
  410.  
  411.                              P.C.'s OUTPUT
  412.  
  413. 'N' FOR MAIN CHANNEL = 0.0350
  414.  
  415.  =STAGE=   =====AREA (SQ FT)=====   =WETTED PER (FT)==   ===HYD RAD===
  416.     FEET   LEFT  MAIN RIGHT TOTAL    LT MAIN   RT  TOT    LT MAIN   RT
  417.   944.00    266   593   527  1385   131   64  163  358   2.0  9.2  3.2
  418.   944.10    279   599   543  1421   131   64  163  359   2.1  9.3  3.3
  419.   944.20    292   605   560  1456   131   64  164  360   2.2  9.4  3.4
  420.  
  421. 1.  ENTER SLOPE?
  422.  
  423.     In example, input 0.0007
  424.  
  425.                              P.C.'s OUTPUT
  426.  
  427. SLOPE = 0.000700
  428.  
  429. =STAGE=   ========VELOCITY (FT/SEC)=======   ======DISCHARGE (CFS)======
  430.    FEET   LEFT   MAIN  RIGHT    AVE   MEAN   LEFT   MAIN  RIGHT  TOTAL
  431.  944.00   1.17   4.95   1.54   3.99   2.91    311   2931    784   4025
  432.  944.10   1.21   4.98   1.57   4.00   2.91    336   2980    822   4139
  433.  944.20   1.24   5.01   1.59   4.00   2.92    363   3030    861   4254
  434.  
  435. -----------------------------------------------------------------------
  436.  
  437.     m.  CHANGE 'N'  0=%  1=NO  2=POINT?
  438.  
  439.     n.  NEW SLOPE?  YES=0  NO=1?
  440.  
  441.         In example, input 1
  442.  
  443.     o.  NEW CALC. INTERVAL?  YES=0  NO=1
  444.  
  445.         In example, input 1
  446.  
  447.     p.  LOAD X-SECT OFF DISK 0=YES  1=NO?
  448.  
  449.         If yes, will load the original (the last x-section that was
  450.         stored previously) x-section and will repeat all questions
  451.         beginning at b.
  452.  
  453.     If no  (input 1)
  454.  
  455. 25. NARROWER OVERBANK  0=YES  1=NO?
  456.  
  457.     In example, input 11
  458.  
  459. 26. STORE X-SECTION  0=YES  1=NO?
  460.  
  461.     If narrowing routine was not used previously, this provides
  462.     opportunity to store the x-section for some future use.
  463.     If narrowing routine was used previously, this provides the
  464.     opportunity to store the changed x-section.
  465.     In example, input 0
  466. 26. STORE X-SECTION  0=YES  1=NO?
  467.