← Back to team overview

yade-users team mailing list archive

Re: [Question #672570]: about gridconnection

 

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

xjin gave more information on the question:
Thanks for Jan.
I read some information in 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom6D_CohFrictPhys_CohesionMoment

It give the information:
===============================================================
If the maximum tensile or maximum shear force is reached and CohFrictPhys::fragile =True (default), the cohesive link is broken, and a_n, a_s are set back to zero. If a tensile force is present, the contact is lost, else the shear strength is F_s^{max}=F_n*tan(\phi). If CohFrictPhys::fragile =False, the behaviour is perfectly plastic, and the shear strength is kept constant.
=================================================================
Then I junmp to
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.CohFrictPhys.fragile,

Then in script, I change:
---------------------------------
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False)
--------------------------------
into 
---------------------------------
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False,fragile=False)
--------------------------------
When I run the script, the yade tells me : Ip2_CohFrictMat_CohFrictMat_CohFrictPhysfragile=False,setCohesionNow=True,setCohesionOnNewContacts=False)
AttributeError: No such attribute: fragile.


Would  you give me advice how to set fragile=False? 
Thanks a lot.

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