CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Verification & Validation

How to calculate wave height from the power spectral density S(f) ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2022, 07:55
Default How to calculate wave height from the power spectral density S(f) ?
  #1
New Member
 
Tarek Hadj Hassen
Join Date: Apr 2022
Posts: 6
Rep Power: 4
Tarekhadj is on a distinguished road
Dear Foamer,

I have a question about simulating a 2D irregular wave system by using olaflow. The wave are calculated under the Stokes I theory.



my model (Hs=4.3m, Ts=12s, JONSWAP spectrum, gamma = 3.3)



The question is how to obtain the wave height H[m] from the S(f)[mēs] spectral density function.


In order to put them in the waveDict file.
Then I will compare the results of free surface elevation between the numerical one the analytical one.



Here, eta(x,t) = sum(H/2 * cos(k*x-2*pi*f*t + phi)) , the free surface of the analytical one.

phi is randomly distributed between [-pi , pi]

Best regards
Tarek
Tarekhadj 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] The IHFOAM Thread Phicau OpenFOAM Community Contributions 392 September 8, 2023 18:10
Determination of Wave Height gafopoku FLUENT 0 August 16, 2021 16:39
Power Spectral Density in OF - valication test case Kossivi OpenFOAM Post-Processing 0 June 25, 2020 09:36
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 05:36
How to know the wave height at one point Nicolas FLOW-3D 2 March 31, 2009 20:08


All times are GMT -4. The time now is 19:20.