Hello everyone,

I have a question that I am sure it’s pretty easy but I have hard time get over it.

I am trying to model a friction model in order to calculate the coefficient of friction. I have a rigid body which moves on top of a plate. In order to calculate the COF I have to divide the horizontal force by normal force. I have the normal force applied to my rigid body and it’s known and fix. In order to calculate the horizontal force, I add the x component of the force on all atoms. However, the results doesnt make any sense.

Is there anyway that I can calculate the COF in LAMPPS itself?

Thank you in advance for your help.