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

[waves2Foam] Irregular wave direction

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pferro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2021, 03:39
Default Irregular wave direction
  #1
New Member
 
Paulin FERRO
Join Date: May 2021
Location: France
Posts: 21
Rep Power: 4
pferro is on a distinguished road
Hello,

I was wondering if it's possible to generate a sea state with "irregular wave directions".

I read the manual but didn't find any solution for doing such a thing (maybe I miss something).

Best regards,

Paulin
pferro is offline   Reply With Quote

Old   July 27, 2021, 04:47
Default
  #2
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 Paulin,


Thank you for your question. I actually never wrote that part of the code, but it should be reasonably easy to do in the following fashion:


  • Create objects for the wave spreading (see in src/waves2FoamProcessing folder), this should obviously include the unidirectional case.
  • The directionally spread waves can either be generated with single or double summation principal for the generation of the irregular wave field (there is literature on the pros and cons). Here, single summation will definitely be more favorable, when it comes to computational speed.
  • Note that the wave spectra are currently assuming a unidirectional wave field, so you need to correct that part of the code as well, where the linear wave number (scalar) is multiplied with the wave direction (still in the preprocessing step).
  • Once the preprocessing part is handled, I expect that the wave generation with relaxation zones should work. However, please note that the GABC has not been implemented for oblique wave generation.
I hope that this is useful.


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   July 27, 2021, 04:53
Default
  #3
New Member
 
Paulin FERRO
Join Date: May 2021
Location: France
Posts: 21
Rep Power: 4
pferro is on a distinguished road
Hello Niels,

Thank you for your very detailed answer. As soon as I have enough time I will try to follow your instructions.

Best regards

Paulin
pferro is offline   Reply With Quote

Old   July 27, 2021, 09:45
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 Paulin,


When you succeed, I would be interested in adopting the code into the public version of waves2Foam.


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   July 27, 2021, 09:59
Default
  #5
New Member
 
Paulin FERRO
Join Date: May 2021
Location: France
Posts: 21
Rep Power: 4
pferro is on a distinguished road
(if I suceed),
Yes I will share it.
Paulin
ngj likes this.
pferro 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
[waves2Foam] Combined Wave = Stokes + current Fauster OpenFOAM Community Contributions 7 October 11, 2022 07:16
Virtual wave problem at ship calm water simulation xdo2004 STAR-CCM+ 1 March 20, 2020 23:19
VOF wave getting damped. arun7328 STAR-CCM+ 16 July 8, 2019 15:06
Linear wave force on a cylinder Pumbam CFX 1 July 16, 2017 02:01
[waves2Foam] regular wave generation attenuation yangzhou OpenFOAM Community Contributions 3 June 29, 2017 04:34


All times are GMT -4. The time now is 01:28.