← Back to team overview

yade-users team mailing list archive

Re: [Question #258651]: mistakes in calculating shearInc

 

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

    Status: Answered => Solved

lingran confirmed that the question is solved:
Thanks Bruno!

The problem of the consistence is because a 'minus sign' was forgotten in my python code.
The results are quite close after the mistake has been fixed. See:

#relativeVelocity = (rbp2->vel-rbp1->vel)*alpha +
rbp2->angVel.cross(-radius2*normal) -
rbp1->angVel.cross(radius1*normal);

relVel=(vel2-vel1)*alpha+np.cross(rb*n,angVel2)-np.cross(ra*n,angVel1)
##getIncidentVel


Best regards.
lingran

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.