Skip to main content

Grimshaw

Properties

  • Solitary wave

Model equations

The wave height is modelled by the equation:

η=1+ϵs2+34ϵ2s2t2+ϵ3(58s2t210180s4t2) \eta = 1 + \epsilon s^2 + \frac{3}{4} \epsilon^2 s^2 t^2 + \epsilon^3 \left( \frac{5}{8} s^2 t^2 - \frac{101}{80} s^4 t^2\right)

and

ϵ=ah;s=sech(αx);t=tanh(αx);α=34ϵ(158ϵ+71128ϵ2) \epsilon = \frac{a}{h}; s = \mathrm{sech} (\alpha x); t = \tanh(\alpha x); \alpha = \sqrt{\frac{3}{4} \epsilon} \left( 1 - \frac{5}{8} \epsilon + \frac{71}{128}\epsilon^2 \right)

Where:

hh : water depth

aa : wave amplitude

tt : time

Default model coefficients

Usage

Inlet patch example

<patch>
{
alpha alpha.water;
waveModel Grimshaw;
nPaddle 1;
waveHeight 0.05;
waveAngle 0.0;
activeAbsorption no;
}

Further information

Source code:

References:

  • ...

Tutorials: