28.06.2014 Views

USER MANUAL SWAN Cycle III version 40.72A

USER MANUAL SWAN Cycle III version 40.72A

USER MANUAL SWAN Cycle III version 40.72A

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Description of commands 71<br />

[alpn] direction of the positive x−axis of the computational grid of this coarse-grid<br />

run (in degrees, Cartesian convention).<br />

[xlenn] length in the x−direction of the nested grid<br />

if Cartesian coordinates are used in m<br />

if spherical coordinates are used in degrees (see command COORD)<br />

[ylenn] length in the y−direction of the nested grid<br />

if Cartesian coordinates are used in m<br />

if spherical coordinates are used in degrees (see command COORD)<br />

[mxn] number of meshes of the output grid in the x−direction of this grid (this number<br />

is one less than the number of grid points in this direction!). [mxn] does not<br />

have to be equal to the number of meshes in the nested computation; <strong>SWAN</strong> will<br />

interpolate the required information.<br />

Default: [mxn] is chosen such that the mesh size of the output grid is<br />

(roughly) equal to the mesh size of the coarse grid, but at least 1.<br />

[myn] number of meshes of the output grid in the y−direction of this grid (this number<br />

is one less than the number of grid points in this direction!). [myn] does not<br />

have to be equal to the number of meshes in the nested computation; <strong>SWAN</strong> will<br />

interpolate the required information.<br />

Default: [myn] is chosen such that the mesh size of the output grid is<br />

(roughly) equal to the mesh size of the coarse grid, but at least 1.<br />

UNSTRUCTURE with this option the user indicates that the subsequent nested grid is an<br />

unstructured one. Only grids generated by Triangle and Easymesh are<br />

supported by <strong>SWAN</strong>.<br />

TRIANGLE the necessary grid information is read from two files as produced by Triangle.<br />

The .node and .ele files are required. The basename of these files must be<br />

indicated with parameter ’fname’.<br />

EASYMESH the necessary grid information is read from two files as produced by<br />

Easymesh. The .n and .e files are required. The basename of these files<br />

must be indicated with parameter ’fname’.<br />

’fname’ basename of the required files, i.e. without extension.<br />

4.6.2 Write or plot computed quantities<br />

For definitions of output parameters, see Appendix A.<br />

WARNING:<br />

When integral parameters are computed by the user from the output spectrum of <strong>SWAN</strong>,<br />

differences with the <strong>SWAN</strong>-computed parameters may occur. The reasons are:<br />

• <strong>SWAN</strong> accepts at the boundaries of the computational grid only the user-imposed<br />

incoming wave components and it replaces the user-imposed outgoing wave components<br />

with computed components (propagating to the boundary from the interior<br />

region). Note that this will not happen in case of triangular meshes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!