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 |
Inlet patch example
<patch>
{
alpha alpha.water;
waveModel McCowan;
nPaddle 1;
waveHeight 0.05;
waveAngle 0.0;
activeAbsorption yes;
}
Source code:
References:
Tutorials:
| Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2017-2019 OpenCFD Ltd.