← Back to team overview

yade-users team mailing list archive

Re: [Question #289705]: Minimal cohesive simulation

 

Question #289705 on Yade changed:
https://answers.launchpad.net/yade/+question/289705

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

Basically your script just lacks setCohesionNow=True in
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(). Just change for
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True)

The defaut behavior (your current script) is not to define any cohesive interaction.. See 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.setCohesionNow and
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.setCohesionOnNewContacts
(both false by defaut)

Note that the behavior of your script once corrected might still be
tricky to interpret from the 3D view. Depending on velocity, time step,
normal stifness, normal strength and so on, the lower sphere may be
dragged for few iterations, bounce back in the upper sphere, and go away
towards lower z until the interaction is broken (and you would only see
the two spheres going apart)

Jerome

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.