Effect of magnetic field on characteristics of divertor plasma and divertor erosion rate: PIC simulation