<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 3, 2020, at 10:47 AM, Jed Brown <<a href="mailto:jed@jedbrown.org" class="">jed@jedbrown.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">I'd have deleted the legacy vtk many years ago, but Matt says he uses it.</div></div></blockquote><div><br class=""></div> So he is plotting garbage or he never uses the broken stuff so it can be errorred out?</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">On Thu, Sep 3, 2020, at 9:45 AM, Barry Smith wrote:<br class=""></div><blockquote type="cite" id="qt" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word;" class=""><div class="qt-"><br class=""></div><div class=""> Shouldn't this, "just work". PETSc should not be dumping unreadable garbage into any files, does the broken PETSc code need to be removed, or error out until it can be fixed?<br class=""></div><div class="qt-"><br class=""></div><div class="qt-"> Barry<br class=""></div><div class="qt-"><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><blockquote type="cite" class="qt-"><div class="qt-">On Sep 3, 2020, at 9:53 AM, Jed Brown <<a href="mailto:jed@jedbrown.org" class="qt-">jed@jedbrown.org</a>> wrote:<br class=""></div><div class=""><br class=""></div><div class="qt-"><div class="qt-" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none;">Use the xml format (not the legacy format) by naming your file.vtu instead of file.vtk<br class=""></div><div class="qt-" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none;"><br class=""></div><div class="qt-" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none;">On Thu, Sep 3, 2020, at 8:17 AM, Berend van Wachem wrote:<br class=""></div><blockquote type="cite" id="qt-qt" class="qt-" style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none;"><div class="qt-">Dear PETSc,<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">What is the best way to write data from a DMPLEX vector to file, so it <br class=""></div><div class="qt-">can be viewed with paraview?<br class=""></div><div class="qt-">I've found that the standard VTK format works for a serial job, but if <br class=""></div><div class="qt-">there is more than 1 processor, the geometry data gets messed up.<br class=""></div><div class="qt-">I've attached a small working example for a cylinder and the visualised <br class=""></div><div class="qt-">geometry with paraview for 1 processors and 4 processors.<br class=""></div><div class="qt-">Any pointers or "best practice" very much appreciated.<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">Best regards,<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">Berend.<br class=""></div><div class="qt-"><br class=""></div><div class="qt-"><br class=""></div><div class="qt-"><br class=""></div><div class="qt-"><br class=""></div><div class="qt-"><b class="qt-">Attachments:</b><br class=""></div><ul class="qt-"><li class="qt-">visualisemesh-1proc.png<br class=""></li><li class="qt-">visualisemesh-4proc.png<br class=""></li><li class="qt-">visualizemesh.c</li></ul></blockquote></div></blockquote></div></div></blockquote></div></blockquote></div><br class=""></body></html>