Flow and deformation failure of sandy slopes