Free-surface hydraulics