Seol mar théacs é seo: Boundary conditions for free surface inlet and outlet problems