Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941
Christian Jakob proposed the following answer: Sorry for my totally dump suggestion in the last post. I checked out your script today and recognized, that you tried to plot a vector b0displ over iteration number. Small workaround to fix that: def addPlotData(): d0 = O.bodies[0].state.displ() d1 = O.bodies[1].state.displ() plot.addData(i=O.iter,b0displ=d0[2],b1displ=d1[2]) But you will get zero all the time, because meniscii is not created. So this you can do by changing these lines: r = 1e-4 #particle radius h = 1e-6 #praticle distance #create two sphere paticles# O.bodies.append([ utils.sphere(center=(0,0,0),radius=r,fixed=False), utils.sphere((0,0,2*r-h),r) ]) hih, c -- You received this question notification because you are a member of yade-users, which 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