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

Duan Junming junming.duan at epfl.ch
Mon Jun 12 07:01:55 CDT 2023


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?


Thanks!

Junming

________________________________
From: knepley at gmail.com <knepley at gmail.com>
Sent: Monday, June 12, 2023 1:34:24 PM
To: Duan Junming
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] dm_view of high-order geometry/solution

On Mon, Jun 12, 2023 at 4:13 AM Duan Junming via petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> wrote:

Dear all,


I am playing with dm/impls/plex/tests/ex33.c and know how to set high-order geometry.

Is it possible to output the final mesh to vtu, e.g. annulus example?

The problem is that VTK has no nice, standard way to talk about higher order polynomials. Thus, the
best way to do this is to call DMRefine() once or twice and output that mesh.

  Thanks,

    Matt


Thanks!

Junming


--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230612/190c7c67/attachment.html>


More information about the petsc-users mailing list