Re: [Yade-users] [Question #696528]: How to generate a hollow cuboid in Yade?
Question #696528 on Yade changed: https://answers.launchpad.net/yade/+question/696528 Status: Answered => Solved Xue confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users 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 #696528]: How to generate a hollow cuboid in Yade?
Question #696528 on Yade changed: https://answers.launchpad.net/yade/+question/696528 Jan Stránský posted a new comment: sorry, I wrote about cylinder.. but the meaning is independent of actual shape (cylinder / cuboid) :-) Jan -- You received this question notification because your team yade-users 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 #696528]: How to generate a hollow cuboid in Yade?
Question #696528 on Yade changed: https://answers.launchpad.net/yade/+question/696528 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > Can I do it through the boolean operation between polyhedra? no: - polyhedrons in Yade are convex - no boolean operations are implemented anyway If you need the cylinder to be dynamic, you can clump several polyhedrons / boxes / facets / pfacets / whatever shapes to form desired hollow cylinder and set desired dynamic properties (mass, inertia). If the cylinder is just fixed boundary, you can simply made if from fixed facets (or any other fixed shapes). cheers Jan -- You received this question notification because your team yade-users 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 #696528]: How to generate a hollow cuboid in Yade?
New question #696528 on Yade: https://answers.launchpad.net/yade/+question/696528 Hi everyone, I am trying to generate a hollow cuboid in yade, how should I achieve it? Can I do it through the boolean operation between polyhedra? The purpose of generating this hollow cuboid is for filling particles inside and outside of the cuboid and compacting them, then I will replace the hollow cuboid with a finite element unit for subsequent coupling calculation. kind regards, Xue -- You received this question notification because your team yade-users 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 #696480]: PFacet model - contact data mining
Question #696480 on Yade changed: https://answers.launchpad.net/yade/+question/696480 Paul Pircher gave more information on the question: Since I just had a look at more positions: It seems like that only the contact of the sphere at the position of a gridconnection at the edge of the cuboid is an issue. Depending from what direction the sphere penetrates the cuboid I either get zero or three interactions. At any other position on the cuboid (somewhere in the middle of a side of the cuboid or even at the corner) I receive the expected 1 interaction. I am still clueless about that edge contact though. With zero interactions I don't know where my wanted data is stored (e.g. penetration depth). With 3 interactions I don't know what interaction is the "right" one or how those multiple but similar contacts are handled. As always: The contact behaviour according to position and velocity of the sphere works perfectly fine at every location. Cheers! -- You received this question notification because your team yade-users 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 #696480]: PFacet model - contact data mining
Question #696480 on Yade changed: https://answers.launchpad.net/yade/+question/696480 Status: Answered => Open Paul Pircher is still having a problem: Hi and thanks for your input! I know how I am supposed to receive parameters of interactions. In my case, as can be seen in the code in the "PyRunner Function" - section, I am using len( O.bodies[idSphere].intrs() ) to count the number of interactions (which should return the number of all interactions with the sphere). Furthermore I am extracting the phys-norm-force from the first interaction with the sphere via O.bodies[idSphere].intrs()[0].phys.normalForce.norm(). Same method for the penetrationDepth. I also had a look at O.forces.f(idSphere)[2] to obtain the force on the sphere in Z-direction with a different method. However, the problem that I am facing in this particular example with PFacets is, that using this approach does NOT provide correct data that are in accordance with the visual observations. NO INTERACTION can be found in here. Which is why I do not receive a penetrationDepth parameter. Since I am using the same approach and functions as you mentioned, I assume that I the data mining itself would be correct, but my data is found somewhere else. And I don't know where. Since the observation of position and velocity does show correct behaviour, somewhere the contact has to be computed. Although there seems to be no interaction for that. I hope that this is understandable. > I do not see one that would properly fit YADE design. Alright, thank you. This is also what I concluded. Seems like I am going to have a look at the pfacet source code in order to know what I need to adapt or add to obtain the behaviour of a different contact model. Since the pfacet approach works fine for me so far (except that data mining issue mentioned above) I think, that only few adaptations need to be done to change the physical computations of the contact itself. Thanks! -- You received this question notification because your team yade-users 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 #696480]: PFacet model - contact data mining
Question #696480 on Yade changed: https://answers.launchpad.net/yade/+question/696480 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi > How can I correctly mine the contact parameters like penetration depth, force on the sphere and number of interactions for my penetration tests? for cont being some contact interaction (eg cont = O.interactions[0,1]) with a ScGeom geom, cont.geom.penetrationDepth would give you penetration depth. Resultant force on a bodie with id i are obtained through O.forces.f(i) and number of (real) interaction is O.interactions.countReal() See also https://yade-dem.org/doc/tutorial-data-mining.html and the rest of the doc (User s manual and Class Reference) ;-) > Since it will be needed in the future: If there is an "easy" way (only changing python code, not c++ source code) to change the contact law I do not see one that would properly fit YADE design. DEM operations in YADE are executed from the C++ side, through C++ source of Engines and LawFunctors, for instance. Python is "just" for designing and interrogating what's going on, and that is already something marvelous. You could still always rewrite all DEM operations in pure Python but that would be slower. -- You received this question notification because your team yade-users 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 #696480]: PFacet model - contact data mining
Question #696480 on Yade changed: https://answers.launchpad.net/yade/+question/696480 Paul Pircher posted a new comment: I assume that this is just spam, but I find nothing to report it. Hopefully that message will get attention .Cheers. -- You received this question notification because your team yade-users 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