The wave height is modelled by the equation:
\[ \eta = \frac{H}{2} \cos (k x -\omega t + \phi) + k \frac{H^2}{4} \frac{3 - \sigma^2}{4 \sigma^3} \cos \left(2(k x - \omega t + \phi)\right) \]
where:
\( H \) | = | wave height |
\( k \) | = | wave number |
\( \omega \) | = | angular frequency |
\( \sigma \) | = | radian wave frequency |
\( \phi \) | = | phase shift |
\( t \) | = | time |
Inlet patch example
<patch> { alpha alpha.water; waveModel StokesII; nPaddle 1; waveHeight 0.05; waveAngle 0.0; rampTime 3.0; activeAbsorption yes; wavePeriod 3.0; }
Source code:
References:
Tutorials:
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2017-2019 OpenCFD Ltd.