← Back to team overview

yade-dev team mailing list archive

Re: question about ElasticContactLaw

 

sega a écrit :
> Hello.
> What do doing the code on line 79-83 in ElasticContactLaw::action :
>
> axis =currentContactPhysics->prevNormal.Cross(currentContactGeometry->normal);
> shearForce -= shearForce.Cross(axis);
> angle = 
> dt*0.5*currentContactGeometry->normal.Dot(de1->angularVelocity+de2->angularVelocity);
> axis = angle*currentContactGeometry->normal;
> shearForce -= shearForce.Cross(axis);
>
> Thanks.
>
>   
They rotate current shear force according to contact rotation. So that 
if a pair of grain is subjected to a rigid body rotation (like a 360° 
turn without relative displacement between the grains), the force 
between grains is rotated as well.
Note that the same is done (implicitly) on the normal component, since 
Fn is always colinear with the normal, and the normal rotate with grains.

Bruno




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


-- 
 
_______________
Chareyre Bruno
Maitre de conference

Institut National Polytechnique de Grenoble
Laboratoire 3S (Soils Solids Structures) - bureau E145
BP 53 - 38041, Grenoble cedex 9 - France
Tél : 33 4 56 52 86 21
Fax : 33 4 76 82 70 43
________________

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



References