 |
 |
|
|
|
Downloadable files |
SWAN
source code
The source code of SWAN 40.85 can be
downloaded here. This distribution may be
implemented on Microsoft Windows, Linux, Unix and Mac OS/X, provided a
Fortran compiler is available. Please consult the
enclosed README files.
Detailed information on
implementation of SWAN
on your computer can be
found in the
Implementation Manual.
Please refer to
this page
for possible bug fixes.
SWAN binaries for MS Windows
Binary distributions of SWAN 40.85 for Windows XP/Vista/7 are also provided.
Both 32-bit and 64-bit version of SWAN are available and follow OpenMP 2.0 standard. This will
be particularly useful for those users who have a dual core PC.
As a rough guide,
you can expect to half your turn-around time on a dual core when comparing against a single core.
The 64-bit version requires an x64 edition of Windows XP, Vista or Windows 7. It cannot
be installed on a 32-bit OS, even if it is hosted on a 64-bit computer.
To install SWAN on your Windows PC, download and run the
Setup Wizard (size: 2.42 MB).
For your convenience, both the batch and edit files are included.
Manuals
The information about the SWAN package is
distributed over four different documents. The
User Manual describes the complete input and usage of the SWAN
package. The Implementation Manual
explains the installation procedure of SWAN on a single- or
multi-processor machine with shared or distributed memory. The
Programming rules is meant for
programmers who want to develop SWAN. The Scientific/technical documentation
discusses the physical and
mathematical details and the discretizations that are used in
the SWAN program. These
documents are available in PDF format. You
can download the PDF manuals
here. The documents are also
available online.
These documents are written in LaTeX format. If you are new
to LaTeX, we recommend to read
first the manual LaTeX for dummies.
Utilities
Conversion
programs are
provided to convert the
old 1D and 2D spectra files generated by a SWAN version older
than 40.00 into
the current format.
Test cases
Four examples of test
cases can be downloaded
for your own purpose of
testing SWAN on your
computer. These examples
consist of command files
and data. Three examples
are academic tests: a refraction
test, a slanted
current test and a diffraction
test. The
other example is the Haringvliet
field case. Detailed
documentation on these
tests can be found in
Ris et al. (1999): A
third-generation wave
model for coastal
regions, Part II:
Verification, J.
Geoph. Res., C4, 104, 7997-7681 and Holthuijsen et al.
(2003): Phase-decoupled refraction-diffraction for spectral
wave models, Coast. Engng., 49, 291-305.
Since version 40.72, use of unstructured grids can be handled as well.
Only triangular meshes may be employed. For the Haringvliet case, an
example of unstructured grid is provided.
The resolution of this grid depends on the bathymetry and has been constructed by means of the Matlab interface
BatTri.
(This program, however, called Triangle
for the actual grid generation.)
The results of this test case
are provided as well. You may plot the grid and the maps of several
wave parameters in Matlab by means of the Matlab scripts plotgrid.m
and plotunswan.m.
The examples
are complete with output
files from our own test
runs. These results can
be compared on one hand
with the analytical
solutions that are
supplied in numerical
form and on the other
hand observations at
several buoy locations
for the Haringvliet
case.
Old SWAN versions
There are seven old (non-supported) versions of SWAN available for download:
SWAN 40.81
This is the previous stable release of SWAN.
SWAN 40.72ABCDE
This is an older stable release of SWAN supporting unstructured grids.
SWAN 40.51AB
This is an older stable release of SWAN.
SWAN 40.41AB
This is a quite older stable release of SWAN.
SWAN 40.31ABCDEFGH
This is a much older stable release of SWAN.
SWAN 40.20
This version is less stable, although still reliable. However,
version 40.20 is not recommended because the SWAN source code has
seen a lot of changes, bugfixes and new features since then.
SWAN 40.11ABCDEF
This non-GNU version is antique. The source code is not parallelized
and is therefore not recommended for large production runs.
|
|