cellDist

Asked by jsonscript

Hello Everybody,

Can you tell me what celldist means, the official document is not clear.

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chareyre (bruno-chareyre-9) said :
#1

Hi, this is an internal variable defining distance between the periods of
two objects.
You can actually ignore it. There is no reason to touch it in simulation
scripts.
Bruno

Le dim. 23 févr. 2020 11:24, yangsiyuan <
<email address hidden>> a écrit :

> New question #688939 on Yade:
> https://answers.launchpad.net/yade/+question/688939
>
> Hello Everybody,
>
> Can you tell me what celldist means, the official document is not clear.
>
> Thanks!
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>
>
>

Revision history for this message
jsonscript (jsonscript) said :
#2

Hello Bruno:

    I face some code and I want to know why the branch vector should subtract "O.cell.hSize*i.cellDist".
    branch=O.bodies[id1].state.pos-O.bodies[id2].state.pos-O.cell.hSize*i.cellDist.
Thanks

Revision history for this message
Jérôme Duriez (jduriez) said :
#3

For each O.bodies[x], you have to imagine an infinity of replicas of that same body that are in one or another period = window (= Cell, kind of).

Looking at two O.bodies[id1], O.bodies[id2], these may be very far apart one another in terms of state.pos and still in contact depending on these replicas.

With cellDist and the above equation in #2 YADE is able to go from the original bodies (possibly very far apart) to the replicas in contact. And to compute a correct branch vector..

Can you help with this problem?

Provide an answer of your own, or ask jsonscript for more information if necessary.

To post a message you must log in.