Non-hydrostatic modeling of exchange flows across complex geometries