Numerical simulation of wave structure interaction using qalefoam