← Back to team overview

yade-users team mailing list archive

Re: [Question #685502]: cpm model tensile contact breakage

 

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

Jan Stránský proposed the following answer:
Hi,

> If I want to delete the contact after damage is reaching to 0.9999, Is
it okay to change the source code like below ?,

that is one option.
Far easier option is not to touch the source code at all and specify the value in your python script :-)
###
O.engines = [
   ...
      Law2_ScGeom_CpmPhys_Cpm(omegaThreshold=whatever),
   ...
]
###

> That means the contact is deleted?

maybe. Please provide thescript you are using.

cheers
Jan

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