Velocity of Clumps

Asked by Fabio on 2019-07-25

Hello,

how can one inspect clump's velocity? I am currently generating clumps out of several spheres. During the simulation, I want to inspect their center's velocity. This is the part of my script that deals with creating the clumps:

# Create Clumps out of several spheres
polyeder = createPolyeder([heightParticle,widthParticle,deepParticle,rSpheres])

# clump them together
for j in range(amountOfClumps):
 clump.append(O.bodies.appendClumped([sphere([polyeder[i][0],polyeder[i][1],polyeder[i][2]], \
                         material='ID', radius=polyeder[i][3]) for i in range(len(polyeder))])))

How can I inspect their velocity?

Thank you in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-25
Last reply:
2019-07-25
Jan Stránský (honzik) said : #1

Hello,

standardly, i.e.:
body.state.vel # [1]

Please provide a MWE [2] to get more detailed answer.

cheers
Jan

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.vel
[2] https://www.yade-dem.org/wiki/Howtoask

Can you help with this problem?

Provide an answer of your own, or ask Fabio for more information if necessary.

To post a message you must log in.