|
[Sponsors] |
[waves2Foam] impose a specific time series of surface elevation to the inlet |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Maxim Van Zonhoven
Join Date: Nov 2015
Posts: 4
Rep Power: 11 ![]() |
Hi Niels,
We would like to impose a specific time series of surface elevation to the inlet of a numerical wave tank in waves2foam. Is there an elegant way to insert a specific amplitude and phase spectrum in the irregular wave theory to built the desired signal out of linear components? i.e. insert an array of amplitudes and phases corresponding to a number of discrete frequencies. Maybe we could add these arrays in the source code instead of using the options available by default (JONSWAP, random phase, focus point,...)? Or load the arrays out of a text file in some way. Also we are made aware of an option called externalWave or external wave forcing. However, we are not able to find documentation on this topic. Should we consult the source code to learn more about this? Thanks in advance, Maxim |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 38 ![]() ![]() |
Hallo Maxim,
There is currently no way of doing it with the implementation in waves2Foam, but it should be fairly straightforward for you to make the implementation yourself. The external solver OceanWave3D does have a functionality along the lines of what you want to achieve. The use of this code, however, is only given through examples provided with the OceanWave3D code. The coupling with waves2Foam is described in the doc-folder in waves2Foam. Please note that we provide background on the coupling, OceanWave3D and waves2Foam in our yearly course by Deltares. The next is likely to take place in October. 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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Elie Ronge
Join Date: Jan 2025
Posts: 1
Rep Power: 0 ![]() |
Hi Niels,
I am new to wave2Foam and asking myself the same question on custom time series. What if we bypass setWaveParameters and write the waveProperties file ourselves using the components of a FFT ? Would there be something wrong with that method ? Kind regards, Elie |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 22:29 |
[waves2Foam] free surface elevation seems to decrease as the distance from the inlet | gautami | OpenFOAM Community Contributions | 8 | October 7, 2016 13:25 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |