Text this: Boundary conditions for free surface inlet and outlet problems