Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-30 Thread rhaven
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

rhaven confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

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


Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-30 Thread rhaven
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

Status: Answered => Solved

rhaven confirmed that the question is solved:
Hi Jan,
thanks, that works perfect!

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


Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-30 Thread Jan Stránský
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Jesse,
yes, periodicity might be the reason, but it is difficult to say without the 
code. Try
for b O.bodies:
   b.state.pos = O.cell.wrapPt(b.state.pos)
before saving

Back to Bruno's answer, I see no problem there. If you first generate
loose packing of spheres, then you can replace each sphere by any
(smaller) shape and will get loose packing of whatever (elongated
cuboids, ellipsoids...).

cheers
Jan

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


Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-30 Thread rhaven
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

rhaven gave more information on the question:
Hello,
Ive made small progress with method 2 and creating the clumps which I will 
later use with makeClumpCloud, 
I generate a small aggregate using makeCloud. The result looks like
http://pasteall.org/pic/index.php?id=115961
I then generate a clump from these spheres and export.

However when I import the geometry again it looks like this
http://pasteall.org/pic/index.php?id=115962

Is this occurring due to periodicity? 
How might I generate a small aggregate?

thank you in advance
Jesse

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


Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-29 Thread rhaven
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

Status: Answered => Open

rhaven is still having a problem:
thank you Bruno for your reply.  this would work if I only wanted cubes,
but I need to generate elongated cuboids, not only cubes. Ellipses would
also work.

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


Re: [Yade-users] [Question #635935]: creating a cloud of cuboids

2017-05-29 Thread Bruno Chareyre
Question #635935 on Yade changed:
https://answers.launchpad.net/yade/+question/635935

Status: Open => Answered

Bruno Chareyre proposed the following answer:
>Is there a way to create a loose packing of cuboids?

Yes. Create a loose packing of spheres with makeCloud, then replace the spheres 
by their inscribed cubes. They will be non-overlapping by definition.
Bruno

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