← Back to team overview

yade-users team mailing list archive

[Question #689555]: translate energy

 

New question #689555 on Yade:
https://answers.launchpad.net/yade/+question/689555

hello,
i wont to plot only translate kinetic energy of particles that why i used :

NewtonIntegrator(damping=0.2,gravity=(0,0,-1), label='newtonIntegr',kinSplit=True), 

#energy kenetic
def plotAddData():
    plot.addData(i=O.iter,e=kineticEnergy()/n,**O.energy)
plot.plots={'i':['e']+O.energy.keys()}
plot.plot()

but i obtain kinetic energy translate+rotation 
so what i must change to have only translate energy?


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