Re: [Yade-users] [Question #239989]: Change wall's size in the middle of simulation
Question #239989 on Yade changed: https://answers.launchpad.net/yade/+question/239989 Status: Answered => Open Nguyen N.G. Hien is still having a problem: Thanks Jan Stránský, I use yade 1.00. And yes it's utils.aabbWalls, my fault. By mentioning "manually", I assume you meant modifying the XML file (the saved model)? -- 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 #239989]: Change wall's size in the middle of simulation
Question #239989 on Yade changed: https://answers.launchpad.net/yade/+question/239989 Status: Open => Answered Jan Stránský proposed the following answer: Hello Nguyen, I meant either modify the XML file, or you can load the file into Yade and modify it there, something like: wall1 = O.bodies[someIndex] wall1.shape.pos = Vector3(x,y,z) # also for other 5 walls returned by aabbWalls function cheers Jan 2013/12/2 Nguyen N.G. Hien > Question #239989 on Yade changed: > https://answers.launchpad.net/yade/+question/239989 > > Status: Answered => Open > > Nguyen N.G. Hien is still having a problem: > Thanks Jan Stránský, > I use yade 1.00. > And yes it's utils.aabbWalls, my fault. > By mentioning "manually", I assume you meant modifying the XML file (the > saved model)? > > -- > 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
Re: [Yade-users] [Question #239989]: Change wall's size in the middle of simulation
Question #239989 on Yade changed: https://answers.launchpad.net/yade/+question/239989 Status: Answered => Solved Nguyen N.G. Hien confirmed that the question is solved: Thank you it's clearer now, but for shape.pos, it's the position, what I wish to change is the size fo the wall. I figured out I can change the overSize via Graphic Interface (yay!) by: Inspect --> Bodies --> Shapes --> Extents. So python code would be (according to your naming) wall1.shape.extents=Vector3(x,y,z) Great thanks Mr Jan Stránský. -- 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 #239989]: Change wall's size in the middle of simulation
Question #239989 on Yade changed: https://answers.launchpad.net/yade/+question/239989 Jan Stránský posted a new comment: Hello Nguyen, sorry, I misunderstand the documentation, the function does not return walls (as I assumed) but boxes, and for them you can do exactly what you wrote in your last email :-) cheers Jan 2013/12/2 Nguyen N.G. Hien > Question #239989 on Yade changed: > https://answers.launchpad.net/yade/+question/239989 > > Status: Answered => Solved > > Nguyen N.G. Hien confirmed that the question is solved: > Thank you it's clearer now, but for shape.pos, it's the position, what I > wish to change is the size fo the wall. > > I figured out I can change the overSize via Graphic Interface (yay!) by: > Inspect --> Bodies --> Shapes --> Extents. > So python code would be (according to your naming) > wall1.shape.extents=Vector3(x,y,z) > Great thanks Mr Jan Stránský. > > -- > 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 #240164]: error when importing scipy.integrate
New question #240164 on Yade: https://answers.launchpad.net/yade/+question/240164 Hi, when you start yade and type >> from scipy import integrate yade will crash, why is that? Alex -- 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 #240164]: error when importing scipy.integrate
Question #240164 on Yade changed: https://answers.launchpad.net/yade/+question/240164 Status: Open => Answered Anton Gladky proposed the following answer: https://bugs.launchpad.net/yade/+bug/1183402 Stiil unresolved. 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 #240164]: error when importing scipy.integrate
Question #240164 on Yade changed: https://answers.launchpad.net/yade/+question/240164 Raphaël Maurin proposed the following answer: Hi, It is kind of solved (see the discussion of the bug), you can run your script typing yade -lscipy yourScript.py and it should work. Raphael -- 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 #240167]: FuncG in ConcretePM.cpp
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Description changed to: Hi everyone, This question is a bit particular because only Vaclav Smilauer or a person familiar with the code can answer. I was comparing the model described in Smilauer's Thesis [1] to the code ConcretePM.cpp [2], in line 158 I read that funcG returns: 1.-(epsCrackOnset/kappaD)*exp(-(kappaD-epsCrackOnset)/epsFracture) Or, in the Thesis, page 38 I read that funcG is: 1.-(epsFracture/kappa)*exp(-(kappa-epsCrackOnset)/epsFracture) knowing that kappaD = max (epsilonN) and epsFracture=30*epsCrackOnset , I'm a bit confused here. Any explanation would be welcome Thanks ! [1] http://beta.arcig.cz/~eudoxos/smilauer2010-phd-thesis.pdf [2] https://github.com/hbenniou/trunk/blob/master/pkg/dem/ConcretePM.cpp -- 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 #240167]: FuncG in ConcretePM.cpp
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Description changed to: Hi everyone, This question is a bit particular because only Vaclav Smilauer or a person familiar with the code can answer. I was comparing the model described in Smilauer's Thesis [1] to the code ConcretePM.cpp [2], in line 158 I read that funcG returns: 1.-(epsCrackOnset/kappaD)*exp(-(kappaD-epsCrackOnset)/epsFracture) Or, in the Thesis, page 38 I read that funcG is: 1.-(epsFracture/kappa)*exp(-(kappa-epsCrackOnset)/epsFracture) knowing that kappaD = max (epsilonN), I'm a bit confused here. Any explanation would be welcome Thanks ! [1] http://beta.arcig.cz/~eudoxos/smilauer2010-phd-thesis.pdf [2] https://github.com/hbenniou/trunk/blob/master/pkg/dem/ConcretePM.cpp -- 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 #240167]: FuncG in ConcretePM.cpp
New question #240167 on Yade: https://answers.launchpad.net/yade/+question/240167 Hi everyone, This question is a bit particular because only Vaclav Smilauer or a person familiar with the code can answer. I was comparing the model described in Smilauer's Thesis [1] to the code ConcretePM.cpp [2], in line 158 I read that funcG returns: 1.-(epsCrackOnset/kappaD)*exp(-(kappaD-epsCrackOnset)/epsFracture) Or, in the Thesis, page 38 I read that funcG is: 1.-(epsFracture/kappa)*exp(-(kappa-epsCrackOnset)/epsFracture) knowing that kappaD = max (epsilonN), I'm a bit confused here. Any explanation would be welcome 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 #240167]: FuncG in ConcretePM.cpp
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Status: Open => Answered Jan Stránský proposed the following answer: Hello Hicham, when kappa==epsCrackOnset (eps_0), the damage should be 0, so there is a misprint in the thesis and the code is correct. cheers Jan 2013/12/2 Hicham BENNIOU > Question #240167 on Yade changed: > https://answers.launchpad.net/yade/+question/240167 > > Description changed to: > Hi everyone, > > This question is a bit particular because only Vaclav Smilauer or a person > familiar with the code can answer. > I was comparing the model described in Smilauer's Thesis [1] to the code > ConcretePM.cpp [2], in line 158 I read that funcG returns: > > 1.-(epsCrackOnset/kappaD)*exp(-(kappaD-epsCrackOnset)/epsFracture) > > Or, in the Thesis, page 38 I read that funcG is: > > 1.-(epsFracture/kappa)*exp(-(kappa-epsCrackOnset)/epsFracture) > > knowing that kappaD = max (epsilonN) and epsFracture=30*epsCrackOnset , > I'm a bit confused here. > > Any explanation would be welcome > > Thanks ! > > [1] http://beta.arcig.cz/~eudoxos/smilauer2010-phd-thesis.pdf > [2] https://github.com/hbenniou/trunk/blob/master/pkg/dem/ConcretePM.cpp > > -- > 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
Re: [Yade-users] [Question #240167]: FuncG in ConcretePM.cpp
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Status: Answered => Solved Hicham BENNIOU 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