← Back to team overview

yade-users team mailing list archive

Re: [Question #688345]: Precrack

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
>  I noticed that the nodes are still bonded

How did you notice it, and what do you call exactly a "bond" ?

If a "bond" is a cohesive interaction (with eg a tensile threshold),
Robert's answer should most probably do the trick.

If you call a "bond" any kind of interaction, whatever its local strength properties, then what you want is to delete interaction, probably.
O.interactions.erase(), see [*], might help, though a thorough understanding of YADE interaction logic would help for proper use.


PS: GUI inspector is great. Python functions such that O.interactions.has or O.interactions.withBody are even better ! See [*]

[*] https://yade-dem.org/doc/yade.wrapper.html#interactioncontainer
[**] https://yade-dem.org/doc/user.html#creating-interactions, at least

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