A mathematical model for bank erosion in rotational failure machanism