CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Announcements from Other Sources (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/)
-   -   Release of a Wave Generation and Absorption Toolbox for OF (https://www.cfd-online.com/Forums/openfoam-news-announcements-other/94251-release-wave-generation-absorption-toolbox.html)

ngj April 5, 2021 09:22

Dear all,

It is my great pleasure to announce that we (Mart Borsboom and myself, Deltares, The Netherlands) are finally ready to release the big upgrade of waves2Foam with generating-absorbing boundary conditions (see https://onlinelibrary.wiley.com/doi/10.1002/fld.4982). This extension of waves2Foam preserves the well-known ease of use with the enhancement of generating and absorbing waves without the use of relaxation zones.

The theoretical analysis in our journal perform is performed for 2DV cases, however, the release also includes 3D tutorials and there is no need to define virtual paddles of a 3D boundary, since the new boundary technique works entirely with local variables (pressure and velocity).

The release is currently working for OpenFoam versions after 1812 (OpenFoam-ESI) and the tutorials are placed in a separate folder (waveFoamGABC). In the coming time, the tutorials will be streamlined and additional cases will be added.

For the researchers specifically interested in phase-focused waves, there is now a tutorial with a NewWave phase-focusing, where the wave amplitudes are computed from a new newWaveJONSWAP spectral implementation.

The initial release is complete with svn-revision number 2146.

Kind regards

Niels

ngj April 24, 2021 07:42

Dear all,


I have just submitted an update to waves2Foam with the following changes:
  • It is now possible to use setWaveParameters and setWaveField, when one or more boundary conditions are specified as IHFoam. This failed up to now.
  • There is a tutorial informing, how a simulation can be executed with a mixed use of boundary conditions (GABC by Borsboom and Jacobsen, 2021, on the inlet and IHFoam at the outlet).
The additional tutorial is the basis of a technical note (https://www.researchgate.net/publica...dary_condition), where the tools from Borsboom and Jacobsen (2021) were applied to propose a theoretical model of the IHFoam absorbing boundary condition.


The present submission is available on svn with revision 2148.


Kind regards


Niels

xieguagnci July 11, 2021 05:53

Quote:

Originally Posted by ngj (Post 802388)
Dear all,


I have just submitted an update to waves2Foam with the following changes:
  • It is now possible to use setWaveParameters and setWaveField, when one or more boundary conditions are specified as IHFoam. This failed up to now.
  • There is a tutorial informing, how a simulation can be executed with a mixed use of boundary conditions (GABC by Borsboom and Jacobsen, 2021, on the inlet and IHFoam at the outlet).
The additional tutorial is the basis of a technical note (https://www.researchgate.net/publica...dary_condition), where the tools from Borsboom and Jacobsen (2021) were applied to propose a theoretical model of the IHFoam absorbing boundary condition.


The present submission is available on svn with revision 2148.


Kind regards


Niels

Hellow, I want to know which waves2Foam version is suitable foam-extend-4.1.

Thank You
Best Regards

ngj July 21, 2021 14:57

Dear all,


First of all, please reserve this thread for announcements related exclusively to release of updates to the svn-repository. There is a whole group of threads marked 'waves2Foam' for discussions on usage and compatibility. Note that I am currently only compiling waves2Foam against the OpenFoam-version from ESI.



It is my pleasure to announce that waves2Foam now compiles on OpenFoam-v2106 with very minor modifications. Furthermore, all three solvers 'waveFoam', 'waveIsoFoam', and 'porousWaveFoam' are made.



I am also working on a tutorial that combines the new GABC with the porosity module. This tutorial will hopefully appear shortly.



The compatibility is available in svn-revision 2149.


Kind regards


Niels

isulovsky March 17, 2022 07:31

waves2Foam in v2012
 
Dear Foamers,

I am having troubles implementing waves2Foam under OF v2012 (in WSL). I believe waves2Foam compiled correctly since I am able to run all the tutorials and every solver is recognised. However, I am having an issue for which I didn't find an answer, so my last resort is to ask here:

In the manual of Waves2Foam from mr. Jacobsen says that for later version of OF 1.7, interFoam needs to be modified according to what says in the wiki. I didn't find any information on that matter so my first question is: Does for later version of OF 1.7, interFoam needs to be modified manually?

Example:

When setting up a case (blockMesh - setWaveParameters - setWaveFields - relaxationZoneLayout) and then starting the simulation with interFoam, boundary conditions waveAlpha and waveVelocity are not recognised signaling an error "Dictionary entry for patch inlet not found". When I change those boundary conditions to zeroGradient, simulation is succesful but nothing really happens in the domain (no waves are generated). On the other hand, if I start the simulation with waveFoam, waves are generating and everything seems fine. So, I guess I don't really understand the relations beetween interFoam and waveFoam and I am hoping for a clarification from You guys.

My ultimate intention is to use overInterDymFoam with waves2Foam toolbox.

Thank You in advance,

Ivan

ngj September 4, 2022 14:01

Dear all,

First of all, I would again like to stress that this thread is exclusively for announcements related to updates of the source code. No requests will be answered, and users are referred to the numerous waves2Foam-related threads.

Secondly, it is my pleasure to announce that waves2Foam is now compatible with OpenFoam-ESI v2206. This includes updates to the surface elevation gauges due to a restructuring of the upstream code, therefore please verify reimplementation against your own cases. I have verified that results are identical for the waveFlume tutorial between v2106 and v2206.

All three solvers are working and has been checked against a number of the solvers with relaxation zones, porosity zones, and GABC.

The compatibility is include as per SVN-revision 2156.

Kind regards

Niels


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