← 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:

    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 interacting
bodies for all interactions?

you can use export.VTKExporter [1]
vtk = export.VTKExporter()
above, b.state.vel and i.phys.normalForce is only illustrative, needs to be replaced by actual formula for relative velocity
If you use older Yade version, the correct format might be list of tuples instead of dict: what=[("velRelative","b.state.vel")]


[1] https://yade-dem.org/doc/yade.export.html#yade.export.VTKExporter

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