Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Christian Sommerfeld
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Christian Sommerfeld posted a new comment: Thank you for your fast answer, yes i declared a phyton binding like the phyton binding for cylinder: py::class_inCylinder,py::basesPredicate

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Chareyre
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Chareyre proposed the following answer: For the error, you should double check names, make sure you run the version you just compiled, etc. There must be a small mistake somewhere. For the another command part.

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Christian Sommerfeld
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Christian Sommerfeld posted a new comment: Is it possible, that i can not create new code because i use yade-daily? Or is there a command, which i have to type inside the terminal to compile the new code? i took

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Chareyre
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Chareyre proposed the following answer: If you don't compile it cannot work... How did you obtain the source code files you are modifying? Check this: https://www.yade-dem.org/doc/installation.html#source-code

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Christian Sommerfeld
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Christian Sommerfeld posted a new comment: Now i am a little bit confused because i read: If you prefer to use the newest yade version and you do not hack the code, yade-daily is the best choice for you.

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Christian Sommerfeld
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Christian Sommerfeld posted a new comment: i followed the installation advice and downloaded all prerequisites. Afterwards i wrote into the terminal: sudo apt-get install scons freeglut3-dev libloki-dev \

Re: [Yade-users] [Question #188032]: looking for the InCylinder folder

2012-03-06 Thread Chareyre
Question #188032 on Yade changed: https://answers.launchpad.net/yade/+question/188032 Chareyre proposed the following answer: If you prefer to use the newest yade version and you do not hack the code You ARE hacking the code. You need to read the source code paragraph that I linked above. --

[Yade-users] [Question #189897]: TriaxialCompressionEngine : particles packing with desired porosity

2012-03-06 Thread Ali Naseri
New question #189897 on Yade: https://answers.launchpad.net/yade/+question/189897 Hi I 'm writing a code to create packing with overlaps and a desired porosity but not sure which compression engine is suitable for my purpose, Below is the code : sp=pack.SpherePack()

[Yade-users] [Question #189913]: get porosity of a packing

2012-03-06 Thread ceguo
New question #189913 on Yade: https://answers.launchpad.net/yade/+question/189913 Hi, The problem seems trivial but when I try using `utils.porosity` I can only get something like Boost.Python.function object at The documentation says it should return a float. Besides, as I am using the

Re: [Yade-users] [Question #189913]: get porosity of a packing

2012-03-06 Thread Luc Scholtès
Question #189913 on Yade changed: https://answers.launchpad.net/yade/+question/189913 Status: Open = Answered Luc Scholtès proposed the following answer: Hi Ceguo, Try utils.porosity(X), with X the volume of your assembly and it should work. 2012/3/7 ceguo