Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-15 Thread Bruno Chareyre
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Bruno Chareyre proposed the following answer:
 Another curiosity question : may walls sometimes be periodic, or never
?

If you meant Box instead of Wall, they can be periodic in theory, but
practically it is not possible currently. The problems are we don't have
Box-Box interactions and a poor handling of Box-Sphere in arbitrary
cases.

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-15 Thread jduriez
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Status: Answered = Solved

jduriez confirmed that the question is solved:
Thanks Kneib François, that solved my question.

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-15 Thread jduriez
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

jduriez posted a new comment:
All is clear, thanks everyone !

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-14 Thread jduriez
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Status: Answered = Open

jduriez is still having a problem:
Ok, I think oversizing the cell will be ok for me, thanks François !

On the other hand, I did not catch how the first trick you mentionned
(with the non-diagonal terms) may help to not consider periodicity on
some surfaces ? And if it may apply to a parallelepiped that is
rectangular (I did not mention this)

Another curiosity question : may walls sometimes be periodic, or never ?

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-14 Thread Jan Stránský
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Status: Open = Answered

Jan Stránský proposed the following answer:
Hi Jerome,


 Another curiosity question : may walls sometimes be periodic, or never ?


walls are periodic by their nature (inifinite dimension). However, I am
not sure how they would work with skewed periodic cell..
cheers
Jan

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-14 Thread Kneib François
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Kneib François posted a new comment:
Hi,

I tought you needed a periodic box with a special shape, and that using walls 
was a workaroud to obtain that. But if you actually want to have 2 non periodic 
axes the solution you chose is the right one.
Just to remind, the cell have to be oversized a little in the non-periodic 
directions, and the wall have to be oversize regarding the maximal sphere 
distance flown through the periodic direction.

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


Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-13 Thread Kneib François
Question #242137 on Yade changed:
https://answers.launchpad.net/yade/+question/242137

Status: Open = Answered

Kneib François proposed the following answer:
Hi,

It is possible to generate a parallelepipedic cell by introducing non-
diagonal terms in O.cell.hSize :

Example :
O.cell.hSize=Matrix3(1.,1.,0.,1.,1.,1.,0.,1.,1.)

If you don't want to do that, you can make a rectangular cell oversized
in the  non-periodic directions. Then add some very large walls or boxes
to contain spheres for this two directions. The trick is to set the
allowBiggerThanPeriod=1 flag into the collider :

Example :
InsertionSortCollider(
[Bo1_Box_Aabb(),
Bo1_Sphere_Aabb()],
allowBiggerThanPeriod=True,
verletDist=0.)

So it's a weird concept : walls will be non-periodic but spheres will.
That's the reason why you will need to oversize walls, if your spheres
travel through N perdiod in the periodic direction, the walls size must
be at least N*period_size.

François

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