  A penalization method for a suitable reformulation of the governing equations
as a constrained optimization problem provides accurate numerical simulations
for large-amplitude travelling water waves in irrotational flows and in flows
with constant vorticity.
