<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Use the xml format (not the legacy format) by naming your file.vtu instead of file.vtk</div><div><br></div><div>On Thu, Sep 3, 2020, at 8:17 AM, Berend van Wachem wrote:<br></div><blockquote type="cite" id="qt" style=""><div>Dear PETSc,<br></div><div><br></div><div>What is the best way to write data from a DMPLEX vector to file, so it <br></div><div>can be viewed with paraview?<br></div><div>I've found that the standard VTK format works for a serial job, but if <br></div><div>there is more than 1 processor, the geometry data gets messed up.<br></div><div>I've attached a small working example for a cylinder and the visualised <br></div><div>geometry with paraview for 1 processors and 4 processors.<br></div><div>Any pointers or "best practice" very much appreciated.<br></div><div><br></div><div>Best regards,<br></div><div><br></div><div>Berend.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>visualisemesh-1proc.png<br></li><li>visualisemesh-4proc.png<br></li><li>visualizemesh.c<br></li></ul></blockquote></body></html>