← Back to team overview

yade-users team mailing list archive

Re: [Question #659949]: how to calculate the unbalanced force

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
>Is this correct?

No.
(f1 + f2 + f3 + ...) / (contact_f1 + contact_f2 + contact_f3 +...)  is the sum of body forces magnitude divided by the sum of contact forces magnitude.

unbF is average divided by average, which is different as soon as the
number of contacts is not equal to the number of bodies.

>if the applied force is considered when geting the unbalanced force
from utils.unbalancedForce

The calculation of unbF uses O.forces.f(id) so your additional forces
will be included provided that unbf is calculated _after_ applying the
forces (end of the iteration loop typically).

Bruno

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