How to get animation of simulation process in Yade simulation?

Asked by weijie

Dear all,

Is there a way or function to obtain and export the animation of the simulation process?

Thanks in advance.
Jie

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

You can for instance combine the use of SnapshotEngine [*], with a subsequent call (after your simulation ends and all snapshots exist -- you may need to install an external package) to makeVideo [**]

You could also use (outside YADE) Paraview, after VTK export of relevant simulation data.

[*] https://yade-dem.org/doc/yade.wrapper.html?highlight=snapshot#yade.wrapper.SnapshotEngine
[**] https://yade-dem.org/doc/yade.utils.html#yade.utils.makeVideo

Revision history for this message
Robert Caulk (rcaulk) said :
#2

I should point out that Paraview is objectively superior to SnapshotEngine and should be considered the preferred method for post processing and visualization.

Revision history for this message
weijie (amandajoe) said :
#3

Thanks Jérôme Duriez, that solved my question.