How to output the magnitude of the contact force?

Submitted by wangxiukai on Sat, 12/04/2021 - 08:25

As we know, the following code can get the component of the contact force:

compute 1 all pair/gran/local force

but, how to get the magnitude of the contact force?

Thank you for your help.