[petsc-users] VTK format?

Berend van Wachem berend.vanwachem at ovgu.de
Thu Sep 3 09:17:32 CDT 2020


Dear PETSc,

What is the best way to write data from a DMPLEX vector to file, so it 
can be viewed with paraview?
I've found that the standard VTK format works for a serial job, but if 
there is more than 1 processor, the geometry data gets messed up.
I've attached a small working example for a cylinder and the visualised 
geometry with paraview for 1 processors and 4 processors.
Any pointers or "best practice" very much appreciated.

Best regards,

Berend.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: visualisemesh-1proc.png
Type: image/png
Size: 47186 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200903/22003c0a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visualisemesh-4proc.png
Type: image/png
Size: 35442 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200903/22003c0a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visualizemesh.c
Type: text/x-csrc
Size: 3143 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200903/22003c0a/attachment-0001.bin>


More information about the petsc-users mailing list