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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Mahdeyeh,

try to check the model in another way than visually. Check whether there are 
any bodies in the simulation
###
len(O.bodies)>0
###

or whether your simulation didn't explode. For example, if dimensions of the 
current simulation aren't excessively high 
###
aabbDim()
###

If so, you can try to remove particles that are further than an expected
radius and refresh the view.

###
maxDist = 1
for b in O.bodies:
    if b.state.pos.norm()>maxDist:
        O.bodies.erase(b.id)
###

Best wishes,
Karol

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to