How to get the acceleration of body

Asked by Leonard

Hi

I'd like to ask that how to get the acceleration of body in yade? The acceleration I ask here is referring to F=ma.

It seems that I can gain the acceleration by F/m, where F is the resultant force which can be gained by O.forces.f(b.id), and m is the mass of the body.

I just wonder is there any built-in functions that I can get the acceleration?

Thanks!
Leonard

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

Hi,

There is no such built-in function, as far as I know. Remember when applying your trick that actual acceleration will be
(1+/- NewtonIntegrator.damping) F/m

Revision history for this message
Leonard (z2521899293) said :
#2

Thanks Jérôme Duriez, that solved my question.