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

    Status: Open => Answered

Robert Caulk proposed the following answer:
I noticed you added your script to the original post. Thank you, I
assume you will want to add something like:

srFactor = 1.

def reduceStrength():
    srFactor *= 0.9
    for cont in O.interactions: 
      cont.phys.FnMax *= 0.9 
      cont.phys.FsMax *= 0.9 

O.engines=O.engines+[PyRunner(iterPeriod=1000,command='reduceStrength()',label='strength
reduction')]

and instead of jcfpmlaw.nbTensileCracks, change it to
interactionLaw.nbTensileCracks

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to