Question #698585 on Yade changed:
https://answers.launchpad.net/yade/+question/698585

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi!

It seems that you have forgotten about summing the forces from separate facets 
;)
Try this:
##############
force_lp = 0
for n in lower_punch:
        body = O.bodies[n]
        force_lp = force_lp + abs(O.forces.f(body.id)[2])
##############

Best wishes,
Karol

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to