A numerical tool for modelling oscillating wave surge converter with nonlinear mechanical constraints. (February 2020)