Introducing a wide distribution of the value of a parameter in a contact law

Asked by Rioual on 2019-11-22

Hello,

I would like to use the cohesive contact law Law2_ScGeom6D_CohFrictPhys_CohesionMoment between the particles of
my packing but I would like to introduce a wide given stochastic distribution of the value of the adhesion, tensile strength and shear strength in the model, which are among the parameters of the contact law. How can I handle that ??

Best regards,

V.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Robert Caulk
Solved:
2019-11-25
Last query:
2019-11-25
Last reply:
2019-11-22
Best Robert Caulk (rcaulk) said : #1

You can achieve this by looping on interaction physics and modifying the values of interest [1]. Maybe it is obvious, but worth noting that you need to do this *after* the interaction is created in yade.

for i in O.interactions:
    i.phys.normalAdhesion = randomlyDistributedVariable

It is also worth mentioning that JCFpmPhys (a type of cohesive model) already has this functionality for a weibull distribution of contact strengths [2].

Cheers,

Robert

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.CohFrictPhys
[2]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_JCFpmMat_JCFpmMat_JCFpmPhys.xSectionWeibullShapeParameter

Rioual (francois-rioual-v) said : #2

Thanks Robert Caulk, that solved my question.