Re: [Yade-users] [Question #696302]: contact model for particle compaction
Question #696302 on Yade changed: https://answers.launchpad.net/yade/+question/696302 Status: Needs information => Open Ricardo Lorenzoni gave more information on the question: Hi. Thanks for your answer. figure 1 - https://pasteboard.co/JV5qiMz.png In this first image, you can see the experimental results, where the curve shows that as more weight is added to the sample, the effect on the compacting of the grain mass will decrease. figure 2 - https://pasteboard.co/JV5mPSf.png In this second image, the results of the computer simulations are plotted, in which, we can see that the effect of increasing weight on the compaction of the particles is linear. I have already carried out a series of tests with several contact and physical models, in none of them I was able to replicate the curve behavior, as shown in Figure 1. Here is an example of the base code I am using for the simulations. the variable "altura" indicates the height of the grain mass on the sample analyzed and, is set to 10 m. sample code with cundallStrack contact model: import sys, math, csv, os from minieigen import * from yade import pack, plot, utils, ymport, export matWall=CohFrictMat(density=2700,young=7e10,poisson=0.334,label="parede") idparede=O.materials.append(matWall) r_mean=0.002963 altura=10 lx=0 hx=0.1 ly=0 hy=0.1 lz=0 hz=0.15 p1 = (lx, ly, lz) p2 = (lx, hy, lz) p3 = (hx, ly, lz) p4 = (hx, hy, lz) p5 = (lx, ly, hz) p6 = (lx, hy, hz) p7 = (hx, ly, hz) p8 = (hx, hy, hz) p9 = (lx, ly, hz+0.05) p10= (lx, hy, hz+0.05) p11= (hx, ly, hz+0.05) p12= (hx, hy, hz+0.05) # DEFINICAO DAS FACES #base base1=utils.facet([p1,p2,p3],mask=1,wire=True,material=idparede) base2=utils.facet([p2,p3,p4],mask=1,wire=True,material=idparede) O.bodies.append(base1) O.bodies.append(base2) #Wall1 parede11=utils.facet([p1,p2,p5],mask=1,wire=True,material=idparede) parede12=utils.facet([p2,p5,p6],mask=1,wire=True,material=idparede) O.bodies.append(parede11) O.bodies.append(parede12) #Wall2 parede21=utils.facet([p1,p3,p5],mask=1,wire=True,material=idparede) parede22=utils.facet([p3,p5,p7],mask=1,wire=True,material=idparede) O.bodies.append(parede21) O.bodies.append(parede22) #Wall3 parede31=utils.facet([p3,p4,p7],mask=1,wire=True,material=idparede) parede32=utils.facet([p4,p7,p8],mask=1,wire=True,material=idparede) O.bodies.append(parede31) O.bodies.append(parede32) #Wall4 parede41=utils.facet([p2,p4,p6],mask=1,wire=True,material=idparede) parede42=utils.facet([p4,p6,p8],mask=1,wire=True,material=idparede) O.bodies.append(parede41) O.bodies.append(parede42) #Wall5 parede51=utils.facet([p5,p6,p9],mask=1,wire=True,material=idparede) parede52=utils.facet([p6,p9,p10],mask=1,wire=True,material=idparede) O.bodies.append(parede51) O.bodies.append(parede52) #Wall6 parede61=utils.facet([p6,p8,p12],mask=1,wire=True,material=idparede) parede62=utils.facet([p12,p10,p6],mask=1,wire=True,material=idparede) O.bodies.append(parede61) O.bodies.append(parede62) #Wall7 parede71=utils.facet([p7,p8,p11],mask=1,wire=True,material=idparede) parede72=utils.facet([p8,p11,p12],mask=1,wire=True,material=idparede) O.bodies.append(parede71) O.bodies.append(parede72) #Wall8 parede81=utils.facet([p5,p7,p9],mask=1,wire=True,material=idparede) parede82=utils.facet([p7,p9,p11],mask=1,wire=True,material=idparede) O.bodies.append(parede81) O.bodies.append(parede82) particles=CohFrictMat(density=1163,young=2.6e6,poisson=0.25,alphaKr=0.05,frictionAngle=radians(22.6),label="particle") idparticle=O.materials.append(particles) O.bodies.append(sphere((0.01,0.01,0.01),radius=r_mean,material=idparticle)) # DEFINICAO DOS MOTORES O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()],verletDist=.05*.29e-3), InteractionLoop( # handle sphere+sphere and facet+sphere collisions [Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()], [Ip2_FrictMat_FrictMat_FrictPhys()], [Law2_ScGeom_FrictPhys_CundallStrack()] #modelo linear de contato ), NewtonIntegrator(gravity=(0,0,-9.81),damping=0.04), BoxFactory(maxParticles=-1, extents=(hx/2,hy/2,0.01), center=(hx/2,hy/2,hz+0.03), rMin=r_mean, rMax=r_mean, vMin=100, vMax=100, vAngle=0, massFlowRate=0.01*16.6, normal=(0,0,0), label='factory', materialId=idparticle), PyRunner(virtPeriod=0.02, command='verificaAltura()'), ] global pesomassa pesomassa=0 def calculaPeso(): global pesomassa for b in O.bodies: if isinstance(b.shape, Sphere): pesomassa+=b.state.mass pesometro=(altura*((100*pesomassa)/15)) adicionaPeso(pesometro) global executa executa=True def verificaAltura(): global executa if executa: count=0 for b in O.bodies: if isinstance(b.shape, Sphere): if (b.state.vel[2]<0.05 and b.state.pos[2]>0.15 and b.state.pos[2]<0.16):
Re: [Yade-users] [Question #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Bruno Chareyre posted a new comment: I guess you wanted to thank Anton. Let us know if current source trunk code is not working. B -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Mithushan Soundaranathan posted a new comment: Hi Bruno, Thank you very much, that means that I don't need to modify the source code (Luding contact) to replicate the model and work from Haustein. -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Anton Gladky proposed the following answer: As far as I remember we integrated the complete code into the Yade main branch [1]. Just try, by enabling YADE_DEFORM feature. [1] https://gitlab.com/yade- dev/trunk/-/tree/master/examples/DeformEngine -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: You could try and reproduce Haustein's changes as shown in their repository. See [1] (first one in the list). What you want is to re-apply on current source code. If you succeed please let us know and let's integrate Haustein et al. it in yade trunk. Else it leads to the kind of problems you face now. Bruno [1] https://github.com/ElsevierSoftwareX/SOFTX-D-16-00098/commits/master -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Answered => Open Mithushan Soundaranathan is still having a problem: Hi Bruno, Thank you very much. Have do I insert missing code in current version. Is it like, for example for the LudingPM.cpp file in current version (trunk_master) I need to add missing code from the Software version into the current LudingPM.cpp code? -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: So you confirm that the SoftwareX version as a feature that yade/trunk doesn't have? I didn't expect. In that case you should ultimately contact the authors of the paper. With yade, best solution would be to insert the missing code in current sources, since what you are going through are installation issues which do not exist in the maintained branch. -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Answered => Open Mithushan Soundaranathan is still having a problem: Hi Bruno, I have already installed current version on my computer. I want install the unmaintained sources, since the Luding contact model explained in that source includes a new particle deformation algorithm suitable for particle compaction, which is useful for my simulation -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Chareyre proposed the following answer: A living yade branch is here: https://gitlab.com/yade-dev/trunk And the documentation is here: https://yade-dem.org/doc/installation.html You did not explain the need to compile some unmaintained sources available through that journal, so I'm guessing you better use a more recent version of the software to avoid trouble. 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Mithushan Soundaranathan posted a new comment: I replaced CMakelist.txt, State.hpp, LOedeometric.py, Oedeometric.py, LudingPM.cpp, LudingPM.hpp, VTKRecorder.cpp, ViscoelasticPM.cpp, ViscoelasticPM.hpp in the current Trunk with one in https://github.com/ElsevierSoftwareX/SOFTX-D-16-00098/commit/2d1adf852b4933b3c804b2ea81c13f9d5cf862d7?branch=2d1adf852b4933b3c804b2ea81c13f9d5cf862d7=unified -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Answered => Open Mithushan Soundaranathan is still having a problem: Sorry, I did not understand your question. I simply copy and pasted in the modified files into the current trunk-master and compiled with copied in files. -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: > Did you check if the feature was/not in latest versions before compiling that one? -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Answered => Open Mithushan Soundaranathan is still having a problem: Hi Bruno, Thank you for your reply. I tried it again, but only changed only modified files, which are given in: (https://github.com/ElsevierSoftwareX/SOFTX-D-16-00098/commit/2d1adf852b4933b3c804b2ea81c13f9d5cf862d7?branch=2d1adf852b4933b3c804b2ea81c13f9d5cf862d7=unified ) I am getting new error message: "Could not find a package configuration file provided by "Loki" with any of the following names: LokiConfig.cmake loki-config.cmake Add the installation prefix of "Loki" to CMAKE_PREFIX_PATH or set "Loki_DIR" to a directory containing one of the above files. If "Loki" provides a separate development package or SDK, be sure it has been installed. " Best regards, MIthushan -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Mithushan Soundaranathan posted a new comment: Sorry forgot in the previous comment, I have installed Loki-lib on my computer -- 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Since the code you link is not maintained it is expected that the build procedure will fail with newer systems at some point in time (). Did you check if the feature was/not in latest versions before compiling that one? 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 #696307]: Recompile Haustein Source code
Question #696307 on Yade changed: https://answers.launchpad.net/yade/+question/696307 Description changed to: Hi, I am trying recompile YADE from the trunk-master given in: "https://github.com/ElsevierSoftwareX/SOFTX-D-16-00098 ", which are from the paper Discrete element modeling of deformable particles in YADE. I am getting error message saying: -- The imported target "vtkHashSource" references the file "/usr/bin/vtkHashSource-6.3" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkParseOGLExt" references the file "/usr/bin/vtkParseOGLExt-6.3" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkEncodeString" references the file "/usr/bin/vtkEncodeString-6.3" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkGUISupportQt" references the file "/usr/lib/x86_64-linux-gnu/libvtkGUISupportQt-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkGUISupportQtOpenGL" references the file "/usr/lib/x86_64-linux-gnu/libvtkGUISupportQtOpenGL-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkGUISupportQtSQL" references the file "/usr/lib/x86_64-linux-gnu/libvtkGUISupportQtSQL-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkViewsQt" references the file "/usr/lib/x86_64-linux-gnu/libvtkViewsQt-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkGUISupportQtWebkit" references the file "/usr/lib/x86_64-linux-gnu/libvtkGUISupportQtWebkit-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. -- The imported target "vtkRenderingQt" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingQt-6.3.so.6.3.0" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/vtk-6.3/VTKTargets.cmake" but not all the files it references. I have installed VTK on my computer, but not sure If I did properly. Have anyone experienced similar problems or know how to solve it, it would be really helpful for me. best regards, Mithushan 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 #696243]: Rotate cylinder
Question #696243 on Yade changed: https://answers.launchpad.net/yade/+question/696243 Status: Answered => Solved Mithushan Soundaranathan 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
[Yade-users] [Question #696307]: Recompile Haustein Source code
New question #696307 on Yade: https://answers.launchpad.net/yade/+question/696307 Hi, I am trying recompile YADE from the trunk-master given in: "https://github.com/ElsevierSoftwareX/SOFTX-D-16-00098 ", which are from the paper Discrete element modeling of deformable particles in YADE. I am getting error message saying: " Could not find a package configuration file provided by "Loki" with any of the following names: LokiConfig.cmake loki-config.cmake Add the installation prefix of "Loki" to CMAKE_PREFIX_PATH or set "Loki_DIR" to a directory containing one of the above files. If "Loki" provides a separate development package or SDK, be sure it has been installed. " I have installed Loki-lib on my computer. Have anyone experienced similar problems or know how to solve it, it would be really helpful for me. best regards, Mithushan -- 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 #696260]: yade container image 20.04 can't run on centos
Question #696260 on Yade changed: https://answers.launchpad.net/yade/+question/696260 Bruno Chareyre posted a new comment: Wow! Thanks for solution. It might help others. Another solution should be to use an older linux version [1]. They all have updated version if you use "yadedaily " instead of "yade". Regards Bruno [1] https://gitlab.com/yade-dev/docker-prod/container_registry/1766901 -- 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 #696302]: contact model for particle compaction
Question #696302 on Yade changed: https://answers.launchpad.net/yade/+question/696302 Status: Open => Needs information Jan Stránský requested more information: Hello, > this reduction ... happen in ... a curve > I would like to know if anyone would have any tips on contact model ... that > will present the expected behavior. please, provide what is THE expected behavior (specifically what is "a curve") before asking about suitable model > However, I have already performed tests with several contact models Please provide more info. What contact models AND with what settings. Sometimes a model must be properly adjusted to have desired response, with different parameters the model might behave seemingly not as it should. > However, I have already performed tests with ... spherical particles consider using non-spherical particles 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 #696260]: yade container image 20.04 can't run on centos
Question #696260 on Yade changed: https://answers.launchpad.net/yade/+question/696260 quanm qiu posted a new comment: Finally, I found source of the problem is kernel version. The kernel needs to be at least 3.15 "Qt 5.10 uses the renameat2 system call which is only available since kernel 3.15" See: https://bbs.archlinux.org/viewtopic.php?id=232682 After upgrade centos kernel version from 3.10 to 5.11, the error "error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory" disappeared. But I can't upgrade kernel version of the Supercomputer. I have to use another dirty solution, add a command to the singularity image .def file: strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux- gnu/libQt5Core.so.5 See: https://superuser.com/questions/1347723/arch-on-wsl-libqt5core-so-5 -not-found-despite-being-installed Then the problem 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