Re: [Yade-users] [Question #683388]: How to clump spheres and facet obtained from stl format
Question #683388 on Yade changed: https://answers.launchpad.net/yade/+question/683388 Irfaan Peerun gave more information on the question: Just an update: I have managed to convert the .stl file to .gts using the following command: stl2gts -r < filename.stl > filename.gts gmsh and libgts-bin need to be installed to do so. So now I have a surface which was imported in .gts format using the command: surf=gts.read(open('filename.gts')) My next step is to fill the surface with spheres of various sizes and clump them together to produce a body of the same volume and geometry as the surface. This would require overlapping of spheres. I used the pack.randomDensePack function with sphere radius=0.5 and realfuzz=0.05. The average range diameter of the surface 2.36mm to 1.18mm. Hence, my questions are: [1] Is the pack.randomDensePack function appropriate for this situation? Any rule of thumb in deciding the sphere radius? Does the function include overlapping of spheres? [2] By adding memoizeDb='/tmp/gts-packings.sqlite', does it mean that a temporary sqlite file will be created to store the packing that will be generated? [3] Is there any function to obtain the clump volume as comparison to the imported gts surface. When running the script, I received the following error along with a blank view (no sphere or surface): WARN /build/yade-fDuCoe/yade-2018.02b/pkg/common/InsertionSortCollider.cpp:242 action: verletDist is set to 0 because no spheres were found. It will result in suboptimal performances, consider setting a positive verletDist in your script. Appreciate if anyone could guide me in solving this. The script is as follows: # = Script === from yade import pack,ymport import gts #Add material for spheres m=FrictMat(young = 1E8, poisson = 0.25, frictionAngle = 0.0, density = 2650) # import surface surf=gts.read(open('/home/Desktop/SphereClumping/sample.gts')) # parameters for radom packing in imported surface memoizeDb='/tmp/gts-packings.sqlite' sp=SpherePack() # generate lists of spheres and outer surface if surf.is_closed(): O1=O.bodies.append(pack.gtsSurface2Facets(surf,fixed=False,noBound=True,material=m)) sp=pack.randomDensePack(pack.inGtsSurface(surf),radius=0.5,rRelFuzz=0.05,memoizeDb=memoizeDb,returnSpherePack=True) Otemp=sp.toSimulation() #clump spheres and surface together idClump=O.bodies.clump(Otemp) 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.4), ] # set timestep to a fraction of the critical timestep O.dt=0.5*PWaveTimeStep() # save the simulation, so that it can be reloaded later, for experimentation O.saveTmp() from yade import qt qt.View() -- 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 #683526]: Interaction problem between two bodies - Direct Shear
New question #683526 on Yade: https://answers.launchpad.net/yade/+question/683526 Hi, I have been trying to simulate the direct shear test in YADE version 1.20.0. I am able to construct the code upto the point where the box moves to create shearing in the sample. But there is a problem in the simulation at the last step. When I try to apply a permanent force on the plate to induce a constant normal load condition on the sample, the plate passes through the sample as if there is no interaction between the bodies at all. The expected behaviour is that the plate applying load on the sample permanently. But it doesn't seem to happen. Kindly help me with this issue. I have attached the link to the code below. https://drive.google.com/file/d/1jiS_ndotegcLJJsVmaaTnFvdhcZfkMeV/view?usp=sharing Thanks in advance. -- 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 #683488]: saving data
Question #683488 on Yade changed: https://answers.launchpad.net/yade/+question/683488 Jinny Kim posted a new comment: Hi Bettina Suhr, Thank you so much for your comments. I will look the tutorial and users manual first! -- 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 #683312]: How to fill a container with particles in STL format?
Question #683312 on Yade changed: https://answers.launchpad.net/yade/+question/683312 Status: Open => Solved Irfaan Peerun confirmed that the question is solved: solved -- 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 #683312]: How to fill a container with particles in STL format?
Question #683312 on Yade changed: https://answers.launchpad.net/yade/+question/683312 Irfaan Peerun gave more information on the question: Just an update: I have found that .stl would produce a facet and there can be no interaction between facet to facet. Hence, I am going to use sphere clumping to reproduce similar geometry and volume of the .stl surface. -- 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 #683511]: meaning of ENABLE_MASK_ARBITRARY
Question #683511 on Yade changed: https://answers.launchpad.net/yade/+question/683511 Status: Needs information => Open Luc OGER gave more information on the question: i am still trying to understand why with some CPU environment the use of collider.avoidSelfInteractionMask is funcitonning well or not (see https://answers.launchpad.net/yade/+question/682290) So I founded this option but without knowing how it is working -- 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 #683511]: meaning of ENABLE_MASK_ARBITRARY
Question #683511 on Yade changed: https://answers.launchpad.net/yade/+question/683511 Status: Open => Needs information Robert Caulk requested more information: >could you provied me some hints or links to the place for th explanation Sure, but first could you provide some links to the code you are referring to? :-) -- 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 #683511]: meaning of ENABLE_MASK_ARBITRARY
New question #683511 on Yade: https://answers.launchpad.net/yade/+question/683511 I need some explanation: In order to understand why the use of the mask is not functionning in some recent CPU envrionment (see 682290), I am looking inside the code of collider.cpp or body.cpp and I founded the ifdef option of YADE_MASK_ARBITRARY. I guess that this option is controled by ENABLE_MASK_ARBITRARY cmake option but I did not founded what is his use and his need. could you provied me some hints or links to the place for th explanation -- 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 #683405]: Yade 2019.01a vs. gitlab version
Question #683405 on Yade changed: https://answers.launchpad.net/yade/+question/683405 Status: Open => Answered Bruno Chareyre proposed the following answer: Thanks for trying. Maybe there was indeed a typo in that specific commit and it was fixed in another one. Unfortunately I don't think I'll manage to try it very soon. For now I would say there is no reason to panic, most likely the situation with latest versions is ok, but it would be worth verifying. 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 #682833]: Irregular variation of unbalanced force during simulation
Question #682833 on Yade changed: https://answers.launchpad.net/yade/+question/682833 Status: Needs information => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Needs information' state without activity for the last 15 days. -- 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 #683488]: saving data
Question #683488 on Yade changed: https://answers.launchpad.net/yade/+question/683488 Status: Open => Answered Bettina Suhr proposed the following answer: Hi Jinni Kim, There are different ways to save data for different purposes. Have a look at the tutorial -> oedometric script. Here information like path, normal force, unbalanced force and iteration number are saved to a txt file using the commands plot.addData and plot.saveDataTxt. These commands also can be used for simulations run in background/ batch mode, as you can see in the tutorial. In the users manual -> postprocessing section, you can learn how write more outputs and visualize them. Hope this helps. Best regards, Bettina -- 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