← Back to team overview

yade-users team mailing list archive

Re: [Question #698585]: Force applied from disk to particle

 

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.