An unsteady model for free surface flows around hydrofoils