Thread Previous • Date Previous • Date Next • Thread Next |
Question #671372 on Yade changed: https://answers.launchpad.net/yade/+question/671372 Status: Open => Answered Robert Caulk proposed the following answer: Hello, I guess this is mostly a paraview question: "I am not able to set the conditions in paraview such that I can get a variation of velocities of sphere during collapsing of the slope." As I read it, you would like to plot the particle velocities during the slope collapse? Velocities are easily plotted in paraview, so I get the feeling this might be a VTK iterperiod problem, but tough to speculate any further without more information from you. Can you describe exactly what you are seeing in paraview in addition to exactly what you expect to see? Regarding the statement: "!joint cohesion total degradation! | iteration= 2000" This is simply a statement that you are printing in your script when the iteration number exceeds a predefined number of iterations and a reference point Y abs(velocity) exceeds (in a Y direction sense) some predefined Y velocity: if degrade and O.iter>=stableIter and abs(O.bodies[refPoint].state.vel[1])<stableVel : print '!joint cohesion total degradation!', ' | iteration=', O.iter which appears to be followed by an explicit command to remove all joint interaction cohesion and strength: for i in O.interactions: if i.phys.isOnJoint : if i.phys.isCohesive: i.phys.isCohesive=False i.phys.FnMax=0. i.phys.FsMax=0. So in other words, as soon as your predefined iteration threshold and velocity value at your reference point are met, your script automatically removes joint cohesion and strength. Cheers, Robert -- You received this question notification because your team yade-users is an answer contact for Yade.
Thread Previous • Date Previous • Date Next • Thread Next |