Application of the Weis-Fogh mechanism to a ship propulsion system (Analysis based on the two-dimensional potential flow on the opening and closing stages)