Re: [Yade-users] [Question #622060]: a problem about vtk
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Answered => Solved xjin 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 #622864]: import gmsh force element
Question #622864 on Yade changed: https://answers.launchpad.net/yade/+question/622864 Hien N.G. NGUYEN proposed the following answer: Hi, For .ele format, you can find the manual of Tetgen [1], as far as I know, this format is not popular, at least in 3D community. I have no idea about .inp but recently I work with .stl and Yade imported and worked just fine. Yade seems to support several mesh types [1]. You can try generating one of them from GMSH (try .gmsh), I believe it should work. Other point, like Duriez said, the imported mesh can be 'marked' by its ID, you can extract all data on it from its ID. Good luck Hien [1] http://wias-berlin.de/software/tetgen/1.5/doc/manual/manual.pdf [2] https://yade-dem.org/doc/yade.ymport.html?highlight=mesh -- 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 #622864]: import gmsh force element
Question #622864 on Yade changed: https://answers.launchpad.net/yade/+question/622864 Status: Open => Answered Jérôme Duriez proposed the following answer: Hello, 1) Yes, this is correct (the order as well), see source code [1] to be sure. As a personal remark, note that such recording engines are probably less useful in YADE now that such kind of data can be easily accessed and saved through Python [2]. (Obviously, you may still use them though, if you're OK to spend time to know how these engines work) 3) The ForceRecorder is able to deal with several YADE bodies through its ids attribute [3], see also source code [1] to check that a cumulative value is stored. Provided you know which (and how many) YADE bodies are created when you import this "mesh file", and that you correctly define this ids attribute, you should be able to do everything you want here. Jerome PS: I would recommend you open different Launchpad questions when you have different questions, 2) being here quite distinct from 1)/3) [1] https://github.com/yade/trunk/blob/e4e757f2e98a620e3177b7a36a1d10f69f6a6a28/pkg/dem/ForceTorqueRecorder.cpp#L14 [2] https://yade-dem.org/doc/tutorial-data-mining.html [3] https://yade-dem.org/doc/yade.wrapper.html?highlight=forcerecorder#yade.wrapper.ForceRecorder.ids -- 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 #622864]: import gmsh force element
New question #622864 on Yade: https://answers.launchpad.net/yade/+question/622864 I have a few of questions: 1.) The ForceRecorder has four outputs (not including time). I assume, they are x,y,z, and total magnitude of force. Is that correct? In that order? 2.) The ymport can import tetrahedral meshes in .ele format. What program makes though files? I use gmsh and use .inp files. Can I import an .inp (tetrahedral) mesh file? 3.) If I do import a tetrahedral mesh file, would the ForceRecorder record and output the forces on all the elements in the file? Or only on the object as a whole? If not, is there a way to get an output of the forces on each element? 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 #443228]: segmentation fault using two kinds of cohefricmats under cohesive triaxial test
Question #443228 on Yade changed: https://answers.launchpad.net/yade/+question/443228 Seti requested more information: Hi Jan, I ran script on Ubuntu 16.04 and had segmentation fault!!! Regards, Seti -- 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 #443228]: segmentation fault using two kinds of cohefricmats under cohesive triaxial test
Question #443228 on Yade changed: https://answers.launchpad.net/yade/+question/443228 Seti requested more information: Hi Jan, I ran script on Ubuntu 16.04 and had segmentation fault!!! Regards, Seti -- 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 #620981]: record deformed shape in cohesive triaxil test
Question #620981 on Yade changed: https://answers.launchpad.net/yade/+question/620981 Status: Open => Answered Robert Caulk proposed the following answer: [1] https://github.com/yade/trunk/blob/master/doc/sphinx/user.rst #rendering-interactions-as-force-chain Also, if you search this forum for "force chain" you will find several other answered questions describing how to visualize force chains. Cheers, Robert -- 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 #620981]: record deformed shape in cohesive triaxil test
Question #620981 on Yade changed: https://answers.launchpad.net/yade/+question/620981 Status: Answered => Open Seti is still having a problem: Hi Robert, thanks for reply and sorry for not being specific. I meant tracking the force chains in cohesive triaxial tests - Visual observation in 3d Sample Thanks, Seti -- 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 #622060]: a problem about vtk
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > O.run(5) If you execute some code after O.run, use either O.run(5,True) or O.run(5) O.wait() otherwise the commands are executed on running yade with uncertain (and most likely nonsense) results > Cannot open file [strain.vtk] is this part of output, or your question? I could not open strain.vtk file (in paraview) with O.run(5), but could open it with O.run(5,True) 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
Re: [Yade-users] [Question #622061]: the problem of yade installation
Question #622061 on Yade changed: https://answers.launchpad.net/yade/+question/622061 Status: Open => Answered Manfred Hampl proposed the following answer: This PPA doer not provide software for xenial. Remove this ppa from your list of software sources, and the messages should disappear. -- 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 #622071]: a problem about micro-stress computing
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Answered => Solved xjin 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 #622071]: a problem about micro-stress computing
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Open => Answered Jan Stránský proposed the following answer: The matrix is a matrix representation of stress tensor [1], so the values you get are stress = (s_x, t_xy, t_xz, t_yx, s_y, t_yz, t_zx, t_zy, s_z) s ... normal stress t ... shear stress cheers Jan [1] https://en.wikipedia.org/wiki/Cauchy_stress_tensor -- 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 #622060]: a problem about vtk
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Answered => Open xjin is still having a problem: I use linux-system:ubuntu 16.04LTS (32-bit) Yade version: Welcome to Yade 2016.06a TCP python prompt on localhost:9001, auth cookie `dkusys' XMLRPC info provider on http://localhost:21001 [[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]] However I use ubuntu in VMware Workstation10.0.4. -- 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 #622071]: a problem about micro-stress computing
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Answered => Open xjin is still having a problem: Thanks Jan Stránský (honzik) very much! And I compute: -- stress=s[200]*4.*pi/3.*O.bodies[200].shape.radius**3/TW.volume(200) -- Then I type: stress, The result is like this: --- Yade [19]:obtain stress -> [19]: Matrix3(-0.13752527190640026,0.03607936010975411,0.0008634995770584191, 0.03445913198778846,-0.06373525199754092,0.006348443944983994, -0.0012487034856438542,0.014427579541476804,-0.11692017375785213) Can you explain the meanings of the values of the Matrix? Thanks again! -- 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 #622060]: a problem about vtk
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Open => Answered Jan Stránský proposed the following answer: Hello, what system and version of Yade do you use? 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
Re: [Yade-users] [Question #622071]: a problem about micro-stress computing
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > stress=s[100]**4 it is a typo, should be stress=s[100]*4 with single * symbol 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 #622071]: a problem about micro-stress computing
New question #622071 on Yade: https://answers.launchpad.net/yade/+question/622071 I am trying to run a packing model,and try to use TesselationWrapper() to obtain the Micro-stress as the example given by YADE official website: https://www.yade-dem.org/doc/user.html#micro-stress-and-micro-strain. My specific script is like tihs: --- O.reset() O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=63)) from yade import pack sp=pack.SpherePack() sp.makeCloud((0,0,0),(1,1,1),rMean=0.02, rRelFuzz=0.1) sp.toSimulation() O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()], [Ip2_FrictMat_FrictMat_FrictPhys()], [Law2_L3Geom_FrictPhys_ElPerfPl()] ), NewtonIntegrator(gravity=(0,0,-19.81),damping=0.4), ] O.dt=0.05*PWaveTimeStep() -- Then I reset the Δt=5.0e-05。Then I type following script: -- O.run(6343) TW=TesselationWrapper() TW.computeVolumes() s=bodyStressTensors() stress=s[100]**4.*pi/3.*O.bodies[100].shape.radius**3/TW.volume(100) #These codes are written exactly as the YADE manualy(https://www.yade-dem.org/doc/user.html#micro-stress-and-micro-strain). -- I get message: -- unsupported operand type(s) for ** or pow(): 'Matrix3' and 'float' -- Can someone help me?Thanks very much! -- 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