Models of erosion analysis for brittle and ductile materials,