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

[waves2Foam] waves2Foam compatible with IHFoam [v. 2012]

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By ngj
  • 1 Post By IHFOAM Team
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2021, 12:59
Default waves2Foam compatible with IHFoam [v. 2012]
  #1
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
Dear all,

There were previously minor conflicting code components that prevented a co-existence of waves2Foam and IHFoam wave modules within the waves2Foam class of solvers: waveFoam, waveIsoFoam, and porousWaveFoam.

This has been resolved as of v2012, where the boundary conditions in waves2Foam have been renamed (see release notes). The present post describes the modifications required to execute the waveFoam solver with IHFoam boundary conditions. The basis is the "streamFunction" test case in

Code:
OpenFOAM-v2012/tutorials/multiphase/interFoam/laminar/waves/streamFunction

There are only a few additional lines required in the waveProperties dictionary:


Code:
seaLevel 0; 
seaLevelAsRefernce false;
relaxationNames ();

It is important to note that waveFoam works with the possibility of defining a reference level, where the definition differs from the standard in OpenFoam; the latter was introduced later than in waves2Foam and the method differs between branches, so the waves2Foam approach is kept for uniformity across waves2Foam.



This small addition to waveProperties allows the user to combine IHFoam wave definitions with pre- and run-time tools such as wave gauges and overtopping methods available in wavesFoam. Please refer to the manual for details: https://www.researchgate.net/publica...es2Foam_Manual



Please note that I have personally no experience with IHFoam. The present extension is incorporated upon popular request.


Kind regards


Niels
roenby and Stan Zhou like this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   January 21, 2021, 03:41
Default
  #2
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 119
Rep Power: 8
IHFOAM Team is on a distinguished road
Gracias Niels !!
ngj likes this.
__________________
http://ihfoam.ihcantabria.com/
IHFOAM Team is offline   Reply With Quote

Old   March 26, 2021, 01:59
Default Generating oblique waves with waves2FOAM?
  #3
New Member
 
Mena Pillai
Join Date: Jul 2018
Posts: 5
Rep Power: 7
mgppsk is on a distinguished road
Can any one please help me in generating oblique waves with waves2FOAM toolbox?
mgppsk is offline   Reply With Quote

Old   March 26, 2021, 11:17
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 Mena,

Please consult this thread, before posting your questions:

Guide: How to ask a question on the forums

First of all, you are not providing any useful information and expect the forum to do all the thinking for you. Secondly, you are hijacking a thread, which is completely unrelated to your question. Please open a new thread with all necessary information.

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 offline   Reply With Quote

Old   April 24, 2021, 07:43
Default
  #5
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
Dear all,


Improved support for IHFoam within waves2Foam is now released; see Release of a Wave Generation and Absorption Toolbox for OF for details.


Kind regards


Niels
2538sukham likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
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
[IHFOAM] How to install IHFOAM 1806 in OpenFOAM 1806 Robin86 OpenFOAM Community Contributions 11 November 17, 2021 11:38
[IHFOAM] IHFOAM patch problem IH_Waves_InletVelocity jormollo OpenFOAM Community Contributions 9 November 7, 2018 02:49
[waves2Foam] For those who have used waves2Foam, have you used IHFOAM as well? Fanfei OpenFOAM Community Contributions 1 June 6, 2018 06:13
[IHFOAM] Error with IHFOAM version OF2300 in Mac androso OpenFOAM Community Contributions 3 February 7, 2017 14:06
IHFOAM - Wave generation with moving boundaries Phicau OpenFOAM Verification & Validation 0 May 18, 2015 04:53


All times are GMT -4. The time now is 00:05.