|
[Sponsors] |
September 4, 2013, 01:07 |
Wavemaker
|
#1 |
New Member
alejandro cáceres
Join Date: Sep 2013
Posts: 3
Rep Power: 12 |
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. Last edited by alejoopefoa; September 4, 2013 at 01:08. Reason: bad words |
|
September 4, 2013, 03:16 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
September 4, 2013, 15:05 |
|
#3 | |
New Member
alejandro cáceres
Join Date: Sep 2013
Posts: 3
Rep Power: 12 |
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. |
||
September 5, 2013, 02:40 |
|
#4 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
the problem about"Max(gamma)>1" | zhajingjing | OpenFOAM | 6 | April 5, 2010 02:33 |
Tank wavemaker | Turbulent | CFX | 2 | June 23, 2009 12:32 |