Question #695966 on Yade changed:
https://answers.launchpad.net/yade/+question/695966
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
it seems you are using and older version of Yade (you should have included the
information [3] :-)
Previously, "what" parameter used to be a list/tuple of 2-length key-value
tuples. It was changed to dict, as dict is more natural for the data structure
[4].
Try:
vtk.exportFacets(..., what=[('velocity','b.state.vel')])
or for more quantities:
vtk.exportFacets(...,
what=[('vel','b.state.vel'),('pos','b.state.pos'),('dspl','b.state.displ()')])
cheers
Jan
[3] https://www.yade-dem.org/wiki/Howtoask
[4]
https://gitlab.com/yade-dev/trunk/-/commit/763208677a8043f99a2fb4ebe225608c2c8ff910
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp