Wavemaker
Hello to everyone,
I try to simulate a 2-D wave flume in openfoam, but i do not know to do a moving boundary or a dynamic mesh. Can you help with some guide and suggestion about how can i make waves in a numerical wave flume. thanks for your help and time. |
Hi,
we have carried out several simulations with moving boundaries: https://www.youtube.com/watch?v=qVhDw7Sk7kY (This one generates waves on the left boundary and absorbs them on the right boundary, both by applying a movement to them). We had to code our own BC to prescribe the movement we wanted, but other than that everything is very similar to the floatingObject tutorial case for interDyMFoam. You should start by looking and understanding it. Then you can modify it to suit your needs. Best, Pablo |
Quote:
So i have to make my own c++ code for input the BC at my geometry?. This is for a dynamic mesh, but for a fixed mesh, e.i. input BC changing U and P_rgh at the time, it is easier?. Thanks for your time an help. |
For the BC wave generation you can do it with GroovyBC (just search in the forum) but you will encounter an increase in the water level for long simulations. The pro is that you don't have to code.
The other option involves writing a BC which includes active wave absorption, as we have done. Take a look here: http://www.cfd-online.com/Forums/ope...-breaking.html Best, Pablo |
All times are GMT -4. The time now is 04:45. |