CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Wave generation inlet using interFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2013, 08:16
Default Wave generation inlet using interFoam
  #1
New Member
 
Ralfons
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
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 08:41.
Katzenpaul is offline   Reply With Quote

Old   February 6, 2013, 09:11
Default
  #2
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 15
michielm is on a distinguished road
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!
michielm is offline   Reply With Quote

Old   February 6, 2013, 09:28
Default
  #3
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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:

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
vsammartano likes this.
ngj 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
wave generation in star ccm+ Anuj Gupta STAR-CCM+ 1 May 31, 2013 12:27
[swak4Foam] Trouble setting groovyBC interFoam Inlet BC mgdenno OpenFOAM Community Contributions 4 July 1, 2012 08:16
Bigger wave height leads to crash (interFoam) David* OpenFOAM 6 November 14, 2011 02:53
[swak4Foam] Wave generation with 1.7.x and groovyBC nuovodna OpenFOAM Community Contributions 14 September 14, 2010 05:31
Latest news in mesh generation Robert Schneiders Main CFD Forum 0 March 2, 1999 04:07


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