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

2021-09-11 Thread Mithushan Soundaranathan
Question #698585 on Yade changed: https://answers.launchpad.net/yade/+question/698585 Status: Answered => Solved Mithushan Soundaranathan confirmed that the question is solved: Hi Both, Thank you very much, it was very helpful for me. Best, Mithu -- You received this question notification

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

2021-09-01 Thread Jan Stránský
Question #698585 on Yade changed: https://answers.launchpad.net/yade/+question/698585 Jan Stránský posted a new comment: or, in a "more pythonic" way: force_lp = sum(abs(O.forces.f(n)[2]) for n in lower_punch) Also, is the abs necessary? Should not.. Cheers Jan -- You received this question n

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

2021-09-01 Thread Karol Brzezinski
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

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

2021-08-31 Thread Mithushan Soundaranathan
Question #698585 on Yade changed: https://answers.launchpad.net/yade/+question/698585 Description changed to: Hi, I compacting spheres in cylinder, have wall as upper punch and a disk as lower punch. How do I calculate the force from disk applied on the particles. For the walls I calculate the a

[Yade-users] [Question #698585]: Force applied from disk to particle

2021-08-31 Thread Mithushan Soundaranathan
New question #698585 on Yade: https://answers.launchpad.net/yade/+question/698585 Hi, I compacting spheres in cylinder, have wall as upper punch and a disk as lower punch. How do I calculate the force from disk applied on the particles. For the walls I calculate as abs(O.forces.f(UP.id)[2]) Fo