## Purpose of the test bankThe ONR test bank is used to verify Swan and other wave models against analytic and experimental data (Ris et al., 2001). This test bank is presently being used to verify a new version of Swan prior to its release. There are two drawbacks in this: - Running the ONR test bank takes a lot of time, and
- Many operational aspects of Swan are not tested.
Therefore a separate configuration test bank was developed designed specifically for Swan which can be used for new Swan releases. It copies a few tests from the ONR test bank, but with moderate resolution to speed up the computations, and it contains a number of new tests to validate i/o procedures of Swan. This is the test bank described in this document; it contains over 150 tests, but it is not yet complete and as SWAN develops new tests will have to be added. Cooperation by SWAN users in extending and correcting the test bank is appreciated. Since this is the first published version of the test bank there may still be a considerable number of errors in the test input files and in the descriptions of the tests, so do not hesitate to contact me if you feel that something is incorrect. This document describes the structure of the configuration test bank, aspects of Swan that need to be tested in the test bank, and it provides a description of existing tests. The section Aspects indicates which aspects are covered by existing tests. In this test bank 6 categories of cases are distinguished: - Series A: academic cases (often with verification against analytical data),
- Series L: laboratory cases (verification against lab. observations)
- Series F: field cases (verification against field observations)
- Series G: generalized empiric cases (verification against generally accepted growth curves etc.)
- Series R: tests for robustness of Swan; these tests verify whether SWAN will survive in extreme circumstances.
- Series E: tests for error procedures in Swan; these tests verify whether SWAN stops with a correct message if a computation is terminated unexpectedly.
In general one case treats one physical situation, or one measurement campaign. Usually there are a number of runs within each case where various options of Swan are tested.
One element in the test bank is the possibility to test whether or not
the results computed by two different Swan versions are identical.
At present only the contents of tables produced by the two versions can be
compared.
In the procedure implemented in the test bank detailed results for a [case] are written to the file [case]\[case].CMP. If differences are found a summary is written to a file Compare\[case].DEV. The comparison procedure for the whole test bank is started by Run_pc\Comprall.bat, and for a category of cases by Run_pc\Compr_a.bat (for all cases of category A). ## AspectsThe following aspects need to be covered by the Swan configuration test bank: - Physics, Propagation
- Physics, Source terms
- Grid options
- Input fields
- Numerical options
- Boundary conditions
- Operational options
- Output facilities
- error detection procedures
## Physics, Propagation
## Physics, Source terms
## Grid options
## Input fields
## Numerical options
## Boundary conditions
## Operational options
## Output facilities
## Error detection procedures
## Case descriptions6 categories of cases are distinguished: - Series A: academic cases (often with verification against analytical data),
- Series L: laboratory cases (verification against lab. Observations)
- Series F: field cases (verification against field observations)
- Series G: generalized empiric cases (verification against generally accepted growth curves etc.)
- Series R: tests for robustness of Swan
- Series E: tests for error procedures in Swan
## academic casesA02. Waves propagating towards a beach A03. Waves propagating towards a beach, with setup A11. Variation of period with time-varying depth A12. Variation of period with time-varying current velocity A13. Propagation on spatially varying current velocity field A21. 2d propagation, stationary, spherical coordinates A22. 2d propagation, stationary, spherical coordinates A23. 2d propagation, repeating cartesian coordinates A24. 2d propagation, showing Garden Sprinkler effect A32. 2d propagation passing an obstacle A33. Propagation along a channel A34. Propagation along a wave guide A35. Diffraction in a realistic harbour configuration A36. Diffraction around a semi-infInite breakwater A41. Reflection on an obstacle A42. Transmission through an obstacle of type 'dam' A43. Transmission and reflection on an obstacle A45. Obstacle in a 1-d computation A51. 1d propagation, non-stationary A52. 2d propagation, non-stationary A53. single point model, non-stationary convergence test A54. 1-d stationary computation with hotstart A71. Nesting an unstructured grid and a curvilinear grid A81. Source terms for a given fixed spectrum A82. Source terms for a combination of sea and swell A83. Source terms for a combination of sea and swell ## Error detection testsE01. Test with missing bottom file E22. Combination of quadruplets and sector E24. Combination of setup and repeated grid ## field casesF03. Petten, almost straight coastline F04. Friese Zeegat estuary, case with current and variable waterevel F51. Gorbush storm, a nonstationary field case in the Mediterranean ## laboratory casesL01. Flume measurements by Boers (1996) L02. Wave growth with opposing swell L03. Wave growth with following swell L04. Fraction of breaking waves L11. Diffraction near a gap in a breakwater ## generalized empirical testsG02. Depth-limited wave growth G03. Convergence behaviour, deep water G04. Convergence behaviour, shallow water G05. Convergence with different initial conditions G06. Growth with various formulations of the quadruplet interactions ## robustness tests |

## Swan Tests |