Skip to main content

McCowan

Properties

  • Solitary wave

Model equations

The wave height is modelled by the equation:

η=atan(0.5m(a+h))sin(mz)cos(mz)+cosh(mx) \eta = \frac{a}{\tan (0.5 m (a + h))} \frac{\sin (m z)}{\cos (m z) + \cosh (m x) }

Where:

hh : water depth

aa : wave amplitude

mm : 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: