Regular wave generation via open boundaries

Hi all, I am trying to generate regular waves via open boundaries.

In the example

\examples\inletoutlet\04_Waves2D , it uses imposed velocity in the buffer zone to generate 2nd order Stokes wave. And the velocity distribution is the same over the depth. From what I understand, the velocity of the particle changes over the depth according to the theory. Does this example use Madsen' s wave generation theory to impose the same velocity as the piston wavemaker?

The first pic is from waves.csv and the second is from my calculation from Madsen's theory, they look close.

So my question is, to generate wave in open boundaries, what will the velocity of fluid particles be over the depth?

Thanks for your help in advance.


  • @iarba27 can reply to this with accurate information

  • You need to use a different option to be able to vary by depth. You should use Option 3 for Impose Velocity: Interpolate. You will find more information at Page 17 of XML_GUIDE_INLETOUTLET.pdf

  • Dear Barry,

    you can either use a uniform velocity profile or imposed velocity that varies with the depth. In that case, as a_meduri2312 mentioned, you can impose velocity but use interpolate option. My advise is to construct the velocity file using at least 11 points (dividing the water depth by 10). The lowest one corresponds to the fluid bottom, hence vel=0. The highest one is on the still water level. It would be better if your file has the following structure (see picture).



  • @a_meduri2312 Thanks for the insight!

  • @iarba27 :

    Hi Corrado,

    Thanks a lot for your comprehensive suggestion and I will try that.



Sign In or Register to comment.