Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-19 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Solved Chien-Cheng Hung confirmed that the question is solved: Thanks, Jan. That's really helpful! -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-18 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Answered Jan Stránský proposed the following answer: paremter 'ids' [1] is for this: ### ids = [(i.id1,i.id2) for i in O.interactions] # all ids ids = [(i,j) for i,j in ids if not i in (0,1)

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-18 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Solved => Open Chien-Cheng Hung is still having a problem: Hi Jan, In my "vtk.exportInteractions" command, I don't want to export the interactions that are related to O.bodies[0] and O.bodies[1].

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-18 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Solved Chien-Cheng Hung 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

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-18 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Answered Jan Stránský proposed the following answer: Thanks for more info > NameError: name 'i' is not defined >

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-17 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Jan, Thanks for your reply. I still get the same error message after following your instruction. The complete error message: ###

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-17 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Needs information => Answered Jan Stránský proposed the following answer: > what=dict(weakeningTemp="weakeningTemp(i)") weakeningTemp(i) means it is a function of **one interaction**. In your

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-17 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Needs information Jan Stránský requested more information: > But it shows me that "name i is not defined". please post the complete error message thanks Jan -- You received this question

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-17 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Chien-Cheng Hung gave more information on the question: Hi Jan, I would like to export the function in vtk files as below. I adjust the body of function unlike the above you showed me. But it shows me that

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-05-17 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Solved => Open Chien-Cheng Hung is still having a problem: Hi Jan, I would like to export the function in vtk files as below. I adjust the body of function unlike the above you showed me. But it

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-23 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Solved Chien-Cheng Hung 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

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-11 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Answered Jan Stránský proposed the following answer: > Is it possible that instead of calling the function, I can make a list of data of relative velocity that is recognized in Paraview I

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-11 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Jan, Thanks a lot! > you can write a function to it and call the function in exportInteractions / exportContactPoints Is it

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-10 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Answered Jan Stránský proposed the following answer: > Can I get the formula for relative velocity [1] somewhere in Yade? Or I have to define one by myself? AFAIK you have to write it

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-10 Thread Chien-Cheng Hung
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Answered => Open Chien-Cheng Hung is still having a problem: Hi Jan, Thanks for your quick reply! > relative velocity with respect to what? relative velocity of interacting bodies for all

Re: [Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-10 Thread Jan Stránský
Question #689234 on Yade changed: https://answers.launchpad.net/yade/+question/689234 Status: Open => Answered Jan Stránský proposed the following answer: Hello Chien-Cheng, > the relative velocity of all interacted spheres. relative velocity with respect to what? relative velocity of

[Yade-users] [Question #689234]: How to export relative velocity of spheres to Paraview

2020-03-10 Thread Chien-Cheng Hung
New question #689234 on Yade: https://answers.launchpad.net/yade/+question/689234 Hi all, I am simulating direct shear experiments and I would like to visualize the relative velocity of all interacted spheres. I've tried to record the interaction of bodies using VTKRecorder but it seems there