Hydrodynamic analysis of a heaving wave energy converter