← Back to team overview

yade-users team mailing list archive

[Question #218026]: Why there is a difference beteween unTrue and unPerso in the normalInelasticity-test.py?

 

New question #218026 on Yade:
https://answers.launchpad.net/yade/+question/218026

Dear everyone,
In the normalInelasticity-test.py,
i=O.interactions[1,0]
unTrue=i.geom.penetrationDepth
vecDist=upperSphere.state.pos-lowerSphere.state.pos
unPerso=lowerSphere.shape.radius+upperSphere.shape.radius-vecDist.norm()
I think unTrue and unPerso have the same meaning and have the same value. But I calculated the difference between them and found they were not the same. 

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