← Back to team overview

yade-users team mailing list archive

Re: [Question #630281]: randomDensePack explodes because of penetrationDepth

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Tina,
you need O.step() before setting unp:

###################
O.dt = 0
O.step() # here
for i in O.interactions:
    i.phys.unp = i.geom.penetrationDepth
O.dt=0.3e-7
###################

cheers
Jan

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