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

[waves2Foam] External source file to generate wave motion

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2019, 11:18
Question External source file to generate wave motion
  #1
New Member
 
MP Delisle
Join Date: Dec 2019
Posts: 3
Rep Power: 6
mdelisle is on a distinguished road
Hi all,

I am attempting to replicate a wave tank experiment (transient, breaking wave) with a piston-like wave maker (I have x and eta at at the wavemaker), but the solver I wish to use (sedWaveFoam) does not have dynamic mesh capabilities. I tried to use interDyMFoam with an extended domain for the dynamic mesh (derived velocity from wavemaker data) and but due to wave shape and length of wavemaker motion (~40 sec) this does not provide satisfactory results. I'm hoping to find a way to generate the wave while still using sedWaveFoam (I am looking into sediment properties).

I looked into groovyBC to generate wave motion but due to wave reflection it becomes unstable. The waves2foam manual briefly describes using an external source file to generate wave motion - has anyone been successful in doing so? Using interDyMFoam I could get all necessary information at one location (e.g., eta, velocity, pressure) and then use this as an input in sedWaveFoam. Any suggestions or examples would be greatly appreciated!

Last edited by mdelisle; December 17, 2019 at 19:45.
mdelisle is offline   Reply With Quote

Old   December 17, 2019, 18:04
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi mdelisle,


if you have a time series of displacement and free surface at a wavemaker you can use olaFlow to generate the waves. It has active wave absorption too to account for the reflected waves. Check https://olaflow.github.io and follow the wavemakerFlume tutorial included in the source code to learn how to work with it.


Eventually, you can also potentially link the wavemaker boundary condition dynamically into the sedWaveFoam solver to account for sediment too (if the solver allows using dynamic meshes).


Best,


Pablo
mrozki likes this.
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   December 17, 2019, 19:44
Default
  #3
New Member
 
Yeulwoo Kim
Join Date: Sep 2014
Posts: 1
Rep Power: 0
Yaroo is on a distinguished road
Hi Pablo,

I think MP wants to use static mesh instead of dynamic mesh, prescribing the wave at the inlet using the external source files (alpha.water and U). We are wondering if olaFlow has that capability.

I am also working on the SedWaveDyMFoam, and it is partially done. The main issue is SedWaveFoam works stable only in the GAMG pressure solver. But that seems not the best solver for dynamic mesh.

Yeulwoo
Yaroo is offline   Reply With Quote

Old   December 18, 2019, 04:38
Default
  #4
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 MP,

The external source in waves2Foam is an abstract base class that allows you to program an interface to any wave input, as long as you can provide surface elevation and velocity field. Consequently, you should be able to program the necessary control yourself.

You could also apply OceanWave3D that comes with functionality of mimicking wave paddle motion.

Kind regards

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is online now   Reply With Quote

Old   December 19, 2019, 18:36
Default
  #5
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Yeulwoo,


yes, if the waves are close to shallow water conditions, olaFlow has an option to generate waves in such way. Check the olaFlow manual included in the references folder for a full description, the waveType is called wavemaker (it will be renamed to waveSeries in the future) and you can provide a time series of displacement and free surface to allow actve wave absorption too.


Best,


Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Reply

Tags
dynamic, external, file, mesh, source


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] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


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