Calculation of stress tensor

Submitted by Sounik on Fri, 11/23/2018 - 22:09

Hi,

I was trying to calculate the six-component from the stress tensor using fix ave/euler command. The dump looks like this for two cells:

SCALARS pressure float 1
LOOKUP_TABLE default
18.087371
14.514210
-0.000000
-0.000000
-0.000000
-0.000000
17.008131
10.089578
-0.000000
-0.000000
-0.000000
-0.000000

As ave/euler gives the trace of the stress tensor, how can I calculate the Stress tensor with six components?

Thanks,
Sounik

zumack | Sun, 11/25/2018 - 19:03

Did you try compute stress/atom command?

I think that could compute 6 components of stress tensor.