Skip to content

ConformalEulerDeepWater v1.1.0

Choose a tag to compare

@dutykh dutykh released this 14 Nov 17:21

ConformalEulerDeepWater solves the full Euler equations of irrotational surface gravity waves in deep water, written in the conformal variables of Dyachenko, Kuznetsov, Spector and Zakharov (1996), by a Fourier pseudo-spectral method with an exponential filter, exact integration of the linear terms and an adaptive embedded Runge–Kutta scheme of Cash and Karp. The example is the evolution of the Peregrine breather, initialised as by Shemer and Alperovich (2013). The scripts run in MATLAB and in GNU Octave alike.

η_t = η_ξ H[ψ_ξ/J] − x_ξ ψ_ξ/J,     φ_t = φ_ξ H[ψ_ξ/J] − (φ_ξ² − ψ_ξ²)/(2J) − g η,     x = ξ − H[η],  ψ_ξ = H[φ_ξ]

No article accompanies the code. If you use it, please cite the software itself; the button "Cite this repository" gives the reference, read from CITATION.cff, and the README credits the works on which the code rests, with their DOIs.

https://github.com/dutykh/ConformalEulerDeepWater

This version leaves the solver unchanged and documents it. The README gives the equations in the form of the code, the numerical method, the parameters of the breather, how to run the main script from the folder scripts, and the optional computation of the surface velocities. It also reports how the run behaves: the breather focuses into a single steep crest of 0.076 m near t = 25.7 s, four times the highest crest at the start, and the adaptive time step falls there below 10⁻⁴ s. The figure of the focusing is made by the scripts of docs/figures. Version 1.0 (May 2025) already contained the computation of the surface velocities contributed by Francesco Fedele.