A study of cavitation erosion of cast iron