Dear Lammp-users,

I want to find the components of stress tensor within a given sampling volume of granular simulation. I used compute stress/atom pair . But this doesn’t work well. since it is giving only stress(yz) .I want to get all the 9 components. I am using equation from silbert’s paper(PHYSICAL REVIEW E 64 051302) . For that i want the position of interacting particles, forces in x,y,z.

The compute pair/local can give resultant distant between the particles(1 value),

But how can i get the position coordinates of interacting particles in x,y,z ?

Compute stress/atom gives 6 components of the stress tensor. Since

the tensor is typically symmetric, that’s all that’s needed.

Steve