← Back to team overview

yade-users team mailing list archive

Re: [Question #663143]: Grid connections error/bug?

 

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

Bruno Chareyre proposed the following answer:
Here is the list of initial interactions (iteration 0, ),

* for the x-aligned beam:

Yade [1]: for i in O.interactions:
    print i.id1,i.id2,i.phys.normalForce
     ...:     
0 1 Vector3(-1.6741768790441432e-14,-0,-0)
1 2 Vector3(-1.6741768790441432e-14,-0,-0)
2 3 Vector3(-1.6741768790441436e-14,-0,-0)
3 4 Vector3(-1.674176879044143e-14,-0,-0)

* for the y-aligned beam:

0 1 Vector3(-0,-1.6741768790441432e-14,-0)
1 2 Vector3(-0,-1.6741768790441432e-14,-0)
2 3 Vector3(-0,-1.6741768790441436e-14,-0)
3 4 Vector3(-0,-1.674176879044143e-14,-0)
8 7 Vector3(nan,nan,nan)
7 6 Vector3(nan,nan,nan)
6 5 Vector3(nan,nan,nan)

The question is, why do we get these additional interactions only in one case... not sure yet.
Nevertheless, adding Ig2_GridConnection_GridConnection_GridCoGridCoGeom() to the functors solve the problem.

Bruno

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