[petsc-users] dm_view of high-order geometry/solution

Jed Brown jed at jedbrown.org
Mon Jun 12 07:52:48 CDT 2023


Matthew Knepley <knepley at gmail.com> writes:

> On Mon, Jun 12, 2023 at 6:01 AM Duan Junming <junming.duan at epfl.ch> wrote:
>
>> Dear Matt,
>>
>> Thank you for the reply. I have a more specific question about the
>> spectral element example. Do you have any suggestions that how to write
>> all the nodes in each cell to .vtu?
>>
> It is the same procedure. VTU is not a great format for this. It wants
> everything at first order.

I would recommend configuring with --download-cgns and running with -dm_view cgns:output.cgns. This format has efficient parallel IO and curved elements work for moderate order in Paraview.


More information about the petsc-users mailing list