Properties

  • Solitary wave

Model equations

The wave height is modelled by the equation:

\[\eta = \frac{a}{\tan (0.5 m (a + h))} \frac{\sin (m z)}{\cos (m z) + \cosh (m x) }\]

Where:

\(h\)
water depth
\(a\)
wave amplitude
\(m\)
constant coefficient

Default model coefficients

Usage

Inlet patch example

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

Further information

Source code:

References:

Tutorials: