← Back to team overview

yade-users team mailing list archive

Re: Length of interactions

 

> there is a function evaluating initial (reference) length of interactions
> 
> for i in O.interactions: refLength=i.geom.refLength
> 
> Is there any similar function to compute actual length of interactions, for example after several steps of compression?

That depends on the InteractionGeometry you use.

Dem3DofGeom has (recently) added
https://yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.Dem3DofGeom.displacementN
which is relative to refLenght. For ScGeom,
https://yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.ScGeom.penetrationDepth gives you the current displacement, but with the sign inversed (positive for penetration, i.e. compression).

Cheers, Vaclav




References