yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17426
Re: [Question #669982]: Export interaction data
Question #669982 on Yade changed:
https://answers.launchpad.net/yade/+question/669982
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
next time please use "Ask a question" button at [1].
Also please read [2].
example:
###
for b in O.bodies:
print "Body",b.id
print " displ",b.state.displ()
print " vel ",b.state.vel
for i in b.intrs():
print " Intr with",i.id2 if i.id1 == b.id else i.id1
print " cp",i.geom.contactPoint
print " f ",i.phys.normalForce+i.phys.shearForce
###
cheers
Jan
@Colin, thanks for moving
[1] https://launchpad.net/yade
[2] https://yade-dem.org/wiki/Howtoask
--
You received this question notification because your team yade-users is
an answer contact for Yade.