← Back to team overview

yade-users team mailing list archive

Re: [Question #197661]: on modify interactionLoop

 

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

Luc Scholtès proposed the following answer:
I would say that Anton is right, you need to change contact properties
for every existing interactions cause changing bodies properties won't
be effective for existing interactions (interactions are not updated),
only new interactions will benefit from the new bodies properties.

so you should do something like

for b in O.bodies:
  b.mat.frictionAngle=radians(simulationFrictDeg)

AND

for i in O.interactions:
  i.phys.frictionAngle=radians(simulationFrictDeg)

Luc

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.