What is non-dynamic body

Asked by Leonard

Hi,

I'd like to ask that what is non-dynamic body? Specifically, is wall non-dynamic in Yade?

I am asking this question because I saw in the triaxial compression example code[1], there is "setContactFriction(radians(finalFricDegree))" to control all the contact friction angle.

And what we usually want is control the particle-particle friction angle, but the particle-wall friction angle remains at zero (to simulate frictionless boundary).

So I checked at [2], and it says "The friction for non-dynamic bodies is not modified."

Thereby I'd like to ask this question.

Thanks
Leonard

[1]https://gitlab.com/yade-dev/trunk/blob/master/examples/triax-tutorial/script-session1.py
[2]https://yade-dev.gitlab.io/trunk/yade.utils.html?highlight=setcontactfriction#yade._utils.setContactFriction

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

Hello,

> I'd like to ask that what is non-dynamic body? Specifically, is wall non-dynamic in Yade?

"Whether this body will be moved by forces" [3]

> So I checked at [2], and it says "The friction for non-dynamic bodies is not modified."

see the source code [4].
In the first cycle, frictionAngle of dynamic bodies is changed.
In the second cycle, friction angle of interactions is set w.r.t. friction angle of bodies.

Note the "if (b->isDynamic()) ..." line
b->isDynamic is defined here [5]

> "The friction for non-dynamic bodies is not modified."

This may be not true, as the changed material may be shared among dynamic and non-dynamic bodies.

Cheers
Jan

[3] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.dynamic
[4] https://gitlab.com/yade-dev/trunk/-/blob/master/preprocessing/dem/Shop_02.cpp#L846
[5] https://gitlab.com/yade-dev/trunk/-/blob/master/core/Body.hpp#L54

Revision history for this message
Leonard (z2521899293) said :
#2

Thanks Jan Stránský, that solved my question.