← Back to team overview

yade-users team mailing list archive

Re: [Question #680397]: Kn and Ks value for Hertz-Mindilin model

 

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

Robert Caulk proposed the following answer:
You reference the physics of a single interaction, those values are
computed inside Yade. Now that I think about it, you could let Yade
compute those values and then overwrite them by looping through all
interactions. From what I can see in the source, you will only need to
do this once anytime new interactions are created.

for i in O.interactions:
    i.phys.kn = 10
    i.phys.ks = 5

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