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

    Status: Open => Answered

Chareyre proposed the following answer:
That's because some particles are duplicated in order to mimick periodicity, si 
the two cells are not the same in memory. Why is it a problem?
-------- Message d'origine --------De : Zhicheng Gao 
<[email protected]> Date : 28/05/2021  17:16  (GMT+01:00) À 
: [email protected] Objet : Re: [Yade-users] [Question #697260]: 
are the vertices of the cell
  the center of the sphere Question #697260 on Yade 
changed:https://answers.launchpad.net/yade/+question/697260    Status: Solved 
=> OpenZhicheng Gao is still having a problem:Hello,I have a new problem, The 
code is shown below:.periodic=TrueO.cell.hSize=Matrix3(2,0,0, 0,2,0, 
0,0,2)s0=utils.sphere((0.3,0.3,0.3),radius=0.2)s1=utils.sphere((1,0.3,0.3),radius=0.21)s2=utils.sphere((0.3,1,0.3),radius=0.28)s3=utils.sphere((1,1,0.3),radius=0.21)s4=utils.sphere((0.3,0.3,1),radius=0.21)s5=utils.sphere((1,0.3,1),radius=0.31)s6=utils.sphere((0.3,1,1),radius=0.18)s7=utils.sphere((1,1,1),radius=0.31)s8=utils.sphere((0.5,0.5,0.5),radius=0.3)O.bodies.append(s0)O.bodies.append(s1)O.bodies.append(s2)O.bodies.append(s3)O.bodies.append(s4)O.bodies.append(s5)O.bodies.append(s6)O.bodies.append(s7)O.bodies.append(s8)flow=PeriodicFlowEngine()flow.emulateAction()csdList=flow.getConstrictionsFull()a=csdList[1]b=flow.getVertices(a[0])c=flow.getVertices(a[1])I
 found that the body ids in b and c are the same, but the order is different, 
they are [7, 2, 5, 2] and [5, 2, 7, 2].Why is this happening?-- You received 
this question notification because your team yade-users isan answer contact for 
Yade._______________________________________________Mailing list: 
https://launchpad.net/~yade-usersPost to     : 
[email protected] : 
https://launchpad.net/~yade-usersMore help   : 
https://help.launchpad.net/ListHelp

-- 
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 protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to