Example of IG wave generation with two wave componentsΒΆ

alternate text
  1. Prepare four files containing wave parameters of two wave components

  • SPC_dep_pf.txt: contains depth and peak frequency

13.0 - depth
0.1  - peak frequency
  • SPC_frq.txt: contains frequency components

0.09
0.11
  • SPC_angle.txt: contains wave angle (single angle)

0.0
  • SPC_HMO.txt: contains Hmo of wave components (note: not amplitude)

1.4142
1.4142

Note: 1.4142 is Hmo for a wave amplitude of 0.5m
  1. Run matlab script IG_wave_generation.m

    output file: spectrum_two_components.txt will be used in input.txt

  2. Modify input.txt

WAVEMAKER = LEFT_BC_IRR
WAVE_DATA_TYPE=DATA
WaveCompFile = spectrum_two_components.tx
DEP_WK = 13.0