How to modify the rolling resistance

Asked by Zhicheng Gao on 2021-05-19

I want to generate a dense sand assembly. Considering the particle shape and the residual strength in the triaxial test, I need to set the rolling resistance. But if I want to get a dense sand specimen, I need to set the rolling resistance and friction angle to a very small value first, and in the deviatoric compression process, I need to modify the rolling resistance and friction angle to the calibration value. How to do that? I only know that the friction angle can be modified by setContactFriction.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Zhicheng Gao
Solved:
Last query:
Last reply:
Revision history for this message
Luc Sibille (luc-sibille) said :
#1

Hello,

There is no defaut function as setContactFriction to update rolling friction. You have to do it yourself in the python script by looping on bodies and interactions.

Best,
Luc

Revision history for this message
Zhicheng Gao (zhichenggao) said :
#2

Hello, Luc,whether the following code can modify the rolling resistance
for b in O.bodies:
  b.mat.etaRoll=targetetaRoll

AND

for i in O.interactions:
  i.phys.etaRoll=targetetaRoll

Revision history for this message
Luc Sibille (luc-sibille) said :
#3

Both should be used as the same time:
you have to loop on the contacts to update contact properties of the existing contacts and you have to loop on the bodies to update bodies properties that will be used to define the properties of the contacts that will be created later.

Have a look to the setContactFriction function: it is the same with respect to the friction angle.

Luc

Revision history for this message
Zhicheng Gao (zhichenggao) said :
#4

Thank you for your helpful answers and suggestions,