Rigid body dynamic response of a floating offshore wind turbine to waves