← Back to team overview

yade-users team mailing list archive

Re: [Question #703750]: How to visualize the deformation in paraview

 

Question #703750 on Yade changed:
https://answers.launchpad.net/yade/+question/703750

    Status: Open => Answered

Jan Stránský proposed the following answer:
> I get a black output screen

while terminal prints "No suitable packing in database found, running PERIODIC compression"?
If so, you have to wait, or set spheresInCell to a lower value, e.g. 500

>     vtkExporter = export.VTKExporter('baseFileName')

you will get
NameError: name 'export' is not defined

>
vtkExporter.exportSpheres(what=dict(particleDisplacment='b.state.displ()'),useRef=True)
<<

as it is, it saves initial state (zero displacement).
If you want to see progress, use it inside a PyRunner or after something like O.wait()

Cheers
Jan

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