Direction of the force in pair/gran/local command

Submitted by naren on Fri, 03/04/2016 - 12:52

Hello all,

I am calculating the pair wise contact forces using the compute pair/gran/local command.

If my output of the simulation is : id1 id2 fx fy fz

then, what is the direction of the force between particles of id1 and id2? Is it towards id1's (particles one) centre or id2's (particle two) centre?

I understand fx, fy and fz are the x, y and z components of the force between the particles.

Can someone please help me with this?

Best,

Naren

NTT1508 | Tue, 03/15/2016 - 08:38

I can guess those force components using the global scale such that the positive value indicates the positive direction of the component. e.g., fx=5 means the vector has a positive direction