SMS:WAM Spectra from STWAVE Grids

From XMS Wiki
Jump to: navigation, search

Spectra Sites

Since the spectra data of every cell of the grid at each timestep would take an unreasonable amount of disk space, WAM writes spectra data at user specified cells. These cells are referred to as spectra sites and can be specified within the SMS interface. The spectra output can also be visualized on these cells.

Spectra sites can be made at any ocean cell on a Cartesian grid. To make a spectra site, select a cell on the desired Cartesian grid and change the cell attribute to Spectra Site and give it a name. If more than one cell is selected, then the name the spectra sites will receive is the name given concatenated with a number.

After WAM has run, and the spectra files have been read back into SMS, the spectral energy graph of the spectra sites may be viewed by right-clicking on the selected cell where the site is and selecting Spectral Energy. The spectra files may be read back into SMS by selecting the grid, and choosing Read Spectral Files from the WAM menu. The spectra files should be within the grid's folder within the simulation folder.

WAM Spectra From STWAVE Grids

The WAM to STWAVE Options dialog will show all available STWAVE grids
The WAM Spectral Sites from STWAVE dialog

WAM can be used to provide boundary condition information to a spectral wave model such as STWAVE. WAM→STWAVE has a defined and support mechanism for converting WAM spectral output into STWAVE input.

The first part of this process is to define the locations where WAM will generate output for the STWAVE BC. Two or more WAM cells may be used along a STWAVE boundary. The STWAVE grids must exist and the boundaries types specified (which side(s) to apply spectra.

To create spectral sites along the STWAVE boundaries:

  1. Verify/Modify the boundary types of a STWAVE Grid.

    1. Select a STWAVE grid.
    2. Select menu item STWAVEModel Control then press the Boundary Condition... button.
    3. Select the appropriate boundary type for each edge.
    4. Repeat for each STWAVE grid.

  2. Select and right-click on a WAM grid from the tree item on the left of SMS.
  3. Select Create spectral sites... to bring up the WAM spectral spectral sites from STWAVE dialog.
  4. Select the grids the project should to generate sites for.
  5. Select a spacing option on the right hand side and the number of points/sites.
  6. Press Ok.

Each STWAVE boundary cell will have a candidate WAM corner (where WAM spectra are output). A candidate corner is the nearest WAM corner to that STWAVE boundary cell. Multiple STWAVE cells may have the same candidate WAM corner. Duplicate WAM corners are automatically removed.

Spacing can be done by either spacing along candidate corners or by specifying an exact number of sites/corners along each boundary.

If spacing by candidate point(s) is chosen:

  • Spacing by every 1 candidate points will keep all candidate corners and make them spectra sites.
  • Spacing by every 2 candidate points will keep every other corner and make those spectra sites.

Regardless of the option selected at least two corners will be used on each STAVE boundary.

Related Topics