How to determine the maximum contact force
I've a question about computing the maximum contact force
I know I can get the pair-force with
compute 2 all pair/gran/local force
But How to calculate the magnitude ?
(I tried variable fmag atom sqrt(c_2[1]^2+c_2[2]^2+c_2[3]^2) but got ERROR: Mismatched compute in variable formula)
Next problem is how to find the maximum of fmag, I tried
variable fmax equal max(fmag)
but got "ERROR: Invalid special function in variable formula"
Forums:
- Read more about How to determine the maximum contact force
- 2 comments
- Log in or register to post comments