← Back to team overview

yade-users team mailing list archive

Re: How to reset a body's velocity?

 

  > p.s. I'm sending a modified NewtonsDampedLaw attached to this mail,
> previousVel is still in the code but its overwritten with
> body->velocity.

Its in fact body->vel which is overwritten with previousVel.
Thus, at iteration N, body->vel represents the velocity at time 
N*dt+dt/2 (and in contact laws, body->vel*dt is the displacement on the 
interval [t, t+dt]).

Bruno

> Could you guys please test it and confirm that it works
> well in your simulations?




_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users



References