Rapidly varying flows due to levee-breaking