← Back to team overview

yade-users team mailing list archive

Re: [Question #256364]: Non-touching interactions not being recognized as real, despite interactionDetectionFactor > 1

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,
There are two problems in your script. 
The first problem is completely unrelated to non-touching particles. It is a wrong usage of O.run(). That is why we need to see complete script. Always.

This means "start a timestep and start counting interactions" in parallel:
   O.run(1)
   count interactions

Obvisously if running one timestep is not a lot faster (and it is not)
than counting interactions the result is junk.

You need to first run an iteration, then count:
   O.run(1,True)
   count interactions

The other problem is the tensile strength you define is less than the
tensile force generated by the distant interactions. Make
normalCohesion=1e20 and you will find 258 interactions with the above
script. You can change the tensile strength of existing
interactions/materials later (i.e. after iteration 1).

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.