← Back to team overview

yade-users team mailing list archive

Re: [Question #235259]: How to count number of interactions

 

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

Jan Stránský proposed the following answer:
For 1000 particle I would expect that the number of interactions would be
higher. Of course it depends on what you simulate. But if the packing is
dense (e.g. particles falling by gravity to an open box) I would expect
that.

What is your goal with the number of interactions? Do you want to track it
during the simulation, or you just want one value at the end of the
simulation?

Jan


2013/9/9 Jan Stránský <question235259@xxxxxxxxxxxxxxxxxxxxx>

> Question #235259 on Yade changed:
> https://answers.launchpad.net/yade/+question/235259
>
> Jan Stránský proposed the following answer:
> Hi Reza,
>
> Yes, it slows down. You can change it by increasing iterPeriod parameter
> (but then you can miss the moment of interaction :-) it depends on what you
> want to achieve..
>
> For your simulation setup, you would have one (or possibly a few)
> interaction at the moment of sphere/facet overlap (veeery short time) and
> no interactions otherwise (most of the simulation). So the result you got
> (no interaction at the end of simulation) is expected. The reason is
> explained above and from this point of view you did not interpret the
> interactionContainer wrong :-)
>
> Do you plan to count interactions for different simulations, or only this
> simple example? Or this simple example is only for testing?
> cheers
> Jan
>
>
>
> 2013/9/9 Reza Housseini <question235259@xxxxxxxxxxxxxxxxxxxxx>
>
> > Question #235259 on Yade changed:
> > https://answers.launchpad.net/yade/+question/235259
> >
> > Reza Housseini posted a new comment:
> > Hi Jan
> >
> > Thanks for the clarification. There's only on problem, this approach is
> > very slow it even slows my simulation with one ball down remarkably.
> > Does anybody know a way to achieve the same with less performance drop?
> >
> > --
> > You received this question notification because you are a member of
> > yade-users, which is an answer contact for Yade.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users
> > Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~yade-users
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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