Dear LAMMPS community,
I am adding a new plastic contact model to the GRANULAR package. In the real world, granules in contact produce plastic deformation and still leave residual deformation delta_r after separation, and the problem I’m having in developing the new model is related to this.
I used LAMMPS to simulate the process of contact-separation-recontact of two granules, the first contact was normal, the distance between the centers of mass of the two granules during separation exceeded the sum of the radii, and on the second contact LAMMPS seemed to clear the variable ‘history’ (similar to the variable in the TangentialMindlin source code) that I had left behind in the plastic contact source code. That is, the variable saved in the first contact do not work in the second contact. This problem causes the second contact to ignore delta_r.
Does anyone have any ideas, I can’t seem to modify force cutoff to make LAMMPS think there is only one contact the whole time.
Thank you very much for your time.