[Next Section] [Previous Section] [Table of Contents]

Full Equations Utilities (FEQUTL) Model for the Approximation of Hydraulic Characteristics of Open Channels and Control Structures During Unsteady Flow

U.S. GEOLOGICAL SURVEY WATER-RESOURCES INVESTIGATIONS REPORT 97-4037


5.23 WSPROX Command


Purpose: An input file for the WSPRO (Shearman, 1990) software is scanned, the cross sections in the file are read, and either the cross-section table or the CHANNEL command (section 5.2) or the input for the FEQXEXT command (section 5.9) is computed in the WSPROX command.

Notes: The input files for WSPRO need not be changed, and lines that are not used will be skipped. Some checking of the data is done, but detailed checking should be done on the input in the WSPRO software.

LINE 1
Variables: CHAR4, MODE
Format: A4,1X, A8
Example: MODE = DIRECT
Explanation:

CHAR4 must be MODE.

MODE specifies the mode of analysis applied in WSPROX. In the DIRECT mode, a cross-section table is computed directly from the WSPRO input. In the INDIRECT mode, input for the FEQXEXT command (section 5.9) is computed from the WSPRO input. In the INDIRECT mode, it is possible to modify the FEQXEXT input to correct for any problems in the subdivision of the cross section in the WSPRO input. In the last mode, a variant of INDIRECT, called CHANNEL, the input for a CHANNEL command (section 5.2) is computed and placed in a file. The flow lengths between sections are utilized in the CHANNEL command to compute estimates of the sinuosity for the cross sections. The keywords CHANNEL, DIRECT, and INDIRECT also can be in lowercase.

LINE 2
Variables: CHAR6, INFILE
Format: A6, 1X, A64
Example: INFILE = drycrk.dat
Explanation:

CHAR6 must be INFILE.

INFILE is the file name of the file containing the WSPRO input.

LINE 3
Variables: CHAR7, OUTFIL
Format: A7, 1X, A64
Example: OUTFILE = WSPROSTU.FF
Explanation:

CHAR7 must be OUTFILE.

OUTFIL is the file name for storing the FEQXEXT input when MODE = INDIRECT. OUTFIL also is used to store the input to the CHANNEL command when MODE = CHANNEL. This line must appear when MODE = DIRECT, but the file name may be left blank.

LINE 4
Variables: CHAR8, CIN
Format: A8,A72
Example: OPTIONS: OUT22 MONOTONE NEWBETA
Explanation:

CHAR8 must be OPTIONS: .

CIN are the options to use in computing the table for the FEQXEXT input (section 5.9). These options are the same as for the FEQXEXT command.

LINE 5
Variables: CHAR8, BEGTAB, TABINC
Format: A8, 2I5
Example: BEGTAB #= 700 -2
Explanation:

CHAR8 must be BEGTAB #=. Each cross-section table in the FEQ model must have a table number.

BEGTAB is the table number for the first cross-section found in the WSPRO input.

TABINC is the table increment added to BEGTAB (and all subsequent table numbers) resulting in the table numbers for all cross-sections found in the WSPRO input. The table increment may be negative as shown.

LINE 6
Variables: CHAR8, BEGSTA, STADIR
Format: A8, F10.0, F5.0
Example: BEGSTAT = 0.00000000 1
Explanation:

CHAR8 must be BEGSTAT =.

BEGSTAT is the beginning station for the first cross section.

STADIR indicates that the distance between cross-sections in the WSPRO input should be added (+ 1) or subtracted (- 1) from BEGSTAT and all subsequent stations along the channel. Thus, the stations may increase or decrease as the file named in INFILE (Line 2) is processed. If STADIR is omitted, the increments are assumed to be positive in WSPROX. The main-channel length increments or stations are used in WSPROX to compute the stations for the cross-section function tables.

LINE 7
Variables: CHAR4, SFAC
Format: A4, 1X, F10.0
Example: SFAC = 5280.
Explanation:

CHAR4 must be SFAC.

SFAC is the conversion factor from the units used in WSPRO for the distance between cross-sections to the units in the stationing in the unsteady-flow model. SFAC is a divisor on the distances used in WSPRO. If the distances in WSPRO are in feet, then SFAC = 5280 will produce stations along the channel in miles.


[Next Section] [Previous Section] [Table of Contents]