Re: [Yade-users] [Question #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 tech posted a new comment: Even I was facing the same 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
Re: [Yade-users] [Question #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 Status: Answered => Solved Rioual confirmed that the question is solved: Thanks Chareyre, 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 #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 Status: Open => Answered Chareyre proposed the following answer: Please close this question and open another one for a different topic. The last question has answers in documentation, by the way. Bruno Le ven. 22 mars. 2019 17:43, Rioual a écrit : > Question #679387 on Yade changed: > https://answers.launchpad.net/yade/+question/679387 > > Status: Solved => Open > > Rioual is still having a problem: > Hello Jan, > > How do I deal with the InteractionLoop in the engines (Ip2, Law2) wheen I > have these two sets of particles with different material > properties constituting the packing ?? > > thanks, > > Fr. > > -- > 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 #679420]: TriaxialStressController on a cloud of particles without contact, in a fluid
Question #679420 on Yade changed: https://answers.launchpad.net/yade/+question/679420 Status: Answered => Solved Rioual confirmed that the question is solved: Thanks Chareyre, 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 #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 Status: Solved => Open Rioual is still having a problem: Hello Jan, How do I deal with the InteractionLoop in the engines (Ip2, Law2) wheen I have these two sets of particles with different material properties constituting the packing ?? thanks, Fr. -- 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 #679428]: unable to display sphere with latest version
Question #679428 on Yade changed: https://answers.launchpad.net/yade/+question/679428 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, We are not actively testing builds on openSuse. The error message "Missing separate debuginfo for.." is not very specific and it apparently appears in ultiple forums, usually related to opensuse and various softwares. It would be useful to know which revision made this problem occur. Are you 100% sure that another version compiled the same way on the same system will work (then which 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
[Yade-users] [Question #679428]: unable to display sphere with latest version
New question #679428 on Yade: https://answers.launchpad.net/yade/+question/679428 i am using the latest git version of Yade and compiled it on Opensuse 15.0 without any error but alot of warnings...as ususal! but recently I got aproblem for having a display of the spheres here the final lines in the debug mode when I run yade 01-bopuncing case and prss display 3D: Missing separate debuginfo for /usr/lib64/kde4/plugins/imageformats/kimg_xview.so Try: zypper install -C "debuginfo(build-id)=a85fc879980a1489d22bab033684de284a79320c" 0x7f8380cf2d97 in waitpid () from /lib64/libc.so.6 /tmp/yade-q0wBU7/tmp-0:3: Error in sourced command file: Invalid thread ID: info I did not catched where I have to look to solve this new problem? Thanks in advance for your help Luc here the cmake log of the yade generation: isce-suse:/home/Yade/build # cmake -DUSE_QT5=OFF -DPYTHON_EXECUTABLE=/usr/bin/python2 -DCMAKE_VERBOSE_MAKEFILE=ON -DLocalBoost=1.166 -Wno-dev -Wno-deprecated -Wno-int-in-bool-context -DENABLE_LBMFLOW=OFF -DENABLE_TWOPHASEFLOW=OFF -DENABLE_PFVFLOW=OFF -DQGLVIEWER_INCLUDE_DIR=/usr/local/include/QGLViewer -DLocalBoost=1.66.0 -DDEBUG=ON ../trunk -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python2 (found version "2.7.14") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake (found version "4.8.7") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Version is set to 2019-03-14.git-8b073f5 -- Found OpenGL: /usr/lib64/libOpenGL.so -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Found GL2PS: /usr/lib64/libgl2ps.so -- Found CGAL: /usr/include, /usr/lib64/libCGAL.so -- Found NumPy: version "1.14.0" /usr/lib64/python2.7/site-packages/numpy/core/include -- Found Loki: /usr/include -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 -- GCC Version >= 4.8. Adding -save-temps -- GCC Version >= 4.9. Adding -fstack-protector-strong -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.66.0 -- Found the following Boost libraries: -- python -- thread -- filesystem -- iostreams -- regex -- serialization -- system -- date_time -- chrono -- atomic -- Boost_VERSION: 106600 -- Boost_LIB_VERSION: 1_66 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: /usr/lib64/libboost_python.so/usr/lib64/libboost_thread.so/usr/lib64/libboost_filesystem.so/usr/lib64/libboost_iostreams.so/usr/lib64/libboost_regex.so/usr/lib64/libboost_serialization.so/usr/lib64/libboost_system.so/usr/lib64/libboost_date_time.so/usr/lib64/libboost_chrono.so/usr/lib64/libboost_atomic.so -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.14") -- Found Eigen3, version: 3.3.4 -- Disable vectorization -- Found VTK -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- 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/lib64/glib-2.0/include -- Looking for include file glib/gregex.h -- Looking for include file glib/gregex.h - not found -- Found GTS -- Found GLUT: /usr/lib64/libglut.so -- USE QT4 -- Found QGLVIEWER-qt4: /usr/local/include/QGLViewer -- Found Qt4: /usr/bin/qmake (found version "4.8.7") -- Found GUI-LIBS -- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so -- Found GMP: /usr/include -- GMP libs: /usr/lib64/libgmp.so /usr/lib64/libgmpxx.so -- Found CGAL -- SuiteSparse version 4.5.5
Re: [Yade-users] [Question #679420]: TriaxialStressController on a cloud of particles without contact, in a fluid
Question #679420 on Yade changed: https://answers.launchpad.net/yade/+question/679420 Status: Open => Answered Chareyre proposed the following answer: Hi, yes, it makes no difference for the fluid solver if particles are in contact or not. There is less validation of the local hydraulic conductivity model for very dilute suspensions, but it will give a result anyway. Bruno Le ven. 22 mars. 2019 11:52, Rioual a écrit : > New question #679420 on Yade: > https://answers.launchpad.net/yade/+question/679420 > > Hello, > > Is it possible to use "TriaxialStressController" on a packing of particles > which have initially no contacts (a cloud of particles) in > a viscous fluid (described by the DEM PFV coupling as in the example > oedemeter.py) ?? > > Thank you for your views, > > Fr. > > -- > 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 #679422]: how to set the orientation quaternion parameter so as to fully rotate a 3-d object
Question #679422 on Yade changed: https://answers.launchpad.net/yade/+question/679422 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, Let's start with an example: O.bodies.append(box((1,1,1),(4,2,1))) # a box wider along x-axis than along y-axis quat = Quaternion((0,0,1),pi/3.) # a rotation by pi/3 around z axis O.bodies[0].state.ori = quat * O.bodies[0].state.ori # we rotate the box : look at the qt.View() (the graphical interface), the box is now wider along y-axis for instance Then, your intention should be fulfilled by testing N cases with N different "quat", that you have to choose to sufficiently cover all possible orientations. Note the above code can be condensed into "O.bodies.append(box((1,1,1),(4,2,1),Quaternion((0,0,1),pi/3.)))" Maybe it would help to precise what kind of YADE shape you'll use in your YADE simulations of irregular particles. -- 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 #679422]: how to set the orientation quaternion parameter so as to fully rotate a 3-d object
New question #679422 on Yade: https://answers.launchpad.net/yade/+question/679422 Hey I am doing a research to check the rebound response of an irregular particle against the ground. As my particle is irregular, the orientation of the particle could have an impact on the rebound response, after all, different contact point could make a big difference. I want to cover all orientations. Please help me with how to set the orientation quaternion so as to realize my intention. -- 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 #679411]: About cell.trsf and cell.velGrad
Question #679411 on Yade changed: https://answers.launchpad.net/yade/+question/679411 Status: Answered => Solved zhou qian 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 #679420]: TriaxialStressController on a cloud of particles without contact, in a fluid
New question #679420 on Yade: https://answers.launchpad.net/yade/+question/679420 Hello, Is it possible to use "TriaxialStressController" on a packing of particles which have initially no contacts (a cloud of particles) in a viscous fluid (described by the DEM PFV coupling as in the example oedemeter.py) ?? Thank you for your views, Fr. -- 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 #679419]: Potential Particles
New question #679419 on Yade: https://answers.launchpad.net/yade/+question/679419 Dear all, I would like to play with particle shape modelling and saw that potential particles are implemented in yade. Since I try to use them, I’m having troubles to make yade compile/run. Dou you know if this part of the code is frequently used/well tested or rather experimental? Before, I had yade-2018.02b installed on kubuntu 18.04. My old and working version of yade was compiled with the following flags (potential particles were automatically disabled): cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DCMAKE_CXX_FLAGS="-frounding-math" -DUSE_QT5=1 -DENABLE_TWOPHASEFLOW=0 -DENABLE_PFVFLOW=0 -DENABLE_LBMFLOW=0 -DENABLE_LINSOLV=0 Just adding -DENABLE_POTENTIAL_PARTICLES=1 led to an error during compilation: In file included from /home/bettinasuhr/TestYade2018/trunk/pkg/common/Gl1_PotentialParticle.cpp:37:0: /home/bettinasuhr/TestYade2018/trunk/lib/opengl/OpenGLWrapper.hpp:12:2: error: #error "This build doesn't support openGL. Therefore, this header must not be used." #error "This build doesn't support openGL. Therefore, this header must not be used." Reading my cmake output, I tried to run cmake with: cmake -DCMAKE_INSTALL_PREFIX=../install ../trunk -DCMAKE_CXX_FLAGS="-frounding-math" -DUSE_QT5=1 -DENABLE_TWOPHASEFLOW=0 -DENABLE_PFVFLOW=0 -DENABLE_LBMFLOW=0 -DENABLE_LINSOLV=0 -DENABLE_POTENTIAL_PARTICLES=1 -DOpenGL_GL_PREFERENCE="GLVND" This time cmake, make and make install finished without errors. But when I run yade, it crashes: bettinasuhr@innb01534-kub:~/TestYade2018/build$ ../install/bin/yade-2018.02b Welcome to Yade 2018.02b Traceback (most recent call last): File "../install/bin/yade-2018.02b", line 129, in import yade File "/home/bettinasuhr/TestYade2018/install/lib/x86_64-linux-gnu/yade-2018.02b/py/yade/__init__.py", line 65, in import boot ImportError: /home/bettinasuhr/TestYade2018/install/lib/x86_64-linux-gnu/yade-2018.02b/libyade.so: undefined symbol: dgesv_ I have no idea, what the problem could be. Any help will be appreciated. Thanks, 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
Re: [Yade-users] [Question #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 Status: Open => Solved Rioual 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 #679387]: packing of spheres with different properties
Question #679387 on Yade changed: https://answers.launchpad.net/yade/+question/679387 Rioual gave more information on the question: Hello Jan, Thanks for your clear answers. So, I did what you propose and I have error messages: " 0 1 2 .. 799 800 801 802 803 804 805 " A problem with the numbering of the bodies in the for loops?? My code is below Best Fr. * from yade import pack num_spheres=1000# number of spheres nspc= int(num_spheres*3/5) nspb= int(num_spheres*1/5) young=1e6 C=1e6 compFricDegree = 30 # initial contact friction during the confining phase finalFricDegree = 11 # contact friction during the deviatoric loading (for ice!!) targetPorosity = 0.5 mn,mx=Vector3(0,0,0),Vector3(1,1,1) # corners of the initial packing #walls O.materials.append(FrictMat(young=young,poisson=0.5,frictionAngle=0,density=0,label='walls')) walls=aabbWalls([mn,mx],thickness=0,material='walls') wallIds=O.bodies.append(walls) # sp=yade.pack.SpherePack() nc= sp.makeCloud(mn,mx,-0.5,0.3,nspc,False, 0.95,seed=1) #" first packing c nb =sp.makeCloud(mn,mx,-0.2,0.3,nspb,False, 0.95,seed=1) #"second packing b sp.toSimulation() for i in range(0,nc): O.bodies[i].mat = CohFrictMat(young=young,poisson=0.5,fragile=True, normalCohesion = C,shearCohesion=C,frictionAngle=radians(compFricDegree),density=2600, label='cristal') # set material of spheres with ids from nc to nb (the 2nd makeCloud) for i in range(nc,nb): O.bodies[i].mat = CohFrictMat(young=young,poisson=0.5,fragile=True, normalCohesion = C, shearCohesion=C,frictionAngle=radians(compFricDegree),density=1,label='bubble') # check for b in O.bodies: print b.id,b.mat ### -- 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 #679411]: About cell.trsf and cell.velGrad
Question #679411 on Yade changed: https://answers.launchpad.net/yade/+question/679411 Status: Open => Answered Jan Stránský proposed the following answer: Hi, see [1]. The code says: trsfNew = trsfOld + dt*velGrad*trsfOld then (e.g.) velGrad = (trsfNew-trsfOld)/dt * inv(trsfOld) cheers Jan [1] https://gitlab.com/yade-dev/trunk/blob/master/core/Cell.cpp#L6 -- 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 #679411]: About cell.trsf and cell.velGrad
New question #679411 on Yade: https://answers.launchpad.net/yade/+question/679411 Hi: I am now using the periodic boundray and I need to modify the cell size in almost every steps. I want to know how do the 'Values of velGrad accumulate in trsf'. For example, in the current step, the transformation(cell.trsf) is trsf1. And in the next step, I want the cell.trsf to be trsf2. So how to set the cell.velGrad? It seems that velGrad=(trsf2-trsf1)/O.dt is not correct? Yours, Joe -- 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