USER MANUAL SWAN Cycle III version 40.72A
USER MANUAL SWAN Cycle III version 40.72A USER MANUAL SWAN Cycle III version 40.72A
66 Chapter 4 RAY ISOLINE POINTS NGRID to define a set of output locations along a depth or bottom contour line (with ISOLINE) to define a set of output locations along a depth- or bottom contour line (with RAY) to define a set of isolated output locations to define a set of output locations for a nested grid to be used in a subsequent SWAN run Commands FRAME, GROUP, RAY, ISOLINE and NGRID cannot be used in 1D-MODE and command GROUP cannot be used in case of unstructured meshes. If one gives one name for two sets of output locations, the first set is lost (first in the sequence in the command file). Two special names: BOTTGRID and COMPGRID are reserved for use by SWAN (see below). The user may not define sets with these names. 2. Write / plot commands defining data file output (write) at the above defined set(s) of output locations: BLOCK TABLE SPECOUT NESTOUT write spatial distributions (only for FRAMEs and GROUPs) write output for (set of) output location(s) write to data file the variance / energy (see command SET) density spectrum for (set of) output location(s) write to data file two-dimensional action density spectra (relative frequency) along the boundary of a nested grid (see command NGRID) to be used in a subsequent SWAN run. Commands BLOCK and NESTOUT cannot be used in 1D-MODE. 4.6.1 Output locations FRAme ’sname’ [xpfr] [ypfr] [alpfr] [xlenfr] [ylenfr] [mxfr] [myfr]) CANNOT BE USED IN 1D-MODE. With this optional command the user defines output on a rectangular, uniform grid in a regular frame. If the set of output locations is identical to a part of the computational grid, then the user can use the alternative command GROUP.
Description of commands 67 ’sname’ [xpfr] [ypfr] [alpfr] [xlenfr] [ylenfr] [mxfr] [myfr] name of the frame defined by this command x−coordinate of the origin of the frame in problem coordinates if Cartesian coordinates are used in m if spherical coordinates are used in degrees (see command COORD) y−coordinate of the origin of the frame in problem coordinates if Cartesian coordinates are used in m if spherical coordinates are used in degrees (see command COORD) direction of the x−axis of the frame (in degrees, Cartesian convention; must be 0 in case of spherical coordinates) length of the frame in x−direction if Cartesian coordinates are used in m if spherical coordinates are used in degrees (see command COORD) length of the frame in y−direction if Cartesian coordinates are used in m if spherical coordinates are used in degrees (see command COORD) number of meshes in x−direction of the rectangular grid in the frame (one less than the number of grid points in this direction) Default: [mxfr]=20 number of meshes in y−direction of the rectangular grid in the frame (one less than the number of grid points in this direction) Default: [myfr]=20 Some output may be required on a frame that is identical with the input (bottom/current) grid or with the computational grid (e.g. for test purposes or to avoid interpolation errors in the output). These frames need not be defined by the user with this command FRAME; the frames are always generated automatically by SWAN under the names ’sname’ = ’BOTTGRID’ (for the bottom/current grid) and ’sname’ = ’COMPGRID’ (for the computational grid). GROUP ’sname’ SUBGrid [ix1] [ix2] [iy1] [iy2] CANNOT BE USED IN 1D-MODE AND IN CASE OF UNSTRUCTURED GRIDS. With this optional command the user defines a group of output locations on a rectangular or curvi-linear grid that is identical with (part of) the computational grid (recti-linear or curvi-linear). Such a group may be convenient for the user to obtain output that is not affected by interpolation errors (which would occur when an output grid is used that is not identical with (part of) the computational grid). Command CGRID should precede this command GROUP. The subgrid contains those points (ix,iy) of the computational grid for which:
- 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 and 46: Description of commands 37 y ′
- Page 47 and 48: Description of commands 39 [fac]
- 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: Description of commands 65 SIGIMPL
- 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
- Page 97 and 98: Appendix A Definitions of variables
- Page 99 and 100: Definitions of variables 91 RPER co
- Page 101 and 102: Definitions of variables 93 WLEN Th
- Page 103 and 104: Appendix B Command syntax B.1 Comma
- Page 105 and 106: Repetitions of keywords and/or othe
- Page 107 and 108: Required data and optional data Com
- Page 109 and 110: Appendix C File swan.edt Below the
- Page 111 and 112: File swan.edt 103 ! | -> DEFault !
- Page 113 and 114: File swan.edt 105 ! FRAME ’sname
- Page 115 and 116: Appendix D Spectrum files, input an
- Page 117 and 118: 0.3892E-03 192.0 15.2 0.8007E-03 24
- Page 119 and 120: Spectrum files, input and output 11
- Page 121 and 122: Spectrum files, input and output 11
- Page 123 and 124: Bibliography [1] SWAN - Implementat
Description of commands 67<br />
’sname’<br />
[xpfr]<br />
[ypfr]<br />
[alpfr]<br />
[xlenfr]<br />
[ylenfr]<br />
[mxfr]<br />
[myfr]<br />
name of the frame defined by this command<br />
x−coordinate of the origin of the frame in problem coordinates<br />
if Cartesian coordinates are used in m<br />
if spherical coordinates are used in degrees (see command COORD)<br />
y−coordinate of the origin of the frame in problem coordinates<br />
if Cartesian coordinates are used in m<br />
if spherical coordinates are used in degrees (see command COORD)<br />
direction of the x−axis of the frame (in degrees, Cartesian convention; must be<br />
0 in case of spherical coordinates)<br />
length of the frame in x−direction<br />
if Cartesian coordinates are used in m<br />
if spherical coordinates are used in degrees (see command COORD)<br />
length of the frame in y−direction<br />
if Cartesian coordinates are used in m<br />
if spherical coordinates are used in degrees (see command COORD)<br />
number of meshes in x−direction of the rectangular grid in the frame (one less<br />
than the number of grid points in this direction)<br />
Default: [mxfr]=20<br />
number of meshes in y−direction of the rectangular grid in the frame (one less<br />
than the number of grid points in this direction)<br />
Default: [myfr]=20<br />
Some output may be required on a frame that is identical with the input (bottom/current)<br />
grid or with the computational grid (e.g. for test purposes or to avoid interpolation<br />
errors in the output). These frames need not be defined by the user with this command<br />
FRAME; the frames are always generated automatically by <strong>SWAN</strong> under the names<br />
’sname’ = ’BOTTGRID’ (for the bottom/current grid) and ’sname’ = ’COMPGRID’ (for<br />
the computational grid).<br />
GROUP ’sname’ SUBGrid [ix1] [ix2] [iy1] [iy2]<br />
CANNOT BE USED IN 1D-MODE AND IN CASE OF UNSTRUCTURED GRIDS.<br />
With this optional command the user defines a group of output locations on a rectangular<br />
or curvi-linear grid that is identical with (part of) the computational grid (recti-linear or<br />
curvi-linear). Such a group may be convenient for the user to obtain output that is not<br />
affected by interpolation errors (which would occur when an output grid is used that is<br />
not identical with (part of) the computational grid).<br />
Command CGRID should precede this command GROUP.<br />
The subgrid contains those points (ix,iy) of the computational grid for which: