← Back to team overview

yade-users team mailing list archive

Re: [Question #428040]: How to use SRM method in order to promote failure in YADE?

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

The method is exactly the same as for any other modification of existing
interaction parameters in YADE.

The corresponding interaction physics parameters are here FnMax [1] and
FsMax [2]. If you want to reduce YADE-computed values of these
parameters for existing interactions, you have to perform a "manual"
loop:

for cont in O.interactions:
  cont.phys.FnMax *= 0.9 # or any other value you would like
  cont.phys.FsMax *= 0.9  # see Python basics for "*=" meaning

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.JCFpmPhys.FnMax
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.JCFpmPhys.FsMax

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