[Yade-users] [Question #197411]: on yade0.80

2012-05-16 Thread wangxiaoliang
New question #197411 on Yade:
https://answers.launchpad.net/yade/+question/197411

hi all

   I have installed yade 0.80, and met the following errors

   1) run simple code, reads can't import name log

   2) run O.load(XXX.xml)  reads stream error

   what's wrong?

thanks

-- 
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


[Yade-users] [Question #197412]: data structure of interactions

2012-05-16 Thread wangxiaoliang
New question #197412 on Yade:
https://answers.launchpad.net/yade/+question/197412

hi all

   as I want to know the force and interaction distribution, I look into the 
class interactions


   handbook tells me there are geom id1 id2 isReal iterMadeReal and phys 
attributes, without telling me the structure of geom and phys

   so what is the detail structure of geom and phys in interaction

thanks

-- 
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 #197411]: on yade0.80

2012-05-16 Thread Christian Jakob
Question #197411 on Yade changed:
https://answers.launchpad.net/yade/+question/197411

Status: Open = Answered

Christian Jakob proposed the following answer:
did you write O.load(XXX.xml) or O.load('XXX.xml') ?
;)

-- 
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 #197411]: on yade0.80

2012-05-16 Thread Anton Gladky
Question #197411 on Yade changed:
https://answers.launchpad.net/yade/+question/197411

Anton Gladky proposed the following answer:
Hello,

   1) run simple code, reads can't import name log

The log-module has been removed from yade [1],

   2) run O.load(XXX.xml)  reads stream error

No idea. Does it work with older versions?

[1] https://lists.launchpad.net/yade-users/msg05831.html

Anton

-- 
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 #197412]: data structure of interactions

2012-05-16 Thread Jan Stránský
Question #197412 on Yade changed:
https://answers.launchpad.net/yade/+question/197412

Status: Open = Answered

Jan Stránský proposed the following answer:
Hello,

phys and geom attributes are documented right below Interaction, in IGeom
and IPhys section.

Jan
Dne 16.5.2012 8:32 wangxiaoliang question197...@answers.launchpad.net
napsal(a):

 New question #197412 on Yade:
 https://answers.launchpad.net/yade/+question/197412

 hi all

   as I want to know the force and interaction distribution, I look into
 the class interactions


   handbook tells me there are geom id1 id2 isReal iterMadeReal and phys
 attributes, without telling me the structure of geom and phys

   so what is the detail structure of geom and phys in interaction

 thanks

 --
 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


-- 
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


[Yade-users] [Question #197438]: No interactions after erasing body

2012-05-16 Thread Mark S. Bentley
New question #197438 on Yade:
https://answers.launchpad.net/yade/+question/197438

Hi all,

I've got a fairly simple script to build some ballistic aggregates which I will 
use in later simulations. I basically started with a seed particle at the 
origin, which has dynamic=False and then create particles and fire them 
randomly towards the aggregate. When contact is detected 
(O.interactions.countReal() increases in my collision checking callback) I 
freeze that particle (setting dynamic = False) and create a new one.

This basically works OK. But I have to check for particles that miss the 
aggregate. So in my collision checking callback, if there has been no increase 
in interactions, and if I am far from the seed particle, I erase the particle 
with O.bodies.erase.

This is where things seem to behave unexpectedly. I erase the particle, and a 
few timesteps later create a new one. This takes the same ID as the deleted 
one. But now, no interactions are ever detected - even when the particles pass 
through each other! Does O.bodies.erase not do what I think it does? 

Any suggestions welcome!

Thanks, Mark

-- 
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 #197438]: No interactions after erasing body

2012-05-16 Thread Mark S. Bentley
Question #197438 on Yade changed:
https://answers.launchpad.net/yade/+question/197438

Mark S. Bentley gave more information on the question:
OK, I've just discovered that when I create a new particle (using
O.bodies.append) *after* having erased a previous particle, the bound
seems to be uninitialised, which I guess explains why no collisions are
detected...

