Question #298001 on Yade changed:
https://answers.launchpad.net/yade/+question/298001
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Hello,
No, Ip2_FrictMat_FrictMat_MindlinPhys(kn=myValueKn, ks=myValueKs) would not
work since Ip2_FrictMat_FrictMat_MindlinPhys does not have such attributes "kn"
and "ks", see the doc [1].
In fact, I think none of the IPhysFunctor (see the complete list in [2])
proposes such attributes.
What is possible though, is to access directly the kn and ks of interactions,
and modify them as you wish
for cont in O.interactions:
cont.phys.kn = myValueKn # see corresponding attribute [3]
cont.phys.ks = myValueKs # see [4]
With such method however, future contacts will have properties defined
by their materials and the chosen Ip2, and thus most probably distinct
from myValueKn / myValueKs.
Maybe you could find a workaround using "MatchMaker" (search for it
through the doc and previous questions, I am personally not used to it)
Jerome
[1]
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_FrictMat_FrictMat_MindlinPhys
[2] https://yade-dem.org/doc/yade.wrapper.html#iphysfunctor
[3] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.NormShearPhys.kn
[4] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.NormShearPhys.ks
--
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