Submitted as: model description paper
23 Mar 2023
Submitted as: model description paper |  | 23 Mar 2023
Status: a revised version of this preprint is currently under review for the journal GMD.

Ocean wave tracing v.1: A numerical solver of the wave ray equations for ocean waves on variable currents at arbitrary depths.

Trygve Halsne, Kai Håkon Christensen, Gaute Hope, and Øyvind Breivik

Abstract. Lateral changes in the group velocity of waves propagating in oceanic or coastal waters causes a deflection in their propagation path. The change in direction is called refraction and can be computed if having information about the ambient current field and/or the bathymetry. We present an open source module for solving the wave ray equations by means of numerical integration in Python v3, which is relevant for ocean applications. The solver is implemented for waves at arbitrary depths and for an ambient current field with spatio-temporal variability much lower than characteristic wave properties. The wave ray tracing module is implemented in a class structure, and the output is verified against analytical solutions as well as tested for numerical convergence. The solver is accompanied by a set of ancillary functions with the aim of supporting relevant workflows for the user community including data retrieval, transformation, and dissemination, and a number of use examples are provided.

Trygve Halsne et al.

Status: final response (author comments only)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2023-19', Leonel Romero, 25 May 2023
  • RC2: 'Comment on gmd-2023-19', Anonymous Referee #2, 08 Jul 2023
  • AC1: 'Comment on gmd-2023-19', Trygve Halsne, 17 Aug 2023

Trygve Halsne et al.

Trygve Halsne et al.


Total article views: 400 (including HTML, PDF, and XML)
HTML PDF XML Total Supplement BibTeX EndNote
278 111 11 400 62 3 1
  • HTML: 278
  • PDF: 111
  • XML: 11
  • Total: 400
  • Supplement: 62
  • BibTeX: 3
  • EndNote: 1
Views and downloads (calculated since 23 Mar 2023)
Cumulative views and downloads (calculated since 23 Mar 2023)

Viewed (geographical distribution)

Total article views: 391 (including HTML, PDF, and XML) Thereof 391 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
Latest update: 27 Aug 2023
Short summary
Surface waves that propagate in the ocean or in coastal environments get influenced by their surroundings. Changes in the ambient current or the depth profile affect the wave propagation path, and the change in wave direction is called refraction. Some simple solutions to the governing equations exists under ideal conditions, but for realistic situations, the equations must be solved numerically. Here we present such a numerical solver under an open source lisence.