CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Verification & Validation

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

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2022, 08:55
Default How to calculate wave height from the power spectral density S(f) ?
New Member
Tarek Hadj Hassen
Join Date: Apr 2022
Posts: 6
Rep Power: 2
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
Tarekhadj is offline   Reply With Quote


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
[IHFOAM] The IHFOAM Thread Phicau OpenFOAM Community Contributions 377 October 28, 2022 16:36
Determination of Wave Height gafopoku FLUENT 0 August 16, 2021 17:39
Power Spectral Density in OF - valication test case Kossivi OpenFOAM Post-Processing 0 June 25, 2020 10:36
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 06:36
How to know the wave height at one point Nicolas FLOW-3D 2 March 31, 2009 21:08

All times are GMT -4. The time now is 14:40.