Hydrodynamics of a 2D vessel including internal sloshing flows