|
[Sponsors] |
February 6, 2013, 09:16 |
Wave generation inlet using interFoam
|
#1 |
New Member
Ralfons
Join Date: Feb 2013
Posts: 1
Rep Power: 0 |
Hi folks
I want to simulate a sinusoidal flow of water in a 3D-volume. And the waves should be generated by the inlet, so the value of alpha1 at each point of the inlet should either 1 or 0, depending on the time. Up to now I only know how to change the value of alpha1 over time on the whole inlet, using timeVarying - boundary condition. But with this BC I can change the value of alpha1 only over its whole range (from 0 to 1, but continously) and not only switch between the two values 0 and 1. I read something, that this should be possible using groovyBC, whereof I found a test case here http://openfoamwiki.net/index.php/Co...groovyWaveTank , but it seems to be offline right now. Would be nice to see how groovyBC works as I didn't understand it yet. When anyone downloaded the case, I'd be glad to get it. Can anyone give me a hint how to do that? Ask if you need some further information. And sorry for my english.. Last edited by Katzenpaul; February 6, 2013 at 09:41. |
|
February 6, 2013, 10:11 |
|
#2 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
GroovyBC has become part of swak4Foam since, I think, OF 1.7.
You can download swak4Foam here: http://openfoamwiki.net/index.php/Co...am#Downloading Documentation is also available on the same wiki page. Good luck! |
|
February 6, 2013, 10:28 |
|
#3 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Ralfons,
Welcome to the Forum. If you are particular interested in free surface waves, then I can recommend this tool: http://openfoamwiki.net/index.php/Contrib/waves2Foam It is currently also off-line, so a static snapshot of the development can be downloaded here: http://www.student.dtu.dk/~ngja/waves2Foam.tar.gz Kind regards, Niels Disclaimer: I am making a bit of PR for my own tool |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wave generation in star ccm+ | Anuj Gupta | STAR-CCM+ | 1 | May 31, 2013 13:27 |
[swak4Foam] Trouble setting groovyBC interFoam Inlet BC | mgdenno | OpenFOAM Community Contributions | 4 | July 1, 2012 09:16 |
Bigger wave height leads to crash (interFoam) | David* | OpenFOAM | 6 | November 14, 2011 03:53 |
[swak4Foam] Wave generation with 1.7.x and groovyBC | nuovodna | OpenFOAM Community Contributions | 14 | September 14, 2010 06:31 |
Latest news in mesh generation | Robert Schneiders | Main CFD Forum | 0 | March 2, 1999 05:07 |