Dynamics of partial cavitation in an axisymmetric converging-diverging nozzle