← Back to team overview

yade-users team mailing list archive

Re: [Question #657126]: Performing a penetration test

 

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

Bruno Chareyre posted a new comment:
Hi, just a note (we are going off topic...): it is not bad sometimes to
also realize that simple things are also possible; you don't "have to"
use the most advanced yade's features (though arguably  they are very
efficient).

This would track a body position, and it is sometimes also useful (e.g.
for tracking non-scalar quantities):

track=[]
for k in range(10):
    O.run(1,True)
    track.append(O.bodies[3].state.pos)

then you write it to a file, or manipulate it to your liking (see python
doc).

Bruno

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