← Back to team overview

yade-users team mailing list archive

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

 

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
> vtk.exportSpheres(ids=list(range(2,len(O.bodies))),what=dict(weakeningTemp="weakeningTemp(i)"))

vtk.exportSpheres expect "b" as the body.
vtk.exportInteractions expect "i" as the interaction.
You have to choose :-)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.