yade-users team mailing list archive
Mailing list archive
Re: [Question #681115]: How to plot vector plot in Paraview for particle displacement of simulation run in Yade?
Question #681115 on Yade changed:
Status: Open => Answered
Jan Stránský proposed the following answer:
Thanks for the code
> Do I make any mistake in command?
VTKExporter remembers how many times it saved something and use
contiguous numbering, starting from 0. In your case, every time doExport
is called, it creates new VTKExporter, which starts saving from 0.
vtk= export.VTKExporter('.../101_dspl-') # called only once
vtk.exportSpheres(useRef=True,what=[('dspl','b.state.displ()')]) # now each time a new file with new number is saved
You received this question notification because your team yade-users is
an answer contact for Yade.