|
[Sponsors] |
[waves2Foam] External source file to generate wave motion |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 17, 2019, 12:18 |
External source file to generate wave motion
|
#1 |
New Member
MP Delisle
Join Date: Dec 2019
Posts: 3
Rep Power: 7 |
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 20:45. |
|
December 17, 2019, 19:04 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
December 17, 2019, 20:44 |
|
#3 |
New Member
Yeulwoo Kim
Join Date: Sep 2014
Posts: 1
Rep Power: 0 |
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 |
|
December 18, 2019, 05:38 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
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. |
|
December 19, 2019, 19:36 |
|
#5 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
Tags |
dynamic, external, file, mesh, source |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 04:52 |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |