yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23111
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:
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) and not j in (0,1)] # filtered ids not containing 0 and 1
vtk.exportInteractions(ids=ids,...)
###
cheers
Jan
[1] https://yade-
dem.org/doc/yade.export.html#yade.export.VTKExporter.exportInteractions
--
You received this question notification because your team yade-users is
an answer contact for Yade.