← Back to team overview

yade-users team mailing list archive

A change in Law2_ScGeom_FrictPhys_CundallStrack, possibly affecting torques on wall/box/facet

 

Hello all,

In revision 2590, Law2_ScGeom_FrictPhys_CundallStrack has a new attribute : bool
sphericalBodies.
If true (default), the law is executed without calls to Body::byId() (faster).

Be advised that this default behaviour will give wrong torques on most non-spherical
bodies. If you use facets, walls, boxes, and if you need accurate torques on them (because
they are dynamic or because you really want to evaluate applied torques), you should turn
this flag false.
Torques on spheres are still correct in all cases.

Cheers.

Bruno

-- 
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________