Get SWAN at SourceForge.net. Fast, secure and Free Open Source software downloads

Known bugs and patches

For SWAN 41.45, patches are available here. These fix bugs and/or resolve issues. Also, new features will be released from time to time.

Also, any future updates will be added to the GitLab repository, so please check this regularly.

To apply a patch, first, you must place the downloaded patch files (right-clicking the file, open a new window and then save it as text file) in the folder where the source code of SWAN is located, and then execute the following command:

patch -p0 < patchfile

It is important not to change or modify the patch files since they may contain tabs! If needed, use dos2unix to convert DOS to UNIX format. After applying a patch, you need to recompile the SWAN source code.

Note to Windows users

  • patch is a Unix command. Download the patch program appropriate for Windows (it is one of the GNU utilities for Win32 that are freely available).
  • However, Windows 7 (or higher) demands that patch must be run with administrative privileges. To hack this, do the following:
    1. Rename patch.exe to patsh.exe.
    2. Then create a batch file patch.bat in the same directory containing the following command:

      @patsh.exe %*

If you wish to submit a new bug report, send an e-mail to me.


patch ID description of problem and fix or new features release datepatchfile
  A
  • extension:
    • the code for unstructured mesh is parallelized using Metis graph partitioning and MPI communication protocol
    • directional spreading for radiated FIG energy is included as an option
  • changes:
    • handling obstacles made more efficient especially for a very large number of obstacles (10,000+)
  • bug fixes:
    • small bugfix in VTK format related to halo regimes
    • default cds2 parameter fixed
    • fixed irregularities in post-processing for parallel runs
16-10-2023 41.45.A