Laserfiche WebLink
<br />6. SUBPROGRAMS <br /> <br />A general description of all subprograms in HEC-2 along with a <br /> <br />summary of statement numbers and sequence numbers is provided at the <br /> <br />beginning of the program (see page 2 of Exhibit 5). <br /> <br />The following information is provided at the beginning of each <br /> <br />subprogram in the form of comment cards: <br /> <br />1. General function of subprogram <br />2. Author of subprogram <br />3. Statement number and program name <br />where subprogram is called <br />4. Other subprograms called <br /> <br />A general description of the function of each subprogram follows: <br /> <br />Subprogram H2MAIN calculates water surface profiles for <br />all cross sections for the specified flow conditions. It <br />also calculates approximate critical depths, interpolates <br />cross sections and handles encroachment determinations. <br />Refer to Table 1 for a more complete description of sub- <br />program H2MAIN functions. <br /> <br />Subprogram ADDPTS inserts four values of elevation and <br />station into the EL and STA arrays for encroachment stations <br />(STENCL and STENCR). <br /> <br />Subprogram BLFLOl determines the water surface elevation at <br />a bridge for low flow control based on either Class A, B, or <br />C flow. The Yarnell formula is used for Class A and the <br />momentum formula is used for Classes Band C. <br /> <br />Subprogram BLOCK writes the HEC-2 program version identifica- <br />tion block to provide documentation of program version, error <br />correction and modification status. <br /> <br />BLOCK DATA defines and initializes variables when the program <br />is compil ed. <br /> <br />Subprogram BWE IR 1 determi nes whether low flow, pressure flow, <br />or combinations of low flow and weir flow or pressure flow <br />and weir flow are controlling. It also determines the energy <br />elevation for all of the types of flow except low flow. <br /> <br />lFor a detailed description of subprograms BLFLO and BWEIR, see <br />Training Document No.6, Application of the HEC-2 Bridge Routines, The <br />Hydrologic Engineering Center, June 1974. <br /> <br />19 <br />