CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Wavemaker

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2013, 01:07
Smile Wavemaker
  #1
New Member
 
alejandro cáceres
Join Date: Sep 2013
Posts: 3
Rep Power: 12
alejoopefoa is on a distinguished road
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
alejoopefoa is offline   Reply With Quote

Old   September 4, 2013, 03:16
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Old   September 4, 2013, 15:05
Default
  #3
New Member
 
alejandro cáceres
Join Date: Sep 2013
Posts: 3
Rep Power: 12
alejoopefoa is on a distinguished road
Quote:
Originally Posted by Phicau View Post
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
Thanks Pablo,

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.
alejoopefoa is offline   Reply With Quote

Old   September 5, 2013, 02:40
Default
  #4
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
Phicau is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:37.