A Pressure-Based Algorithm for Cavitating Flow Computations