Skip to main content

Cnoidal

Properties

  • Regular waves

Model equations

The wave height is modelled by the equation:

η=H[1m(1E(m)K(m))1+cn2(2K(m)xctλ)] \eta = H \left[ \frac{1}{m} \left( 1 - \frac{E(m)}{K(m)} \right) - 1 + cn^2\left( 2 K(m) \frac{x - ct}{\lambda} \right) \right]

Where:

λ\lambda : wavelength

mm : elliptic parameter that depends on the wave characteristic

K(m)K(m) : complete elliptic integral of the first kind

E(m)E(m) : complete elliptic integral of the second kind

cncn : Jacobi's elliptic functions

cc : wave celerity

HH : wave height

tt : time

Default model coefficients

Usage

Inlet patch example

<patch>
{
alpha alpha.water;
waveModel cnoidal;
nPaddle 1;
waveHeight 0.1;
waveAngle 0.0;
rampTime 6.0;
activeAbsorption yes;
wavePeriod 4.0;
}

Further information

Source code:

References:

  • ...

Tutorials: