← Back to team overview

yade-users team mailing list archive

Re: [Question #271097]: Cohesive model description in Yade

 

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

    Status: Open => Answered

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

1) how Yade knows what type of contact should be created?


According to defined functors in InteractionLoop, see [1,2]

2) Does Yade create cohesive contact every time when 2 particles meet or
> not?


It depends on used Ip2 and Law2. So the answer is No, it does not
create cohesive contact every time when 2 particles meet

3) If it creates cohesive contact every time...


exactly because of it does not create cohesive contacts every time, only
when asked (as you mentioned yourself).

4) Does something like that exist in CpmMat?  Because when i used CpmMat in
> my program i don't set similar parameters, just "neverDamage = true"

But still what is the mechanism of cohesive contacts in CpmMat.  Are they
> created at each step or just once?


In Cpm there is Ip2_CpmMat_CpmMat_CpmPhys.cohesiveThresholdIter [3]. If a
contact is created and O.iter <= cohesiveThresholdIter, the contact is
cohesive. It is non-cohesive otherwise

cheers
Jan

[1] https://yade-dem.org/doc/user.html#functors-choice
[2] https://yade-dem.org/doc/introduction.html#dispatchers-and-functors
[3]
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_CpmMat_CpmMat_CpmPhys.cohesiveThresholdIter

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