Numerical investigation of the wave force on a partially immersed rectangular structure: Long waves over a flat bottom