In Part 1 (van Groesen and Andonowati ), we derived models for the propagation of coastal waves from deep parts in the ocean to shallow parts near the coast. In this paper, we will describe hybrid spatial-spectral implementations of the models that retain the basic variational formulation of irrotational surface waves that underlays the derivation of the continuous models. It will be shown that the numerical codes are robust and efficient from results of simulations of two test cases of waves above a 1:20 sloping bottom from 30 m to 15 m depth: one simulation of a bichromatic wave train, and one of irregular waves of JONSWAP type. Measurements of scaled experiments at MARIN hydrodynamic laboratory and simulations with two other numerical codes will be used to test the performance. At the end of the full time trace of 3.5 h details of the irregular waves that travelled over more than 5000 m are clearly resolved with a correlation of more than 90%, in calculation times of less than 5% of the physical time. Also freak-like waves that appear in the irregular wave are shown to be modelled to a high degree of accuracy.
- Coastal waves
- Hybrid spatial-spectral implementation
- Freak waves
- Variational modelling
- Sloping bottom