A nonlinear computational modeling of wave energy converters: A tethered point absorber and a bottom-hinged flap device