USER MANUAL SWAN Cycle III version 40.72A
USER MANUAL SWAN Cycle III version 40.72A USER MANUAL SWAN Cycle III version 40.72A
38 Chapter 4 READinp < WInd > [fac] < > [idla] & | | | SERIes ’fname2’ | | FRiction | | -> FREe | | | | | ’form’ | | [nhedf] ([nhedt]) ([nhedvec]) < FORmat < > > | | [idfm] | | | | | UNFormatted | With this required command the user controls the reading of values of the indicated variables from file. This command READINP must follow a command INPGRID. Note that for each stationary or nonstationary field, one combination of INPGRID and READINP suffices if one has more than one COMPUTE command in a run. If the variables are in one file, then the READINP commands should be given in the same sequence as the sequence in which the variables appear in the file. BOTTOM WLEV CURRENT FRICTION WIND with this option the user indicates that bottom levels (m) are to be read from file (bottom level positive downward relative to an arbitrary horizontal datum level). The sign of the input can be changed with option [fac] = −1. (see below). with this option the user indicates that water levels (m) are to be read from file (water level positive upward relative to the same datum level as used in option BOTTOM). Sign of input can be changed with option [fac] = −1. If the water level is constant in space and time, the user can use the command SET to add this water level to the water depth. recti-linear (curvi-linear) input grid: with this option the user indicates that the x− and y−component (ξ− and η−component) are to be read from one and the same file (with one READINP command). With this option SWAN reads first all x−components (ξ−components), and then all y−components (η−components) (see below). The firs component (x− or ξ−component) is always eastward oriented and the second one (y− or η−component) is always northwise oriented. The components ξ and η are taken along the directions of the grid lines of the curvi-linear grid! If the current velocity is relatively large, i.e. the Froude number U/ √ gd is larger than 0.8, it will be reduced such that the Froude number becomes equal to 0.8. with this option the user indicates that friction coefficient is to be read from file for Collins: [cfw] and for Madsen: [kn] (no space- or time-variable coefficient for the Jonswap expression, see command FRICTION). If the coefficients are constant in space and time: see command FRICTION. recti-linear (curvi-linear) input grid: with this option the user indicates that
Description of commands 39 [fac] ’fname1’ SERIES ’fname2’ [idla] the x− and y−component (ξ− and η−component) are to be read from one and the same file (with one READINP command). With this option SWAN reads first all x−components (ξ−components), and then all y−component (η−components) (see below). The components ξ and η are taken along the directions of the grid lines of the curvi-linear grid! If the wind is constant, see command WIND. SWAN multiplies all values that are read from file with [fac]. For instance if the bottom levels are given in unit decimeter, one should make [fac]=0.1 to obtain levels in m. To change sign of bottom level use a negative value of [fac]. Note that [fac] = 0 is not allowed! Default: [fac]=1. name of the file with the values of the variable. with this option (only for MODE NONSTATIONARY) the user indicates that the names of the files containing the nonstationary variable(s) are located in a separate file with name ’fname2’ (see below). name of file that contains the names of the files where the variables are given. These names are to be given in proper time sequence. SWAN reads the next file when the previous file end has been encountered. In these files the input should be given in the same format as in the above file ’fname1’ (that implies that a file should start with the start of an input time step). prescribes the order in which the values of bottom levels and other fields should be given in the file. =1: SWAN reads the map from left to right starting in the upper-left-hand corner of the map (it is assumed that the x−axis of the grid is pointing to the right and the y−axis upwards). A new line in the map should start on a new line in the file. The lay-out is as follows: 1,myc+1 2,myc+1 ... mxc+1, myc+1 1,myc 2,myc ... mxc+1, myc ... ... ... ... 1,1 2,1 ... mxc+1, 1 =2: as [idla]=1 but a new line in the map need not start on a new line in the file. =3: SWAN reads the map from left to right starting in the lower-left-hand corner of the map. A new line in the map should start on a new line in the file. The lay-out is as follows: 1,1 2,1 ... mxc+1, 1 1,2 2,2 ... mxc+1, 2 ... ... ... ... 1,myc+1 2,myc+1 ... mxc+1, myc+1 =4: as [idla]=3 but a new line in the map need not start on a new line
- Page 1: SWAN USER MANUAL SWAN Cycle III ver
- Page 5 and 6: Contents 1 Introduction 1 2 General
- Page 7 and 8: TABLE . . . . . . . . . . . . . . .
- Page 9 and 10: Chapter 1 Introduction The informat
- Page 11 and 12: Chapter 2 General definitions and r
- Page 13 and 14: General definitions and remarks 5 r
- Page 15 and 16: General definitions and remarks 7 I
- Page 17 and 18: which SWAN performs the computation
- Page 19 and 20: General definitions and remarks 11
- Page 21 and 22: General definitions and remarks 13
- Page 23 and 24: General definitions and remarks 15
- Page 25 and 26: General definitions and remarks 17
- Page 27 and 28: Chapter 3 Input and output files 3.
- Page 29 and 30: Chapter 4 Description of commands 4
- Page 31 and 32: (h) Commands to write or plot outpu
- Page 33 and 34: Description of commands 25 ’name
- Page 35 and 36: Description of commands 27 Default:
- Page 37 and 38: Description of commands 29 mesh. Th
- Page 39 and 40: ⎛ ∆f = ⎝−1 + Description of
- Page 41 and 42: Description of commands 33 • Easy
- Page 43 and 44: Description of commands 35 grids ca
- Page 45: Description of commands 37 y ′
- Page 49 and 50: Description of commands 41 ’(10X,
- Page 51 and 52: Description of commands 43 | | East
- Page 53 and 54: Description of commands 45 CONSTANT
- Page 55 and 56: Description of commands 47 points o
- Page 57 and 58: Description of commands 49 CRAY WKS
- Page 59 and 60: Description of commands 51 This com
- Page 61 and 62: Description of commands 53 | JANSse
- Page 63 and 64: Description of commands 55 [Csh3] c
- Page 65 and 66: Description of commands 57 [ursell]
- Page 67 and 68: Description of commands 59 [slope]
- Page 69 and 70: Description of commands 61 [cgmod]
- Page 71 and 72: Description of commands 63 < > [lim
- Page 73 and 74: Description of commands 65 SIGIMPL
- Page 75 and 76: Description of commands 67 ’sname
- Page 77 and 78: Description of commands 69 (see bel
- Page 79 and 80: Description of commands 71 [alpn] d
- Page 81 and 82: Description of commands 73 ‘long
- Page 83 and 84: | HSign | | | | HSWEll | | | | DIR
- Page 85 and 86: Description of commands 77 | WLENgt
- Page 87 and 88: Description of commands 79 QP DEPTH
- Page 89 and 90: Description of commands 81 [tbegblk
- Page 91 and 92: Description of commands 83 OUTput [
- Page 93 and 94: Description of commands 85 If SWAN
- Page 95 and 96: Description of commands 87 ACCUR MX
Description of commands 39<br />
[fac]<br />
’fname1’<br />
SERIES<br />
’fname2’<br />
[idla]<br />
the x− and y−component (ξ− and η−component) are to be read from one and<br />
the same file (with one READINP command). With this option <strong>SWAN</strong> reads first<br />
all x−components (ξ−components), and then all y−component (η−components)<br />
(see below). The components ξ and η are taken along the directions of the grid<br />
lines of the curvi-linear grid! If the wind is constant, see command WIND.<br />
<strong>SWAN</strong> multiplies all values that are read from file with [fac]. For instance<br />
if the bottom levels are given in unit decimeter, one should make [fac]=0.1 to<br />
obtain levels in m. To change sign of bottom level use a negative value of [fac].<br />
Note that [fac] = 0 is not allowed!<br />
Default: [fac]=1.<br />
name of the file with the values of the variable.<br />
with this option (only for MODE NONSTATIONARY) the user indicates that the<br />
names of the files containing the nonstationary variable(s) are located in a<br />
separate file with name ’fname2’ (see below).<br />
name of file that contains the names of the files where the variables<br />
are given. These names are to be given in proper time sequence. <strong>SWAN</strong> reads<br />
the next file when the previous file end has been encountered. In these files the<br />
input should be given in the same format as in the above file ’fname1’ (that<br />
implies that a file should start with the start of an input time step).<br />
prescribes the order in which the values of bottom levels and other fields<br />
should be given in the file.<br />
=1: <strong>SWAN</strong> reads the map from left to right starting in the upper-left-hand<br />
corner of the map (it is assumed that the x−axis of the grid is pointing<br />
to the right and the y−axis upwards). A new line in the map should<br />
start on a new line in the file. The lay-out is as follows:<br />
1,myc+1 2,myc+1 ... mxc+1, myc+1<br />
1,myc 2,myc ... mxc+1, myc<br />
... ... ... ...<br />
1,1 2,1 ... mxc+1, 1<br />
=2: as [idla]=1 but a new line in the map need not start on a new line in<br />
the file.<br />
=3: <strong>SWAN</strong> reads the map from left to right starting in the lower-left-hand<br />
corner of the map. A new line in the map should start on a new line in<br />
the file. The lay-out is as follows:<br />
1,1 2,1 ... mxc+1, 1<br />
1,2 2,2 ... mxc+1, 2<br />
... ... ... ...<br />
1,myc+1 2,myc+1 ... mxc+1, myc+1<br />
=4: as [idla]=3 but a new line in the map need not start on a new line