← Back to team overview

yade-users team mailing list archive

About utils.forcesOnPlane

 

Hello,

I'm considering the code in py/_utils.cpp for the function forcesOnPlane, and i have few questions :

- I'm guessing that there is an hidden convention of sign below the orientation of the returned vector. Does this returned sum of forces correspond to forces acting from one side of the plane to the other (one "block" to the other) ? If yes (as I assume it), from which block to which one ? (with respect to the normal defined in the call of the function ?)

- And, if still yes to the first question, I imagine that it depends on the convention assumed by the author of this code for NormShearPhys->normalForce and NormShearPhys->shearForce : are these vectors considered from body 1 to body 2 or the contrary ? I'm aware of https://bugs.launchpad.net/yade/+bug/493102, but I think that the guy who wrote this made a choice (Vaclav ?)

Thanks,

Jerome

--
Jérôme Duriez
ATER Polytech' Grenoble - Laboratoire 3S-R
04.56.52.86.49 (ne pas laisser de messages sur le répondeur)




Follow ups