Re: [Yade-users] [Question #439709]: Compilation problematic. Provide generic binaries please.
Question #439709 on Yade changed: https://answers.launchpad.net/yade/+question/439709 Status: Open => Answered Anton Gladky proposed the following answer: Yade-binaries with statically linked libraries are not possible, because one need to compile statically all dependent libs, which is a nightmare. Now there is a good trend in distros to drop all static binaries and it makes sense. Volunteers for creating RPM-packages are always welcome. Best regards Anton -- 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 #432837]: how to get stress values with VTKExporter
Question #432837 on Yade changed: https://answers.launchpad.net/yade/+question/432837 Gary Pekmezi posted a new comment: Thanks for the reply Jan, I was able to get the output I needed otherwise. However, I did go back and created a MWE to replicate the issue. My problem seems to stem from loading a saved simulation. The MWE below replicates it after saving then reloading a self-contained simulation. from yade import pack,export ### DEFINING SCENE ### O.materials.append(FrictMat(young=15e6, poisson=0.4, frictionAngle=radians(20), density=2600, label='spheres')) O.materials.append(FrictMat(young=15e6, poisson=0.4, frictionAngle=0, density=0, label='walls')) sp=pack.SpherePack() mn,mx=Vector3(0,0,0),Vector3(10,10,10) sp.makeCloud(minCorner=mn,maxCorner=mx,rRelFuzz=.2,num=600) walls=aabbWalls([mn,mx],thickness=0,oversizeFactor=2.0,material='walls') wallIds=O.bodies.append(walls) sp.toSimulation(material='spheres') ### ### CONFINE THE MODEL ### ### O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()], [Ip2_FrictMat_FrictMat_MindlinPhys(label='mindlinContact', betan=0.20, betas=0.05)], [Law2_ScGeom_MindlinPhys_Mindlin(label="mindlinLaw2", neverErase=False)], ), GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.5), TriaxialStressController(thickness = -1,stressMask = 7,label="triax"), NewtonIntegrator(damping=.4) ] triax.goal1=triax.goal2=triax.goal3=-50e3 while 1: O.run(1000, True) unb=unbalancedForce() triDiff=abs((triax.goal1-triax.meanStress)/(triax.goal1)) if unb<0.05 and triDiff<0.05: break O.save('confinedState.yade.gz') O.load('confinedState.yade.gz') ### ### EXPORT STRESSES IN MODEL### ### s=bodyStressTensors() for b in O.bodies: b.mystress=s[b.id] vtkExporter = export.VTKExporter("stress.vtk") vtkExporter.exportSpheres(what=[('stress','b.mystress')]) -- 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 #439162]: KeyError: "Unknown energy name 'kineticParticle'
Question #439162 on Yade changed: https://answers.launchpad.net/yade/+question/439162 Jérôme Duriez posted a new comment: Hi, Just to be sure: I guess you're aware these measurements are already coded in YADE e.g. through EnergyTracker, see https://yade- dem.org/doc/yade.wrapper.html#yade.wrapper.EnergyTracker and example script simple-scene/simple-scene-energy-tracking.py -- 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 #439162]: KeyError: "Unknown energy name 'kineticParticle'
Question #439162 on Yade changed: https://answers.launchpad.net/yade/+question/439162 Yor1 posted a new comment: Hi Jan I'm using this version of Yade: yade-2017-01-04.git-8801250 and this operating system: Ubuntu 16.04 LTS Best regards Jabrane -- 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 #439162]: KeyError: "Unknown energy name 'kineticParticle'
Question #439162 on Yade changed: https://answers.launchpad.net/yade/+question/439162 Status: Open => Answered Jan Stránský proposed the following answer: Hi Jabrane, what version of Yade and operating system do you use? I was not able to compile your files.. thanks 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 #439162]: KeyError: "Unknown energy name 'kineticParticle'
New question #439162 on Yade: https://answers.launchpad.net/yade/+question/439162 Hello yade users ! I implement some equations in the "NewtonIntegrator.cpp" script to calculate the dissipated energy by damping and the kinetic energy. The label chosen for the kinetic energy is 'kineticParticle' and for the energy dissipated by damping is 'nonviscDampParticle'. In fact, i simulate the triaxial compression test to calculate the different energy components but i obtain this error message: KeyError: "Unknown energy name 'kineticParticle'." and "Unknown energy name 'nonviscDampParticle'." I don't understand why the code don't recognize these energy label knowing that the code is compiled with the new energetic equation. you find in these links "NewtonIntegrator.cpp", "NewtonIntegrator.hpp" and the triaxial compression test script. NewtonIntegrator.cpp https://filex.univ-lorraine.fr/get?k=gJTd8XcTqX7aCgyVxJN line 55 and line 90 NewtonIntegrator.hpp https://filex.univ-lorraine.fr/get?k=RkWOFG2bi1gkbV9RXFh triaxial compression test https://filex.univ-lorraine.fr/get?k=ul6w12Hvz8wkZCE03Tl the sample https://filex.univ-lorraine.fr/get?k=xTbw7ocfTIuDoaIScZJ Best regards. Jabrane -- 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 #434127]: problem in creating the contact law between two polyhedron blocks
Question #434127 on Yade changed: https://answers.launchpad.net/yade/+question/434127 Jan Stránský proposed the following answer: Hi Alma, in principle what you want is possible, but it needs some modifications, namely: - probably making each block a clump of a few polyhedrons - using Ig2_Polyhedra_Polyhedra_PolyhedraGeomOrScGeom, allowing ScGeom for cohesive bonds and PlyhedraGeom for broken contacts I will try to create an example soon cheers Jan 2017-01-10 22:08 GMT+01:00 Jérôme Duriez < question434...@answers.launchpad.net>: > Question #434127 on Yade changed: > https://answers.launchpad.net/yade/+question/434127 > > Status: Open => Answered > > Jérôme Duriez proposed the following answer: > Hi, > > Polyhedra are clearly not the most used shape in DEM in general and YADE > in particular, and they are included in YADE since October 2013, which > is not so old, considering also the probably limited users number. > Hence, it is indeed not surprising there is no example of this type of > problem (but anyone is welcome is propose one) > > The possibilities using polyhedras with YADE are reflected by the names > of the existing Ig2 functors [1] and Law2 functors [2]. Outside of Jan's > suggestion in #5, It is clear these possibilities are not endless since > a very small minority include "PolyhedraGeom" in their names, with only > one "Law2_PolyhedraGeom" which does not look like it suits your needs. > > Since you don't want to convert all your polyhedra to sphere collection > just in order to have cohesion between them, it is probable you will > have to code yourself a cohesive polyhedra interaction model. > > Good news: YADE is open-source ! > > Jerome > > [1] https://yade-dem.org/doc/yade.wrapper.html#igeomfunctor > [2] https://yade-dem.org/doc/yade.wrapper.html#lawfunctor > > -- > 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 > -- 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 #432837]: how to get stress values with VTKExporter
Question #432837 on Yade changed: https://answers.launchpad.net/yade/+question/432837 Jan Stránský posted a new comment: Hi Gary, please send a MWE [1] Jan [1] https://yade-dem.org/wiki/Howtoask -- 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