Wave generation inlet using interFoam
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.. |
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! |
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 ;) |
All times are GMT -4. The time now is 23:14. |