A rock material biaxial compression test simulation based on the contact constitutive model for brittle rocks is built in this paper by the aid of particle flow code in two dimensions, which is on the basis of parameter sensitivity analysis and analysis by inversion to get the microscopic model parameters. Furthermore, a rock sample with intermittent single joint containing different angle is established on the basis of adaptability, which analyzed new crack initiation in the process of rock in compression, extension, damage and the crack under different joint angle to carry out the whole proc...