USER MANUAL SWAN Cycle III version 40.72A

USER MANUAL SWAN Cycle III version 40.72A USER MANUAL SWAN Cycle III version 40.72A

sci.buu.ac.th
from sci.buu.ac.th More from this publisher
28.06.2014 Views

64 Chapter 4 [drel] [dhoval] [dtoval] [curvat] [npnts] STAT [mxitst] [alfa] NONSTAT [mxitns] [limiter] DIRIMPL [cdd] [cdlim] Default: [drel] = 0.02 [−] in case of ACCUR; [drel] = 0.01 [−] in case of STOPC. Default: [dhoval] = 0.02 [−] Default: [dtoval] = 0.02 [−] Default: [curvat] = 0.005 [−] Default: [npnts] = 98. [−] in case of structured grids; [npnts] = 99.5 [−] in case of unstructured grids. indicates the use of parameters in a stationary computation. the maximum number of iterations for stationary computations. The computation stops when this number is exceeded. Default: [mxitst] = 50. Note that [mxitst] can be set to 0 if one wants to check the input to the model without making computations. proportionality constant used in the frequency-dependent under-relaxation technique. Based on experiences, a suggestion for this parameter is [alfa] = 0.01. In case of diffraction computations, the use of this parameter is recommended. Default: [alfa] = 0.00. NOT MEANINGFUL FOR NONSTATIONARY COMPUTATIONS. indicates the use of parameters in a nonstationary computation. the maximum number of iterations per time step for nonstationary computations. The computation moves to the next time step when this number is exceeded. Default: [mxitns] = 1. Note that [mxitns] can be set to 0 if one wants to check the input to the model without making computations. determines, in both stationary and nonstationary runs, the maximum change per iteration of the energy density per spectral (σ,θ)-bin, given in terms of a fraction of the omni-directional Phillips level (see Scientific/ Technical documentation). Default: [limiter] = 0.1. this option is used to influence the numerical scheme for refraction. A value of [cdd]=0 corresponds to a central scheme and has the largest accuracy (diffusion ≈ 0) but the computation may more easily generate spurious fluctuations. A value of [cdd]=1. corresponds to an first order upwind scheme and it is more diffusive and therefore preferable if (strong) gradients in depth or current are present. Default: [cdd] = 0.5. If the spatial discretization of the bathymetry or the flow currents is too coarse, the waves may turn too far (more than 90 degrees, say) over one spatial grid step. The computational results will then be very inaccurate. In such a case SWAN can limit the maximum turning of the waves over one spatial grid to 90 degrees to obtain robust (but not necessarily correct results). [cdlim] < 0 then no limiter is used (this is default) [cdlim] = 0 refraction is off (same effect as command OFF REFRAC) [cdlim] = 4 waves turning limited to about 90 o over one spatial grid

Description of commands 65 SIGIMPL SETUP [css] [eps2] [outp] [niter] step. controls the accuracy of computing the frequency shifting and the stopping criterion and amount of output for the SIP solver (used in the computations in the presence of currents or time varying depth). controls the stopping criterion and amount of output for the SOR solver in the computation of the wave-induced set-up. A value of [css]=0 corresponds to a central scheme and has the largest accuracy (diffusion ≈ 0) but the computation may more easily generate spurious fluctuations. A value of [css]=1. corresponds to an first order upwind scheme and it is more diffusive and therefore preferable if (strong) gradients in depth or current are present. Default: [css] = 0.5. Relative stopping criterion to terminate the linear solver (SIP or SOR). The criterion for the SIP solver is based on ‖AN ⃗ k − ⃗ b‖ 2 ≤ [eps2] ‖ ⃗ b‖ 2 where A is a matrix, N ⃗ is the action density vector, ⃗ b is the right hand vector and k is the iteration number. The criterion for the SOR solver is based on ‖η k+1 − η k ‖ ∞ ≤ [eps2] where η is the set-up. Default: [eps2] = 1.e-4 in case of SIP and [eps2] = 1.e-6 in case of SOR. output for the iterative solver: 0 = no output 1 = additional information about the iteration process is written to the PRINT file 2 = gives a maximal amount of output concerning the iteration process 3 = summary of the iteration process Default: [outp] = 0. maximum number of iterations for the linear solver. Default: [niter] = 20 in case of SIP and [niter] = 1000 in case of SOR. 4.6 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 GROUP CURVE to define a set of output locations on a regular grid to define a set of output locations on a regular or curvi-linear grid to define a set of output locations along a curve

64 Chapter 4<br />

[drel]<br />

[dhoval]<br />

[dtoval]<br />

[curvat]<br />

[npnts]<br />

STAT<br />

[mxitst]<br />

[alfa]<br />

NONSTAT<br />

[mxitns]<br />

[limiter]<br />

DIRIMPL<br />

[cdd]<br />

[cdlim]<br />

Default: [drel] = 0.02 [−] in case of ACCUR; [drel] = 0.01 [−] in case of STOPC.<br />

Default: [dhoval] = 0.02 [−]<br />

Default: [dtoval] = 0.02 [−]<br />

Default: [curvat] = 0.005 [−]<br />

Default: [npnts] = 98. [−] in case of structured grids; [npnts] = 99.5 [−]<br />

in case of unstructured grids.<br />

indicates the use of parameters in a stationary computation.<br />

the maximum number of iterations for stationary computations.<br />

The computation stops when this number is exceeded.<br />

Default: [mxitst] = 50.<br />

Note that [mxitst] can be set to 0 if one wants to check the input to the<br />

model without making computations.<br />

proportionality constant used in the frequency-dependent under-relaxation technique.<br />

Based on experiences, a suggestion for this parameter is [alfa] = 0.01.<br />

In case of diffraction computations, the use of this parameter is recommended.<br />

Default: [alfa] = 0.00.<br />

NOT MEANINGFUL FOR NONSTATIONARY COMPUTATIONS.<br />

indicates the use of parameters in a nonstationary computation.<br />

the maximum number of iterations per time step for nonstationary computations.<br />

The computation moves to the next time step when this number is exceeded.<br />

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

Note that [mxitns] can be set to 0 if one wants to check the input to the<br />

model without making computations.<br />

determines, in both stationary and nonstationary runs, the maximum change per<br />

iteration of the energy density per spectral (σ,θ)-bin, given in<br />

terms of a fraction of the omni-directional Phillips level (see Scientific/<br />

Technical documentation).<br />

Default: [limiter] = 0.1.<br />

this option is used to influence the numerical scheme for refraction.<br />

A value of [cdd]=0 corresponds to a central scheme and has the largest<br />

accuracy (diffusion ≈ 0) but the computation may more easily generate<br />

spurious fluctuations. A value of [cdd]=1. corresponds to an first order<br />

upwind scheme and it is more diffusive and therefore preferable if (strong)<br />

gradients in depth or current are present.<br />

Default: [cdd] = 0.5.<br />

If the spatial discretization of the bathymetry or the flow currents is too coarse,<br />

the waves may turn too far (more than 90 degrees, say) over one spatial grid step.<br />

The computational results will then be very inaccurate. In such a case <strong>SWAN</strong> can<br />

limit the maximum turning of the waves over one spatial grid to 90 degrees to<br />

obtain robust (but not necessarily correct results).<br />

[cdlim] < 0 then no limiter is used (this is default)<br />

[cdlim] = 0 refraction is off (same effect as command OFF REFRAC)<br />

[cdlim] = 4 waves turning limited to about 90 o over one spatial grid

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

Saved successfully!

Ooh no, something went wrong!