The wave height is modelled by the equation:
\[ \eta = H \left[ \mathrm{sech} \sqrt{\frac{3}{4} \frac{H}{h} \frac{x - c t}{h}}\right]^2 \]
where:
\( H \) | = | wave height |
\( h \) | = | water depth |
\( c \) | = | wave celerity |
\( t \) | = | time |
Inlet patch example
<patch> { alpha alpha.water; waveModel Boussinesq; nPaddle 1; waveHeight 0.3; waveAngle 0.0; activeAbsorption yes; wavePeriod 0.0; }
Source code:
References:
Tutorials:
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2017-2019 OpenCFD Ltd.