Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

A confusion about the code of wave Spectrum in NWT #30

Open
zuiwohuaqian opened this issue Sep 9, 2022 · 1 comment
Open

A confusion about the code of wave Spectrum in NWT #30

zuiwohuaqian opened this issue Sep 9, 2022 · 1 comment

Comments

@zuiwohuaqian
Copy link

zuiwohuaqian commented Sep 9, 2022

Hello Guillaume,
Recently I read the codes of wave spectrum in https://github.com/LHEEA/HOS-NWT/blob/master/sources/main/initial_condition.f90#L261,I have some confusions.

  1. For JONSWAP spectrum, compared with JONSWAP equation, the source code missed a parameter alpha
  2. For Bretchneider spectrum, the source code missed Hs.

Why does there exist difference?

Reference:
https://www.orcina.com/webhelp/OrcaFlex/Content/html/Waves,Wavespectra.htm
Sincerely,
huaqian

@gducrozet
Copy link
Member

Hello Huaqian,

After the specification of the wave spectrum shape that you have found, there is an iterative procedure to impose exactly the target significant wave height. This iterative procedure is adjusting the amplitude of the spectrum accordingly. This is preferred to the only use of the analytical formula to have a better control of the significant wave height.

Best,
Guillaume

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants