A Numerical Study of a Damaged Ship in Beam Sea Waves