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

[waves2Foam] combined set of waves with waves2Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2018, 05:40
Default combined set of waves with waves2Foam
  #1
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Dear all,

I am trying to generate a wave packet that resembles a set of component waves as used in a wave tank for the generation of a freak wave. I thought I could use the "waveType combinedWaves;" wave theory in waves2Foam combining waves of the same type with different heights and periods. Actually, the waves in the wave tank are Airy waves, which are not in the set of available wave theories in waves2Foam. Before I delve into programming this wave theory myself into waves2Foam, I just wanted to try this with a set of StokesI waves.

Question: Can the combinedWaves wave theory be used at all with a set of waves of the same type as described above?

The result of my trial can be seen in the attached image. This is of course not what one would expect to see. The fact that puzzles me most is that the waves are decaying. What could be the reason for that? Is the order in the list of wave names relevant?

The waveProperties.input file is attached.

Any hint is very welcomed!

Thank you and best regards,

Pascal.
--
Attached Images
File Type: png setOfWaves.png (15.0 KB, 99 views)
Attached Files
File Type: zip waveProperties.zip (2.2 KB, 71 views)
blaise is offline   Reply With Quote

Old   July 10, 2018, 13:20
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Pascal,

You could try to read the manual about phases for irregular waves. Could be what you need.

Regarding the damping try to (i) gauge the theoretical surface elevation with the sampling tool based on the waveProperties file and (ii) try to refine the grid.

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 11, 2018, 10:09
Default
  #3
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hi Pascal,

You could try to read the manual about phases for irregular waves. Could be what you need.
...
Hello Niels,

well, of course I did read the manual many times beforehand... I didn't understand that I can use the phase focusing on combined waves as well... that would be really nifty... just running a simulation with this...

Quote:
Regarding the damping try to (i) gauge the theoretical surface elevation with the sampling tool based on the waveProperties file and (ii) try to refine the grid.

Kind regards,

Niels
Ok, using the sampleIncidentWaveField tool I get the attached diagram.
The decay does not occur primarily along the wave flume. When we look at e.g. the probe at 3.6m downstream, the damping occurs over time. It looks as if all the single wave components only get generated once, not repeatedly, doesn't it? But then again, there is the probe at 50m, which shows a completely different behaviour. I have no clue how to interpret all this. Any idea?

Thank you again and best regards,

Pascal.
--
Attached Images
File Type: png incidentWaveField.png (14.8 KB, 60 views)
blaise is offline   Reply With Quote

Old   July 11, 2018, 10:30
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Pascal,

No, I meant that you should try e.g. JONSWAP with phase focusing. You can always implement your own spectral shape later.

What you see in the time series is probably some kind of correlation between all wave components. Notice that specifying phi=0 for all components is the same as focusing in x=0 and t=0.

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 12, 2018, 03:15
Default
  #5
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Hi Niels,

I tried the JONSWAP phase focusing before, and it worked well, as far as I can tell.
Thank you for pointing out the effect of having a phase 0; now you say it its perfectly clear.

Thank you and best regards,

Pascal.
--
blaise is offline   Reply With Quote

Old   October 25, 2023, 19:04
Default
  #6
New Member
 
Narayan Kumar
Join Date: Feb 2023
Location: Newark , DE
Posts: 19
Rep Power: 3
Narayan_UD is on a distinguished road
Quote:
Originally Posted by blaise View Post
Hi Niels,

I tried the JONSWAP phase focusing before, and it worked well, as far as I can tell.
Thank you for pointing out the effect of having a phase 0; now you say it its perfectly clear.

Thank you and best regards,

Pascal.
--
Hi all

How can I generate two waves one after another with a time gap of 5 sec?
Narayan_UD is offline   Reply With Quote

Old   October 26, 2023, 10:36
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Narayan,


Please follow these instructions for asking questions: Guide: How to ask a question on the forums


Furthermore, do read the waves2Foam manual as it should provide guidance. If your problem is not covered, you need to do some coding yourself.


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   December 16, 2023, 08:33
Default
  #8
New Member
 
Beige Foods
Join Date: Dec 2023
Posts: 1
Rep Power: 0
BeigeFoods is on a distinguished road
Quote:
Originally Posted by blaise View Post
Hello Niels,

well, of course I did read the manual many times beforehand... I didn't understand that I can use the phase focusing on combined waves as well... that would be really nifty... just running a simulation with this... pickleballsplay


Ok, using the sampleIncidentWaveField tool I get the attached diagram.
The decay does not occur primarily along the wave flume. When we look at e.g. the probe at 3.6m downstream, the damping occurs over time. It looks as if all the single wave components only get generated once, not repeatedly, doesn't it? But then again, there is the probe at 50m, which shows a completely different behaviour. I have no clue how to interpret all this. Any idea?

Thank you again and best regards,

Pascal.
--
Hello Niels,

Thank you for your detailed explanation. It’s interesting to learn about your findings on phase focusing on combined waves and the damping behavior observed in your simulation. The behavior of the probe at 3.6m downstream and at 50m indeed seems puzzling. I’m afraid I don’t have a clear interpretation for this at the moment, but I encourage you to continue exploring and experimenting. Your work is very insightful!

Last edited by BeigeFoods; December 18, 2023 at 07:56.
BeigeFoods is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Where to report (possible) bugs? lakeat Pointwise & Gridgen 3 January 30, 2014 14:18
[ICEM] Question about the use of ICEM tcl scripting lnk ANSYS Meshing & Geometry 9 January 16, 2013 09:24
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 01:40
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04:27


All times are GMT -4. The time now is 08:36.