← Back to team overview

yade-users team mailing list archive

Re: [Question #251328]: work done by each contact using the viscoelastic model

 

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

    Status: Open => Answered

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

Doing, in a PyRunner, something like ? (be carefull about the order !)

currentPD = i.geom.PD
PDincrement = currentPD - previous PD
previousPD = i.geomPD

;-)

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