← Back to team overview

yade-users team mailing list archive

Re: [Question #689153]: no interactions for JCFpMat() under JCFpmPhys() engines

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> no interations were generated

please provide a way how you obtained this.

I tested your code and have ~6000 interactions.
print(len([i for i in O.interactions]))

unbalancedForce() is nan, because it is computed as "ratio of ... force on bodies and mean force magnitude on interactions." [1].
However, the interaction forces are all zero (thus their mean, too) and nan is result of zero division, not not generated interactions...

cheers
Jan

[1] https://yade-dem.org/doc/yade.utils.html#yade._utils.unbalancedForce

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