<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:'Times New Roman',Times,serif">
<p>Dear Jed,</p>
<p><br>
</p>
<p>Thank you for the suggestion.</p>
<p>When I run tests/ex33.c with</p>
<p><span>./ex33 -dm_plex_simplex 0 -dm_plex_box_faces 1,1 -mesh_transform annulus -dm_coord_space 0 -dm_coord_petscspace_degree 3 -dm_refine 1 -dm_view cgns:test.cgns</span><br>
</p>
<p><span>and load it using Paraview,</span></p>
<p>the mesh is still with straight lines.</p>
<p><span style="font-size:12pt">Should I modify the code to make cgns work? Or any other examples for me to start?</span></p>
<p><br>
</p>
<p>Thanks!</p>
<p>Junming</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Jed Brown <jed@jedbrown.org><br>
<b>Sent:</b> Monday, June 12, 2023 2:52:48 PM<br>
<b>To:</b> Matthew Knepley; Duan Junming<br>
<b>Cc:</b> petsc-users@mcs.anl.gov<br>
<b>Subject:</b> Re: [petsc-users] dm_view of high-order geometry/solution</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Matthew Knepley <knepley@gmail.com> writes:<br>
<br>
> On Mon, Jun 12, 2023 at 6:01 AM Duan Junming <junming.duan@epfl.ch> wrote:<br>
><br>
>> Dear Matt,<br>
>><br>
>> Thank you for the reply. I have a more specific question about the<br>
>> spectral element example. Do you have any suggestions that how to write<br>
>> all the nodes in each cell to .vtu?<br>
>><br>
> It is the same procedure. VTU is not a great format for this. It wants<br>
> everything at first order.<br>
<br>
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.<br>
</div>
</span></font>
</body>
</html>