Sea and swell in HydroDyn

Hi, I would like to know what would be the best way to simulate a two-peaks wave spectrum in HydroDyn.
I know that the following options are available in the HydroDy.day

  • Irregular (stochastic) waves based on a user-defined frequency spectrum
  • Externally generated wave-elevation time series

I suppose the simplest way is to define a user-defined frequency spectrum, with two-peaks i.e. including a sea and a swell, but how is this done practically? Is there an example somewhere?

Also, woudl it be possible to simulate a sea wave spectrum coming from one direction, and a swell wave spectrum coming from another direction?

I tried to look up for this in the forum, but found nothing relevant.

Thanks

Dear @Maurizio.Collu,

To generate irregular waves with a wave spectrum that includes two peaks, I agree that you could use WaveMod = 4 (user-defined spectrum) or 5 (user-defined wave elevation time series) as you propose. Using WaveMod = 4 will require that you implement in source code the spectrum within SUBROUTINE UserWaveSpctrm(), a template of which is provided in the Waves.f90 source file of HydroDyn, and recompile OpenFAST.

HydroDyn does not currently make it easy to define irregular waves with a wind waves and a swell waves coming from different directions. You could always use WaveMod = 6 (user-defined full wave kinematics), but that is a bit of a pain. OpenFAST v4.0 will include a major upgrade to HydroDyn, including the inclusion of a WaveMod = 7 option (user-defined waves based on frequency components) that will make it easier to define direction-dependent wave data. That said, we should add to the HydroDyn to-do list even easier approaches to define irregular waves with wind waves and a swell waves coming from different directions. Would you like to add a feature request to the OpenFAST issues page (Issues · OpenFAST/openfast · GitHub) requesting this HydroDyn enhancement?

Best regards,

Thanks @Jason.Jonkman , I’ll try and let you know.

I’ve also followed your suggestion and atted the issue in the OpenFAST Github.

Kind Regards

1 Like