← Back to team overview

yade-users team mailing list archive

[Question #700815]: access individual energy contribution from each particle

 

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

Dear all,

Is there a way to access the specific energy contribution from each particle? or a group of particles?

something like:

#######################
for b in O.bodies:
        if isinstance(b.shape,Sphere):
            pos = b.state.pos
            radius = b.shape.radius
            plasticEnergy = O.energy.keys()+[''nonviscDamp''] ... (?) # here I want o access the particle b contribution to the 'nonviscDamp''
#######################
Thank you for your help!

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