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
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)
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].
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
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
>
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:
###
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
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
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
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
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
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
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
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
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
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
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
17 matches
Mail list logo