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

[swak4Foam] WaveTank with groovyBC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2015, 07:33
Default WaveTank with groovyBC
  #1
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 10
Moux is on a distinguished road
Good morning everyone,

I would like to create waves with this specific BC, "groovyBC".

On this url : https://openfoamwiki.net/index.php/Contrib/groovyBC
it is shown how to proceed with the gamma and U files to create a 2nd order Stokes wave.

There is a link to get the test case but it does not work anymore, does anybody have a ruuning link to get this test case?

Regards,

Max
Moux is offline   Reply With Quote

Old   July 8, 2015, 10:28
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Max,

any specific interest in running the case with GroovyBC? This approach is quite old and lacks wave absorption, which will yield increasing agitation and mean water levels.

Have you considered trying IHFOAM? https://openfoamwiki.net/index.php/Contrib/IHFOAM

Best,

Pablo
Phicau is offline   Reply With Quote

Old   July 8, 2015, 11:07
Default
  #3
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 10
Moux is on a distinguished road
Hi Pablo,

Thank you for your reply and for your help!

My work is devided in two parts, first I have to find the best way to reduce wave reflection thanks to a beach with a specific shape. Secondly I have to create a wave maker. I was thinking about this BC because it seemed to be the most effective one in term of saving computational time.

I have been a OpenFoam user for nearly a month and I have not read everything about BC. I am going to check this new BC, thanks a lot!!

Regards,

Max
Moux is offline   Reply With Quote

Old   July 8, 2015, 11:31
Default
  #4
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 10
Moux is on a distinguished road
Hi Pablo,

I have another question,

What is the main difference between the wave absorption tool offered by the wavePropertiesDict (waves2Foam) and the one given by this new BC?

Regards,

Maxime
Moux is offline   Reply With Quote

Old   July 8, 2015, 11:39
Default
  #5
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Max,

the biggest difference is that waves2foam generates and absorbs within a zone that needs to be added to your interest mesh, while IHFOAM handles everything at the boundaries, thus not increasing the computational cost. Check the IHFOAM references for a deeper comparison.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   July 8, 2015, 11:48
Default
  #6
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 10
Moux is on a distinguished road
Hi Pablo,

I have just installed IHFOAM. I am looking forward to running it in my specific case! I will give a feedback on my results!

Thanks a lot!!

Regards,

Max
Moux is offline   Reply With Quote

Old   July 20, 2015, 07:40
Default
  #7
New Member
 
Maxime Le Bihan
Join Date: Jun 2015
Posts: 9
Rep Power: 10
Moux is on a distinguished road
Hi,

After several run, the IHFOAM BC to absorb waves is very good with big and moderate waves but in my case, with low frequency waves (0.1-0.8Hz), the BC is not efficient. It makes a huge reflection and there are periodical raisonnance effects in my tank.

I think that it is possibly to provide a good BC by modifying the IHFOAM BC but I am not good enough in C++ to do so.

If anyone have a clue to deal with this problem, let me know.

Cheers,

Max
Moux is offline   Reply With Quote

Reply


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
[swak4Foam] groovyBC for oscillatory flow liybzd OpenFOAM Community Contributions 5 November 12, 2018 07:53
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC zanilu70 OpenFOAM Community Contributions 4 December 13, 2016 06:46
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam dani2702 OpenFOAM Community Contributions 0 November 17, 2016 03:30
[swak4Foam] groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Community Contributions 24 March 1, 2015 07:16
[swak4Foam] groovyBC and Eqn.setReference() benk OpenFOAM Community Contributions 3 June 2, 2011 08:49


All times are GMT -4. The time now is 13:30.