Can anyone tell me why this is the case, and how I should get around it?
All other bodies correctly have Aabb instances, but the particle created
after I first erase one has uninitialised (other properties look OK,
though)...

-- 
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 #197412]: data structure of interactions

2012-05-16 Thread wangxiaoliang
Question #197412 on Yade changed:
https://answers.launchpad.net/yade/+question/197412

Status: Answered = Solved

wangxiaoliang confirmed that the question is solved:
Thanks Jan Stránský, 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 #197438]: No interactions after erasing body

2012-05-16 Thread Anton Gladky
Question #197438 on Yade changed:
https://answers.launchpad.net/yade/+question/197438

Status: Open = Answered

Anton Gladky proposed the following answer:
It would be good to see a simple test-script, which demonstrates the
problem.

Anton

-- 
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


[Yade-users] [Question #197489]: regarding clumps from randomdensepack

2012-05-16 Thread Nishith Agarwal
New question #197489 on Yade:
https://answers.launchpad.net/yade/+question/197489

hi

I am trying to study mixing of solid particles. I am trying to use the 
randomdensepack command to  generate a packing of spheres and then use it as a 
clump of spheres.  Can anyone tell me how to use define a clump of spheres 
using the packing generated because i have tried many things but am always 
getting some error.

Thank you

-- 
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 #197489]: regarding clumps from randomdensepack

2012-05-16 Thread Anton Gladky
Question #197489 on Yade changed:
https://answers.launchpad.net/yade/+question/197489

Status: Open = Answered

Anton Gladky proposed the following answer:
Hi,

what error do you have? Please, provide a problem test-script.

Anton

-- 
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 #197489]: regarding clumps from randomdensepack

2012-05-16 Thread Jan Stránský
Question #197489 on Yade changed:
https://answers.launchpad.net/yade/+question/197489

Jan Stránský proposed the following answer:
Hello,

could you please provide us with a simple script and obtained errors?
Thanks
Jan
Dne 16.5.2012 23:25 Nishith Agarwal question197...@answers.launchpad.net
napsal(a):

 New question #197489 on Yade:
 https://answers.launchpad.net/yade/+question/197489

 hi

 I am trying to study mixing of solid particles. I am trying to use the
 randomdensepack command to  generate a packing of spheres and then use it
 as a clump of spheres.  Can anyone tell me how to use define a clump of
 spheres using the packing generated because i have tried many things but am
 always getting some error.

 Thank you

 --
 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


-- 
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


[Yade-users] [Question #197520]: RandomDensePack and spheres ejections

2012-05-16 Thread anna effeindzourou
New question #197520 on Yade:
https://answers.launchpad.net/yade/+question/197520

Hi all,
I generate a sphere packing using randomdensepacking in a box opened on the 
top. I just apply gravity. But even if I use a small time step (1e-8) and a 
high damping (0.9) some spheres are ejected. The spheres are in CohFrictMat.
I don't understand why.
Could you please help me?
If you don’t understand my question, please don’t hesitate to let me know.
 
 
Cheers,
Anna

-- 
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 #197520]: RandomDensePack and spheres ejections

2012-05-16 Thread Jan Stránský
Question #197520 on Yade changed:
https://answers.launchpad.net/yade/+question/197520

Status: Open = Answered

Jan Stránský proposed the following answer:
Hello Anna,

a short script producing the error is always useful :-) could you please
provide us with some?
Thanks
Jan
Dne 17.5.2012 3:03 anna effeindzourou 
question197...@answers.launchpad.net napsal(a):

 New question #197520 on Yade:
 https://answers.launchpad.net/yade/+question/197520

 Hi all,
 I generate a sphere packing using randomdensepacking in a box opened on
 the top. I just apply gravity. But even if I use a small time step (1e-8)
 and a high damping (0.9) some spheres are ejected. The spheres are in
 CohFrictMat.
 I don't understand why.
 Could you please help me?
 If you don’t understand my question, please don’t hesitate to let me know.


 Cheers,
 Anna

 --
 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


-- 
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