This function computes the steady irrotational surface solitary (classical and generalized) capillary-gravity wave solutions of the full Euler equations (homogeneous, incompressible and perfect fluids). The wave is defined by its initial Froude and Bond numbers (Fr, Bo) and the result is about twelve digits accurate. The method works for all but the highest waves.
NOTA BENE: The execution of this function requires the presence of the Optimization Toolbox, namely we use the fsolve() function of this toolbox to solve the nonlinear nonlocal Babenko equation.
More details on the methods used in these scripts can be found in the following references:
- D. Clamond, D. Dutykh & A. Duran. A plethora of generalised solitary gravity-capillary water waves. Submitted, 2015
Open source under the MIT licence.