yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18963
Re: [Question #678425]: kenetic Energy of particles
Question #678425 on Yade changed:
https://answers.launchpad.net/yade/+question/678425
Status: Answered => Open
hafsa is still having a problem:
hi Jan ,
i tried like you said but there's no plot
#energy kenetic
O.trackEnergy=True
def plotAddData():
n = len([b for b in O.bodies if isinstance(b.shape,Sphere)])
e = kineticEnergy()
plot.addData(i=O.iter,eAvg = e/n)
plot.plots={'time':('energy')}
plot.plot()
--
You received this question notification because your team yade-users is
an answer contact for Yade.