CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Wave generation inlet using interFoam

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

Like Tree1Likes
  • 1 Post By ngj

LinkBack Thread Tools Display Modes
Old   February 6, 2013, 09:16
Default Wave generation inlet using interFoam
New Member
Join Date: Feb 2013
Posts: 1
Rep Power: 0
Katzenpaul is on a distinguished road
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
, 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.
Katzenpaul is offline   Reply With Quote

Old   February 6, 2013, 10:11
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 9
michielm is on a distinguished road
GroovyBC has become part of swak4Foam since, I think, OF 1.7.

You can download swak4Foam here:

Documentation is also available on the same wiki page.

Good luck!
michielm is offline   Reply With Quote

Old   February 6, 2013, 10:28
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,758
Rep Power: 29
ngj will become famous soon enoughngj will become famous soon enough
Hi Ralfons,

Welcome to the Forum.

If you are particular interested in free surface waves, then I can recommend this tool:

It is currently also off-line, so a static snapshot of the development can be downloaded here:

Kind regards,


Disclaimer: I am making a bit of PR for my own tool
vsammartano likes this.
ngj is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
wave generation in star ccm+ Anuj Gupta STAR-CCM+ 1 May 31, 2013 12:27
Trouble setting groovyBC interFoam Inlet BC mgdenno OpenFOAM 4 July 1, 2012 08:16
Bigger wave height leads to crash (interFoam) David* OpenFOAM 6 November 14, 2011 03:53
Wave generation with 1.7.x and groovyBC nuovodna OpenFOAM 14 September 14, 2010 05:31
Latest news in mesh generation Robert Schneiders Main CFD Forum 0 March 2, 1999 05:07

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