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.

60 Chapter 4<br />

set-up is zero in the deepest point in the computational grid. The user can modify<br />

this constant by the value of [supcor]. The user can thus impose a set-up in any<br />

one point (and only one) in the computational grid by first running <strong>SWAN</strong>, then<br />

reading the set-up in that point and adding or subtracting the required value of<br />

[supcor] (in m; positive if the set-up has to rise).<br />

Default: [supcor]=0.<br />

DIFFRACtion [idiffr] [smpar] [smnum] [cgmod]<br />

CANNOT BE USED IN CASE OF UNSTRUCTURED GRIDS.<br />

If this optional command is given, the diffraction is included in the wave computation. But<br />

the diffraction approximation in <strong>SWAN</strong> does not properly handle diffraction in harbours or<br />

in front of reflecting obstacles (see Scientific/Technical documentation). Behind breakwaters<br />

with a down-wave beach, the <strong>SWAN</strong> results seem reasonable. The spatial resolution<br />

near (the tip of) the diffraction obstacle should be 1/5 to 1/10 of the dominant wave length.<br />

Without extra measures, the diffraction computations with <strong>SWAN</strong> often converge poorly<br />

or not at all. Two measures can be taken:<br />

1. (RECOMMENDED) The user can request under-relaxation. See command NUMERIC<br />

parameter [alpha] and Scientific/Technical documentation (Eq. (3.31)). Very limited<br />

experience suggests [alpha] = 0.01.<br />

2. Alternatively, the user can request smoothing of the wave field for the computation<br />

of the diffraction parameter (the wave field remains intact for all other computations<br />

and output). This is done with a repeated convolution filtering. The mother filter is<br />

E n i,j = E n−1<br />

i,j<br />

− a [E i−1,j + E i,j−1 − 4E i,j + E i+1,j + E i,j+1 ] n−1<br />

For a = 0.2 (recommended), the final width of the filter is ε x = 1 2√<br />

3n∆x (in<br />

x−direction and similarly in y−direction) and n is the number of repetitions (see<br />

Scientific/Technical documentation, Eq. (2.100)).<br />

[idiffr]<br />

[smpar]<br />

[smnum]<br />

indicates the use of diffraction. If [idiffr]=0 then no diffraction is taken<br />

into account.<br />

Default: [idiffr]=1.<br />

smoothing parameter for the calculation of ∇ · √E<br />

tot . During every<br />

smoothing step all grid points exchange [smpar] times the energy with their<br />

neighbours. Note that [smpar] is parameter a in the above text.<br />

Default: [smpar] = 0.<br />

number of smoothing steps (n in the above text). For a = 0.2, it should be

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

Saved successfully!

Ooh no, something went wrong!