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

2020-04-22 Thread Vasileios Angelidakis
Question #689434 on Yade changed: https://answers.launchpad.net/yade/+question/689434 Vasileios Angelidakis posted a new comment: Hi again, > I found that the direction of the transformed polyhedron is different from the original polyhedron. This is now fixed in the latest trunk, where you can

Re: [Yade-users] [Question #690066]: Using O.forces along normal and tangential directions at contact

2020-04-22 Thread Rioual
Question #690066 on Yade changed: https://answers.launchpad.net/yade/+question/690066 Rioual posted a new comment: Thanks Jan, that was great ! best wishes V. -- You received this question notification because your team yade-users is an answer contact for Yade.

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

2020-04-22 Thread Vasileios Angelidakis
Question #690111 on Yade changed: https://answers.launchpad.net/yade/+question/690111 Status: Open => Answered Vasileios Angelidakis proposed the following answer: Hi Jie, Currently, the code only supports a hexahedron as an initial geometry but it shouldn't be too difficult to modify the

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

2020-04-22 Thread weijie
New question #690111 on Yade: https://answers.launchpad.net/yade/+question/690111 Dear all, I am studying in the example of Potential Blocks function WedgeYADE.py, and I found that the generation of joints is done by cutting the hexahedron. If it is an irregular polyhedron, Is there a way to

Re: [Yade-users] [Question #690020]: Rolling friction coefficient in Hertz-Mindlin contact law

2020-04-22 Thread Chien-Cheng Hung
Question #690020 on Yade changed: https://answers.launchpad.net/yade/+question/690020 Status: Answered => Solved Chien-Cheng Hung confirmed that the question is solved: Thanks Jérôme Duriez, that solved my question. -- You received this question notification because your team yade-users is

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

2020-04-22 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: > friction_force_cal = sum(O.forces.f(b) for b in cylinderIDS) > torque_cal = sum(O.forces.t(b) for b in cylinderIDS) python sum takes

Re: [Yade-users] [Question #689870]: How to generate a specific joint in BlockGen() function?

2020-04-22 Thread weijie
Question #689870 on Yade changed: https://answers.launchpad.net/yade/+question/689870 Status: Answered => Solved weijie confirmed that the question is solved: Thanks Vasileios Angelidakis, that solved my question. -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #690066]: Using O.forces along normal and tangential directions at contact

2020-04-22 Thread Jan Stránský
Question #690066 on Yade changed: https://answers.launchpad.net/yade/+question/690066 Jan Stránský posted a new comment: Concerning O.forces, there are a few tricky points: - the force should be opposite on both bodies - addF/setPermF (depending on Yade version) overwrites existing values, one

Re: [Yade-users] [Question #690066]: Using O.forces along normal and tangential directions at contact

2020-04-22 Thread Rioual
Question #690066 on Yade changed: https://answers.launchpad.net/yade/+question/690066 Status: Answered => Open Rioual is still having a problem: Hello jan, This becomes very clean now, thanks. -What is the problem in doing addF for both bodies ? You propose me to open a New

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

2020-04-22 Thread Jérôme Duriez
Question #690104 on Yade changed: https://answers.launchpad.net/yade/+question/690104 Jérôme Duriez posted a new comment: I'm not really familiar to sumTorques() (or your code), but it seems strange to me to compare torques that are computed in different points. -- You received this question

Re: [Yade-users] [Question #690010]: how to find the facet-sphere contact

2020-04-22 Thread nobody
Question #690010 on Yade changed: https://answers.launchpad.net/yade/+question/690010 nobody posted a new comment: Hi Jan, I test the ids of the facets and spheres, the results show that i.id1 are set to facet. because if I set: if isinstance(O.bodies[i.id1].shape,Facet) and