Re: [Yade-users] [Question #690104]: torque

2020-04-23 Thread nobody
Question #690104 on Yade changed: https://answers.launchpad.net/yade/+question/690104 Status: Answered => Open nobody is still having a problem: Hi Jan, why do we need to use this: ret += t + r.cross(f)? why not we use ret += r.cross(f)? thanks Yong -- You received this question

Re: [Yade-users] [Question #690104]: torque

2020-04-23 Thread Jan Stránský
Question #690104 on Yade changed: https://answers.launchpad.net/yade/+question/690104 Status: Open => Answered Jan Stránský proposed the following answer: > as we all know, torque = force*(cross dot) length. so for command(1) we can get the torque, but the definition didn't mention where is

Re: [Yade-users] [Question #690104]: torque

2020-04-23 Thread nobody
Question #690104 on Yade changed: https://answers.launchpad.net/yade/+question/690104 Status: Answered => Open nobody is still having a problem: Hi Jérôme and Jan, sorry for the late reply. for the command used in my code. for instance: ### (1)torque_cal0 = sum(O.forces.t(b)[0] for

Re: [Yade-users] [Question #690111]: Is there a way to generate joints in irregular polyhedra?

2020-04-23 Thread weijie
Question #690111 on Yade changed: https://answers.launchpad.net/yade/+question/690111 Status: Needs information => Open weijie gave more information on the question: Hi Vasileios, and thank you again. >What do you mean when you say "fix" some of the joints? Actually I am completing an

Re: [Yade-users] [Question #690111]: Is there a way to generate joints in irregular polyhedra?

2020-04-23 Thread Vasileios Angelidakis
Question #690111 on Yade changed: https://answers.launchpad.net/yade/+question/690111 Status: Open => Needs information Vasileios Angelidakis requested more information: Hi again, > If I want to modify the source code, which file should I modify? In [1] you can see that we assume the

Re: [Yade-users] [Question #690128]: how to make a spherical polyhedra using Potential Blocks?

2020-04-23 Thread Vasileios Angelidakis
Question #690128 on Yade changed: https://answers.launchpad.net/yade/+question/690128 Status: Open => Answered Vasileios Angelidakis proposed the following answer: Hi Zhiruo, There is no built-in function to do this for the Potential Blocks, but there is one for polyhedra, used in [1]. You

Re: [Yade-users] [Question #689434]: How to generate many polyhedra randomly without specific data in Potential Blocks code?

2020-04-23 Thread Vasileios Angelidakis
Question #689434 on Yade changed: https://answers.launchpad.net/yade/+question/689434 Status: Open => Answered Vasileios Angelidakis proposed the following answer: Hi Jie, Please find below some corrections to your script. You have actually revealed a different bug in the code; many thanks

Re: [Yade-users] [Question #690127]: Missing particles in VTK

2020-04-23 Thread Przemek
Question #690127 on Yade changed: https://answers.launchpad.net/yade/+question/690127 Przemek posted a new comment: Hi Jan, I checked the text file which contents 36 particles and in vtk file 1 particle was missed. For a higher number of particles more of them were missed. I will send the

Re: [Yade-users] [Question #690111]: Is there a way to generate joints in irregular polyhedra?

2020-04-23 Thread weijie
Question #690111 on Yade changed: https://answers.launchpad.net/yade/+question/690111 Status: Answered => Open weijie is still having a problem: Hi Vasileios, and thank you again.

Re: [Yade-users] [Question #690127]: Missing particles in VTK

2020-04-23 Thread Jan Stránský
Question #690127 on Yade changed: https://answers.launchpad.net/yade/+question/690127 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > some particles are missing. How do you know? From the vtk file content, of from Paraview view? If there are "many" (5000 I

Re: [Yade-users] [Question #689434]: How to generate many polyhedra randomly without specific data in Potential Blocks code?

2020-04-23 Thread weijie
Question #689434 on Yade changed: https://answers.launchpad.net/yade/+question/689434 Status: Solved => Open weijie is still having a problem: Hi Vasileios, and thank you again. I have updated the latest trunk and also commented out these three lines, but I found that the orientation of the

Re: [Yade-users] [Question #689995]: Save a simulation and then add a new body into it

2020-04-23 Thread Liu Zhiruo
Question #689995 on Yade changed: https://answers.launchpad.net/yade/+question/689995 Status: Needs information => Solved Liu Zhiruo confirmed that the question is solved: HI, THanks for your suggestion.I have solved my problem. -- You received this question notification because your team

[Yade-users] [Question #690128]: how to make a spherical polyhedra using Potential Blocks?

2020-04-23 Thread Liu Zhiruo
New question #690128 on Yade: https://answers.launchpad.net/yade/+question/690128 Hi, I want to make a spherical polyhedron using Potential Blocks.But I haven't found a good way to get the value of the parameters a,b,c and d.How to solve this? Thanks in advance. -- You received this question

[Yade-users] [Question #690127]: Missing particles in VTK

2020-04-23 Thread Przemek
New question #690127 on Yade: https://answers.launchpad.net/yade/+question/690127 Hi, I've a problem with exporting to VTK formt. After convertion from text file to vtk file some particles are missing. How can I solve this problem? I used this code: export.textExt('test.txt',

[Yade-users] [Question #690122]: Modelling a shearing rigid box for dissipation control

2020-04-23 Thread Stefano Simone
New question #690122 on Yade: https://answers.launchpad.net/yade/+question/690122 Good morning, I'm new to YADE and I'm using it for a part of my master thesis. I want to model a granular damper. In the case study the phases are the following 1) The spheres are inserted in a parallelepiped