Cavitating Flow Simulations Based on the Bubble Dynamics