It's me again :) Thanks for your answer of theta.
This time I got a question about spectrum wave input.
I tried to input a single sinewave using Irregularwave.txt on a boundary, which is 4 meters high (Amplitude 2 m), then I found the wave amplitude on the boundary nodes are 1.5m in output.
I'm wondering if you could give me some suggetions or solutions about this problem. Other parameters I think might affect:
epsilon = 5e-4
Theta = 2
correctionStepsNum = 1
timestep = 0.01
grid resolution = 2 (meters)
widthNum (of the input boundary) = 1
wave: 2(amplitude) 10(period) -1.57(direction) 0(phase) (the wave length is about 100 m on the boundary)
I'll appreciate for any hints or comments!