Cavitation implosion loads from energy balance considerations in numerical flow simulations