Output

There are two categories of output commands:
  1. Locations
    commands defining sets of output locations at which the user requires output. Each set is indicated with a name ('sname' in this manual) which must be unique and not more than 8 characters long.


    Types of sets of output points:

    FRAME to define a set of output locations on a regular grid  
    GROUP to define a set of output locations on a regular or curvilinear grid  
    CURVE to define a set of output locations along a curve  
    RAY to define a set of output locations along a depth or bottom contour line  
      (with ISOLINE)  
    ISOLINE to define a set of output locations along a depth- or bottom contour line  
      (with RAY)  
    POINTS to define a set of isolated output locations  
    NGRID 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 write spatial distributions (only for FRAMEs and GROUPs)  
    TABLE write output for (set of) output location(s)  
    SPECOUT write to data file the variance / energy (see command SET) density  
      spectrum for (set of) output location(s)  
    NESTOUT 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.



Subsections
The SWAN team 2024-03-19