|
[Sponsors] |
[waves2Foam] combined set of waves with waves2Foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2018, 05:40 |
combined set of waves with waves2Foam
|
#1 |
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
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. -- |
|
July 10, 2018, 13:20 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
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. |
|
July 11, 2018, 10:09 |
|
#3 | ||
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
Quote:
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:
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. -- |
|||
July 11, 2018, 10:30 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
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. |
|
July 12, 2018, 03:15 |
|
#5 |
Member
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17 |
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. -- |
|
October 25, 2023, 19:04 |
|
#6 | |
New Member
Narayan Kumar
Join Date: Feb 2023
Location: Newark , DE
Posts: 19
Rep Power: 3 |
Quote:
How can I generate two waves one after another with a time gap of 5 sec? |
||
October 26, 2023, 10:36 |
|
#7 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
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. |
|
December 16, 2023, 08:33 |
|
#8 | |
New Member
Beige Foods
Join Date: Dec 2023
Posts: 1
Rep Power: 0 |
Quote:
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. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |