[Yade-users] [Question #696912]: granular collapses (deposition)
New question #696912 on Yade: https://answers.launchpad.net/yade/+question/696912 Hello, First of all, I want to thank the YADE community for allowing those (like me) new to simulations to have access to this excellent program. I am creating a code based on the gravity deposition example shown on the official YADE page to learn a little bit. I added some modifications, such as dropping three-grain samples of different sizes and filtering the initial arrangement in order to have a cylindrical shape. However, I would like to simulate something closer to a deposition experiment, that is, to separate the simulation into two parts: 1.- Generate a cylinder and deposit the grains inside. This has an associated stabilization time in which all the particles settle and the system is at rest. 2.- Once this happens (i.e., all the grains stop), I remove the cylindrical container and allow the granular column to flow. Below is my code that allows observing the collapse of the granular cylinder with the drawback that the grains are not deposited in a cylinder, but simply created in a cylinder shape. -- --- CODE --- -- #!/usr/bin/python # -*- coding: utf-8 -*- # import yade modules that we will use below from yade import pack, plot # characteristics of the spheres and walls O.materials.append(FrictMat(density=1800,young=50e6,poisson=0.2,frictionAngle=radians(36),label='sphereMat')) O.materials.append(FrictMat(density=600,young=5e6,poisson=0.2,frictionAngle=radians(40),label='wallMat')) # create rectangular box from facets O.bodies.append(geom.facetBox((0,0,0),(4,4,2),wallMask=31,material='wallMat')) # create empty sphere packing # sphere packing is not equivalent to particles in simulation, it contains only the pure geometry sp=pack.SpherePack() # generate randomly spheres with uniform radius distribution sp.makeCloud((-0.25,-0.25,-2.0),(0.25,0.25,-1.0),rMean=0.05,rRelFuzz=0.01), sp.makeCloud((-0.25,-0.25,-1.0),(0.25,0.25,0.0),rMean=0.03,rRelFuzz=0.01), sp.makeCloud((-0.25,-0.25,0.0),(0.25,0.25,1.0),rMean=0.02,rRelFuzz=0.01) # filter and create a cylindrical array pred=pack.inCylinder((0.0,0.0,-3),(0.0,0.0,2),radius=0.3) sp2 = pack.filterSpherePack(pred,sp,returnSpherePack=True) # add the sphere pack to the simulation sp2.toSimulation(material='sphereMat') O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]), InteractionLoop( # handle sphere+sphere and facet+sphere collisions [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()], [Ip2_FrictMat_FrictMat_FrictPhys()], [Law2_ScGeom_FrictPhys_CundallStrack()] ), NewtonIntegrator(gravity=(0,0,-9.81),damping=0.0), ] O.dt=.5*PWaveTimeStep() O.saveTmp() --- Thank you very much, any help is welcome!! -- 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 #696871]: How to model a steel Plate in Yade
Question #696871 on Yade changed: https://answers.launchpad.net/yade/+question/696871 Status: Open => Answered Karol Brzezinski proposed the following answer: Hi, Except for the fact that we don't have "Plate_layer1.xml" file, nothing special happens in this simulation (probably, because we don't have this file, so it isn't really a working example). My advice is to use regular facets [1] or wall or box Best wishes, Karol [1] https://yade-dem.org/doc/yade.utils.html?highlight=facet -- 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 #696906]: 3D view black
Question #696906 on Yade changed: https://answers.launchpad.net/yade/+question/696906 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Raphaël, I would suspect graphic card or driver. Could you try the command "glxgears" (apt install mesa-utils)? Do you see gears or a dark window? Bruno -- 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 #696648]: Image and erase
Question #696648 on Yade changed: https://answers.launchpad.net/yade/+question/696648 Bruno Chareyre proposed the following answer: Is #6 not enough to avoid the issue? I understand what you want is to produce an image without the wall, isn't it? Bruno -- 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 #696906]: 3D view black
New question #696906 on Yade: https://answers.launchpad.net/yade/+question/696906 Hi all, I am having troubles with the 3D view on my computer: whatever the script I run, with whatever the version of yade (from source, from package, yadedaily), the 3D view opens but it just shows a black square without any particles/objects. There are clearly particles inside the simulation and the simulation runs, it is just the 3D view that seems not to work (without any error message). In order to give you a precise error script, I get (for example) the problem when running the bouncing sphere example (https://gitlab.com/yade-dev/trunk/blob/master/doc/sphinx/tutorial/01-bouncing-sphere.py) with yadedaily 20210429-5295~8412db8~bionic1. I am on Ubuntu 18.04. Do you have an idea of what it could be due to ? Do not hesitate if you need further information. Thanks in advance, Raphaël -- 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: Expired => Open Paul Pircher is still having a problem: Can someone give me more insight here? :) -- 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 #696759]: How can polyhedron use CpmMat 、Ip2_CpmMat_CpmMat_CpmPhys()and Law2_ScGeom_CpmPhys_Cpm() ?
Question #696759 on Yade changed: https://answers.launchpad.net/yade/+question/696759 Status: Open => Answered Jan Stránský proposed the following answer: Hello, sorry for late answer > and then I ran a step to set the polyhedron material to frictmat > > O.dt = 0. #run one iteration > poly1.material=m #change material > O.dt = 1e-6 If you insist on automatic interaction creation, you need O.step (or similar) before changing poly1.material. Concerning the error, you probably need a new Ig2_Wall_Polyhedra_ScGeom.. You can hack it by creating the walls made of polyhedron. 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