Re: [Yade-users] [Question #707069]: How to determine if a cohesive link is broken (Law2_ScGeom6D_CohFrictPhys_CohesionMoment)

2023-06-23 Thread Leonard
Question #707069 on Yade changed:
https://answers.launchpad.net/yade/+question/707069

Status: Answered => Solved

Leonard confirmed that the question is solved:
Thanks Robert Caulk, that solved my question.

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #707069]: How to determine if a cohesive link is broken (Law2_ScGeom6D_CohFrictPhys_CohesionMoment)

2023-06-22 Thread Robert Caulk
Question #707069 on Yade changed:
https://answers.launchpad.net/yade/+question/707069

Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

Have you tried:

```
for i in O.interactions:
if hasattr(i.phys, 'cohesionBroken'):
if i.phys.cohesionBroken:
print(f"Interaction {i} is broken")
```

?

-rob

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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #707069]: How to determine if a cohesive link is broken (Law2_ScGeom6D_CohFrictPhys_CohesionMoment)

2023-06-22 Thread Leonard
New question #707069 on Yade:
https://answers.launchpad.net/yade/+question/707069

Hi,

I use cohesive material (CohFrictMat) and the contact law of 
Law2_ScGeom6D_CohFrictPhys_CohesionMoment to introduce cohesive bonds in my DEM 
model.

In the description of Law2_ScGeom6D_CohFrictPhys_CohesionMoment [1], it says 
that if the maximum tensile or maximum shear force is reached and 
CohFrictPhys::fragile =True (default), the cohesive link is broken. I would 
like to ask how to know if a cohesive link is broken or not.

Thanks
Leonard


[1]https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom6D_CohFrictPhys_CohesionMoment


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

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp