← Back to team overview

yade-users team mailing list archive

Re: [Question #684492]: Model particles (polyhedra) have moved far from each other from the first

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi,

> they are near each other.

not only they are near each other, they DOES overlap, which generates
repulsive forces and results in "they have moved far from each other"

Try before O.run():
###
O.step()
for i in O.interactions:
   print(i.geom.penetrationVolume)
###

Visually, you can try:
###
for b in O.bodies:
    b.shape.wire = True
    b.shape.color = randomColor()
###
which reveals significant overlaps in the initial geometry

cheers
Jan

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