Re: [Yade-users] [Question #266828]: How to reset the repulsive forces at the beginning of a compression test
Question #266828 on Yade changed: https://answers.launchpad.net/yade/+question/266828 loiseaurare posted a new comment: Hi Jerome, I have been reading your comment on the introduction of an equilibrium distance using cohFrictMat. I am not sure I understood properly what you point out : my interrogation comes from reading this previous thread --> https://answers.launchpad.net/yade/+question/295035, where the problem of initial offset or undesired movements was not raised. I do not understand why there should be a problem in the first computational loop, is it not possible to loop over all interactions in order to set i.phys.unp = i.geom.penetrationDepht BEFORE entering the actual computation loop ? Or does Yade need to actually perform a first loop in order to set initial values of the simulation ? Plus, I was also reading the thread https://answers.launchpad.net/yade/+question/269724 discussing whether Yade would match the BPM model features, and you mentioned that in JCFpmMat, the initial distance between particles is automatically set as the equilibrium distance ? So there is no need to use the initD function in order to achieve a zero stress state for initial overlapping particles using that contact law ? Regards -- 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 #629120]: why I cannot control the consolidation process when I choose a certain PSD?
Question #629120 on Yade changed: https://answers.launchpad.net/yade/+question/629120 Status: Open => Needs information Robert Caulk requested more information: Hello Ting, I guess I do not understand your question. The problem is that the particles look settled? And what makes you say "cannot consolidate or cutting"? Please elaborate, thank you. Best, 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 #629464]: problem to start a batch simulation
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Status: Answered => Solved De zhang confirmed that the question is solved: Thanks a lot ! I can move on ~ best~ dzlearnyade -- 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 #629464]: problem to start a batch simulation
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Status: Open => Answered Robert Caulk proposed the following answer: Hello, >I have compiled yade from sources, and do you mean that I should first cd the >path to /install/bin and run >the yade-batch.py? and put the testing python >files under that path? or any other operation? I would not recommend putting your simulation files in the install/bin folder. Instead, I would recommend you execute yade-batch with an alias with the following two commands. sudo bash -c 'echo "alias yade-batch='/path/to/install/bin/yade-batch'" >> /home/ubuntu/.bashrc' source ~/.bashrc Now you can execute yade-batch without the path. >And I have antoher question. I have anthor computation with yadedaily installation. I followed the >instruction that 'yadedaily-batch 03 -oedometric-test.table 03-oedometric-test.py' and it only got two log >documents after processing, does it right to execute like that way? This depends entirely on the contents of 03-oedemetric-test.table. If that file has two lines, then yes I would expect yade-batch to produce two log files. Best, 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 #629464]: problem to start a batch simulation
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Status: Solved => Open De zhang is still having a problem: Thanks rcaulk! I have compiled yade from sources, and do you mean that I should first cd the path to /install/bin and run the yade-batch.py? and put the testing python files under that path? or any other operation? And I have antoher question. I have anthor computation with yadedaily installation. I followed the instruction that 'yadedaily-batch 03 -oedometric-test.table 03-oedometric-test.py' and it only got two log documents after processing, does it right to execute like that way? best! dzlearnyade -- 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 #629464]: problem to start a batch simulation
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Status: Answered => Solved De zhang confirmed that the question is solved: Thanks rcaulk! I have compiled yade from sources, and do you mean that I should first cd the path to /install/bin and run the yade-batch.py? and put the testing python files under that path? or any other operation? And I have antoher question. I have anthor computation with yadedaily installation. I followed the instruction that 'yadedaily-batch 03 -oedometric-test.table 03-oedometric-test.py' and it only got two log documents after processing, does it right to execute like that way? best! dzlearnyade -- 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 #629120]: why I cannot control the consolidation process when I choose a certain PSD?
Question #629120 on Yade changed: https://answers.launchpad.net/yade/+question/629120 Status: Answered => Open ting is still having a problem: Hi Robert: I noticed that problem and thank you so much for answering my problem. However, when i did not look for a certain void ratio, just want a certain PSD as sp.makeCloud((0,0,0),(4,4,4),psdSizes=[2e-2,4e-2,6e-2,8e-2,10e-2,12e-2,14e-2,16e-2],psdCumm=[0.01,0.23,0.4,0.6,0.75,0.93,0.98,1],num=8000) The particles look like settled and cannot consolidate or cutting. How can I solve that? Regards, Ting -- 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 #629694]: Error while compilation
New question #629694 on Yade: https://answers.launchpad.net/yade/+question/629694 Hi I am getting this error while compiling the source code though i have already installed the QGLViewer-qt5. Can someone please help me with this error. I am currently using ubuntu 17.04 Here is the error log from cmake: Found unsuitable Qt version "5.7.1" from /usr/bin/qmake Version is set to Unknown GTS using gts-config /usr/bin/gts-config Using GTS from /usr GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps GCC Version >= 4.9. Adding -fstack-protector-strong Boost version: 1.62.0 Found the following Boost libraries: python thread filesystem iostreams regex serialization system date_time chrono atomic -- Boost_VERSION: 106200 -- Boost_LIB_VERSION: 1_62 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so/usr/lib/x86_64-linux-gnu/libboost_thread.so/usr/lib/x86_64-linux-gnu/libboost_filesystem.so/usr/lib/x86_64-linux-gnu/libboost_iostreams.so/usr/lib/x86_64-linux-gnu/libboost_regex.so/usr/lib/x86_64-linux-gnu/libboost_serialization.so/usr/lib/x86_64-linux-gnu/libboost_system.so/usr/lib/x86_64-linux-gnu/libboost_date_time.so/usr/lib/x86_64-linux-gnu/libboost_chrono.so/usr/lib/x86_64-linux-gnu/libboost_atomic.so/usr/lib/x86_64-linux-gnu/libpthread.so Found Eigen3, version: 3.3.2 Disable vectorization The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" 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 "vtk" references the file "/usr/bin/vtk" 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. Found VTK Found OpenMP GTS using gts-config /usr/bin/gts-config Using GTS from /usr Checking for one of the modules 'glib-2.0' Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include Looking for include file glib/gregex.h Looking for include file glib/gregex.h - not found Found GTS CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message): Could NOT find QGLVIEWER-qt5 (missing: QGLVIEWER_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cMake/FindQGLVIEWER-qt5.cmake:24 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:231 (FIND_PACKAGE) Configuring incomplete, errors occurred! See also "/home/amiya/yade/build/CMakeFiles/CMakeOutput.log". See also "/home/amiya/yade/build/CMakeFiles/CMakeError.log". Thanks Amiya 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 #629464]: problem to start a batch simulation
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Status: Open => Answered Robert Caulk proposed the following answer: Hello, Just a clarifying question: did you compile yade from sources? If so you will need to make an alias for your executable or provide the proper path/to/install/bin/yade-batch when running yade. If you install yadedaily [1], you should be able to simply execute yadedaily-batch batch.table simulation.py in your terminal. Best, Robert [1]https://yade-dem.org/doc/installation.html#packages -- 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 #626580]: a problem about PFV
Question #626580 on Yade changed: https://answers.launchpad.net/yade/+question/626580 Bruno Chareyre posted a new comment: Just a note: if you set the permeabilityFactor negative then the value is used as a Darcy conductivity (probably not a perfect equality but very similar order of magnitude). It implies that in this case conductivity becomes independent of particle sizes and of fluid viscosity. It can help if you want to use particle size just as a discretization parameter. 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 #626580]: a problem about PFV
Question #626580 on Yade changed: https://answers.launchpad.net/yade/+question/626580 Bruno Chareyre proposed the following answer: >The pressure curves should have a phase difference. This really depends on many parameters (compressibility of the fluid, permeability of the porous medium, stiffness and stability of the solid,... ). Not possible to judge with the info you give. 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 #295951]: yade on kubuntu 16.04
Thx Klaus! There are subtle differences of context between commands appearing in the startup script and the ones that can be typed later. I'm thus not completely surprised by what you found, although I would not have guess it of course. We could consider commiting at some point if a real solution does not emerge, but at least you helped identifying the problem. B On 04/26/2017 01:48 AM, Klaus Thoeni wrote: Question #295951 on Yade changed: https://answers.launchpad.net/yade/+question/295951 Klaus Thoeni posted a new comment: Hi Luc and others, I just posted my work-around here: https://bugs.launchpad.net/yade/+bug/1604266 HTH Klaus ___ 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 #626656]: gravity deposition computation time
Question #626656 on Yade changed: https://answers.launchpad.net/yade/+question/626656 Bruno Chareyre proposed the following answer: Quasistatic means that all inertial effects can be neglected. Not the case of gravity deposition, and not your case it seems. A concrete method that would speed up your problem would be to take the material stiffness artificially smaller than reality, but it will change collision times and other things, which will (or not, you'll have to find out) impact your final result. 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 #629486]: Particle Cylinder
New question #629486 on Yade: https://answers.launchpad.net/yade/+question/629486 I'm new to Yade. I have two particles to insert into a domain. One of them is cylindrical, how to construct for the cylindrical particles in the yade? Another Questio is How do I create a cloud os cylinders? 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
[Yade-users] [Question #629464]: problem to start a batch simulation
New question #629464 on Yade: https://answers.launchpad.net/yade/+question/629464 hello I install the 2016.06a yade on my computer, when I try the example of 'Oedometric test' which should type 'yade-batch --job-threads=1 03-oedometric-test.table 03-oedometric-test.py', it showed that 'the yade-batch hasn't been installed', does the 2016.06a version has no batch simulation? or how to start the batch simulation on 2016.06a version? 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 #629120]: why I cannot control the consolidation process when I choose a certain PSD?
Question #629120 on Yade changed: https://answers.launchpad.net/yade/+question/629120 Status: Open => Answered Robert Caulk proposed the following answer: Hello Ting, Thank you for attaching your script. makeCloud does not compact the sample. You will want to use an engine like TriaxialStressController() to compact the cloud to some specified porosity. For example, you might consider following this script [1] to reach your desired porosity. I should point out that this question has already been posted on the forums [2]. Cheers, Robert [1]https://github.com/yade/trunk/blob/master/examples/triax-tutorial/script-session1.py [2]https://answers.launchpad.net/yade/+question/255845 -- 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 #628632]: Modeling particle breakage in YADE
Question #628632 on Yade changed: https://answers.launchpad.net/yade/+question/628632 Tina Asia gave more information on the question: Hi Jan, Thanks for your reply, I tried randomDensePack withous gives spheresInCell, but I got a very unstable simulation, once it run, all spheres fly around. The simulation just gave some warnings without errors. Here is my code: from yade import pack from yade import qt,utils stone=CohFrictMat(young=5.0e10,poisson=0.25,density=2640,frictionAngle=radians(18),isCohesive=True,normalCohesion=4.5e6,shearCohesion=4.5e7,momentRotationLaw=True) O.materials.append(stone) steel=CohFrictMat(young=3.06e11,poisson=0.29,density=7861,frictionAngle=0.545,normalCohesion=0,shearCohesion=0) O.materials.append(steel) pred=pack.inSphere((0,0,0.5),0.25) #sphs=pack.regularHexa(pred,radius=0.01,gap=0,material=stone) sphs=pack.randomDensePack(pred,radius=0.025,rRelFuzz=0,material=stone) O.bodies.append(sphs) for i in sphs: #global velocity velocity=i.state.vel=(0,0,-25) O.bodies.append(geom.facetBox((0,0,0.2),(0.3,0.3,0.003),material=steel)) O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=1.5),Bo1_Facet_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom6D(interactionDetectionFactor=1.5),Ig2_Facet_Sphere_ScGeom6D()], [Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True)], [Law2_ScGeom6D_CohFrictPhys_CohesionMoment()] ), VTKRecorder(fileName='post/0deg-',recorders=['all'],iterPeriod=50), GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=5,timestepSafetyCoefficient=0.8,defaultDt=PWaveTimeStep()), NewtonIntegrator(damping=0.3,gravity=(0,0,-9.81)), ] O.trackEnergy=True O.step() O.dt=utils.PWaveTimeStep() O.usesTimeStepper=True qt.Controller() qt.View() But when I tried regularHexa packing, I got a very stable simulation. 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 #628632]: Modeling particle breakage in YADE
Question #628632 on Yade changed: https://answers.launchpad.net/yade/+question/628632 Status: Answered => Open Tina Asia is still having a problem: Hi Tina, Thanks for your reply, I tried randomDensePack withous gives spheresInCell, but I got a very unstable simulation, once it run, all spheres fly around. The simulation just gave some warnings without errors. Here is my code: from yade import pack from yade import qt,utils stone=CohFrictMat(young=5.0e10,poisson=0.25,density=2640,frictionAngle=radians(18),isCohesive=True,normalCohesion=4.5e6,shearCohesion=4.5e7,momentRotationLaw=True) O.materials.append(stone) steel=CohFrictMat(young=3.06e11,poisson=0.29,density=7861,frictionAngle=0.545,normalCohesion=0,shearCohesion=0) O.materials.append(steel) pred=pack.inSphere((0,0,0.5),0.25) #sphs=pack.regularHexa(pred,radius=0.01,gap=0,material=stone) sphs=pack.randomDensePack(pred,radius=0.025,rRelFuzz=0,material=stone) O.bodies.append(sphs) for i in sphs: #global velocity velocity=i.state.vel=(0,0,-25) O.bodies.append(geom.facetBox((0,0,0.2),(0.3,0.3,0.003),material=steel)) O.engines=[ ForceResetter(), InsertionSortCollider([Bo1_Sphere_Aabb(aabbEnlargeFactor=1.5),Bo1_Facet_Aabb()]), InteractionLoop( [Ig2_Sphere_Sphere_ScGeom6D(interactionDetectionFactor=1.5),Ig2_Facet_Sphere_ScGeom6D()], [Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(setCohesionNow=True)], [Law2_ScGeom6D_CohFrictPhys_CohesionMoment()] ), VTKRecorder(fileName='post/0deg-',recorders=['all'],iterPeriod=50), GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=5,timestepSafetyCoefficient=0.8,defaultDt=PWaveTimeStep()), NewtonIntegrator(damping=0.3,gravity=(0,0,-9.81)), ] O.trackEnergy=True O.step() O.dt=utils.PWaveTimeStep() O.usesTimeStepper=True qt.Controller() qt.View() But when I tried regularHexa packing, I got a very stable simulation. 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