Dear Dr.Jason
Thanks for reading my message.
I have some problems with the wavemod4. Here is my question:
I’m trying to consider the modifed Jonswap spectrum in shallow water depth. So i need to multiply the Jonswap spectrum with the TMA factors to consider the shallow water effect. Fisrtly, I just multiply the original Jonswap spectrum with the TMA factors in Hydrodyn source code(waves.f90), and it failed. Is there any exmaple for the use of wavemod4? In your reference mannual, it said that the user-difined spectrum can modifie the waves.f90 source code. Can we redifine other parameters in the source code?
If wavemod4 didn’t work, can we use the inverse Fourier transform to transform the modifed spectrum into time-domin in MATLAB,and then input it into the FAST(use wavemode5)?
Thanks very much! I am looking forward to your reply.
Best regards
Lixian Zhang