Application of an absorbing boundary condition in a wave-structure interaction problem