Re: [Yade-users] [Question #295158]: Can we create a rigid body using only particles, rather than importing a gts surface.
Question #295158 on Yade changed: https://answers.launchpad.net/yade/+question/295158 Status: Answered => Open A Dinesh is still having a problem: A ball made up of spheres, bouncing in a box, which is also made of spheres. Bullet made up of spheres hitting a concrete wall composed of spheres. On Sat, 11 Jun 2016 at 3:13 AM, Jérôme Duriez < question295...@answers.launchpad.net> wrote: > Your question #295158 on Yade changed: > https://answers.launchpad.net/yade/+question/295158 > > Jérôme Duriez requested more information: > What kind of specific examples do you have in mind ? > > -- > To answer this request for more information, you can either reply to > this email or enter your reply at the following page: > https://answers.launchpad.net/yade/+question/295158 > > You received this question notification because you asked the 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 #293295]: Want to connect all the particles in an aggregate using cohesive bond
Question #293295 on Yade changed: https://answers.launchpad.net/yade/+question/293295 VG posted a new comment: Regarding the above solution, it should be i.phys.unp = i.geom.penetrationDepth instead of i.phys.unp = 0 #to make it initially force free -- 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 #295035]: Use of i.phys.unp to get null forces initially
Question #295035 on Yade changed: https://answers.launchpad.net/yade/+question/295035 Status: Answered => Solved VG confirmed that the question is solved: Thanks Bruno, I will also post a comment in the other post if someone else follows this. -- 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 #295158]: Can we create a rigid body using only particles, rather than importing a gts surface.
Question #295158 on Yade changed: https://answers.launchpad.net/yade/+question/295158 Jérôme Duriez requested more information: What kind of specific examples do you have in mind ? -- 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 #295170]: Problem with MatchMaker
Question #295170 on Yade changed: https://answers.launchpad.net/yade/+question/295170 Description changed to: Hi everybody! I'm using YADE to simulate an impact between two body with differents material's properties. Untill few days ago my code worked perfectly. Now it gives me the following problem: terminate called after throwing an instance of 'std::invalid_argument' what(): MatchMaker: no match for (1,0), and values required for algo computation 'avg' not specified. Aborted (core dumped) The code is: # Material mli=FrictMat(density=643,frictionAngle=0.1489,label="MLI") mat1=O.materials.append(mli) gravel=FrictMat(density=1700,frictionAngle=0.9188,label="gravel") mat2=O.materials.append(gravel) # Ground s=ymport.textExt('rest',format='x_y_z_r') sphere=O.bodies.append(s) print len(O.bodies) # Create a vector o spheres to eliminate those that have COG above the container for i in O.bodies: if isinstance(i.shape,Sphere): print i.state.mass if i.state.pos[2]>.4: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): if i.state.pos[2]<0: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): x=i.state.pos[0] y=i.state.pos[1] r=m.sqrt(x**2+y**2) if r>.75: O.bodies.erase(i.id) print len(O.bodies) # Cylinder h=.4 c=geom.facetCylinder((0,0,.2),radius=.75,height=h,segmentsNumber=100,wallMask=6,material="gravel") O.bodies.append(c) p=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="MLI",wire=False) # Engines O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Polyhedra_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Sphere_Polyhedra_ScGeom()], [Ip2_FrictMat_FrictMat_MindlinPhys(en=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),es=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),krot=3)], [Law2_ScGeom_MindlinPhys_Mindlin(includeMoment=True)] ), NewtonIntegrator(gravity=(0,0,-2.5e-4),damping=0.0) ] O.trackEnergy=True O.dt=.5*PWaveTimeStep() I use yadedaily on Ubuntu 14.04 LTS server. But on my PC with the same versione of yade and Ubuntu 14 it works normally. Cheers, Jonathan -- 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 #295170]: Problem with MatchMaker
New question #295170 on Yade: https://answers.launchpad.net/yade/+question/295170 Hi everybody! I'm using YADE to simulate an impact between two body with differents material's properties. Untill few days ago my code worked perfectly. Now it gives me the following problem: terminate called after throwing an instance of 'std::invalid_argument' what(): MatchMaker: no match for (1,0), and values required for algo computation 'avg' not specified. Aborted (core dumped) The code is: # Material mli=FrictMat(density=643,frictionAngle=0.1489,label="MLI") mat1=O.materials.append(mli) gravel=FrictMat(density=1700,frictionAngle=0.9188,label="gravel") mat2=O.materials.append(gravel) # Ground s=ymport.textExt('rest',format='x_y_z_r') sphere=O.bodies.append(s) print len(O.bodies) # Create a vector o spheres to eliminate those that have COG above the container for i in O.bodies: if isinstance(i.shape,Sphere): print i.state.mass if i.state.pos[2]>.4: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): if i.state.pos[2]<0: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): x=i.state.pos[0] y=i.state.pos[1] r=m.sqrt(x**2+y**2) if r>.75: O.bodies.erase(i.id) print len(O.bodies) # Cylinder h=.4 c=geom.facetCylinder((0,0,.2),radius=.75,height=h,segmentsNumber=100,wallMask=6,material="gravel") O.bodies.append(c) p=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="MLI",wire=False) # Engines O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Polyhedra_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Sphere_Polyhedra_ScGeom()], [Ip2_FrictMat_FrictMat_MindlinPhys(en=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),es=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),krot=3)], [Law2_ScGeom_MindlinPhys_Mindlin(includeMoment=True)] ), NewtonIntegrator(gravity=(0,0,-2.5e-4),damping=0.0) ] O.trackEnergy=True O.dt=.5*PWaveTimeStep() I use yadedaily on Ubuntu 14.04 LTS server. But on my PC with the same versione of yade and Ubuntu 14 it works normally. Cheers, Jonathan -- You received this question notification because your team yade-users is an answer contact for Yade.
[Yade-users] [Question #295169]: Problem with MatchMaker
New question #295169 on Yade: https://answers.launchpad.net/yade/+question/295169 Hi everybody! I'm using YADE to simulate an impact between two body with differents material's properties. Untill few days ago my code worked perfectly. Now it gives me the following problem: terminate called after throwing an instance of 'std::invalid_argument' what(): MatchMaker: no match for (1,0), and values required for algo computation 'avg' not specified. Aborted (core dumped) The code is: # Material mli=FrictMat(density=643,frictionAngle=0.1489,label="MLI") mat1=O.materials.append(mli) gravel=FrictMat(density=1700,frictionAngle=0.9188,label="gravel") mat2=O.materials.append(gravel) # Ground s=ymport.textExt('rest',format='x_y_z_r') sphere=O.bodies.append(s) print len(O.bodies) # Create a vector o spheres to eliminate those that have COG above the container for i in O.bodies: if isinstance(i.shape,Sphere): print i.state.mass if i.state.pos[2]>.4: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): if i.state.pos[2]<0: O.bodies.erase(i.id) for i in O.bodies: if isinstance(i.shape,Sphere): x=i.state.pos[0] y=i.state.pos[1] r=m.sqrt(x**2+y**2) if r>.75: O.bodies.erase(i.id) print len(O.bodies) # Cylinder h=.4 c=geom.facetCylinder((0,0,.2),radius=.75,height=h,segmentsNumber=100,wallMask=6,material="gravel") O.bodies.append(c) p=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="MLI",wire=False) # Engines O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Polyhedra_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Sphere_Polyhedra_ScGeom()], [Ip2_FrictMat_FrictMat_MindlinPhys(en=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),es=MatchMaker(matches=((mat1,mat2,.6),(mat2,mat2,.55))),krot=3)], [Law2_ScGeom_MindlinPhys_Mindlin(includeMoment=True)] ), NewtonIntegrator(gravity=(0,0,-2.5e-4),damping=0.0) ] O.trackEnergy=True O.dt=.5*PWaveTimeStep() I use yadedaily on Ubuntu 14.04 LTS server. Cheers, Jonathan -- 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 :
Re: [Yade-users] [Question #295158]: Can we create a rigid body using only particles, rather than importing a gts surface.
Question #295158 on Yade changed: https://answers.launchpad.net/yade/+question/295158 A Dinesh posted a new comment: Thank you sir, Actually my concern is, in almost every example of yade, every rigid body is modelled only with surfaces. Can we redo all those examples using only particles. Do we get efficient results doing so. What are the challenges in doing so? -- 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 #295158]: Can we create a rigid body using only particles, rather than importing a gts surface.
Question #295158 on Yade changed: https://answers.launchpad.net/yade/+question/295158 Status: Open => Answered Jérôme Duriez proposed the following answer: As said in the US: yes, we can. You can play with the dynamic attribute [1] of spherical particles so that they won't move, and assemble them in the shape of your rigid body (that will not move in addition to be rigid) Also, you can use clumps that are rigid particles made of distinct particles. The clumps as a whole can move. Search for "clumps" in the documentation (see [2] for a very first example) and the examples. In case I did not really answer your question, please try to be more specific. Jerome [1]: https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.dynamic [2]: https://yade-dem.org/doc/yade.wrapper.html?highlight=clump#yade.wrapper.BodyContainer.addToClump -- 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 #295158]: Can we create a rigid body using only particles, rather than importing a gts surface.
New question #295158 on Yade: https://answers.launchpad.net/yade/+question/295158 I am implementing Discrete element method using pure python. Here I would like to know whether we can create bodies only with particles rather than facets or planes. Because I want to model my complete simulation using particles. If some software did this then kindly refer me to such. If any paer describes this then kindly refer such a paper. Thank you. -- 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