<div dir="ltr"><div dir="ltr">On Mon, Oct 11, 2021 at 9:29 AM Gong Yujie <<a href="mailto:yc17470@connect.um.edu.mo">yc17470@connect.um.edu.mo</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
I'm learning PETSc DMPlex module recently. A problem occurs to my PETSc when I'm using DMPlexCreateExodusFromFile() to import a mesh file. I've tried to generate a mesh with Pointwise and ICEM, but both mesh files can't be input to PETSc. The Error code is
:</div></div></blockquote><div><br></div><div>I am not familiar with Pointwise or ICEM. The problem here is that the element type 'TRIANGLE' is not recognized by PETSc, and it</div><div>does not appear in the ExodusII documentation that I am using:</div><div><br></div><div> <a href="https://gsjaardema.github.io/seacas-docs/html/element_types.html">https://gsjaardema.github.io/seacas-docs/html/element_types.html</a></div><div><br></div><div>It is also not used by Cubit/Trellis. I am not sure why your program is making non-standard ExodusII files.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</i></span>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: Invalid argument</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: Unrecognized element type TRIANGLE</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: See <a href="https://petsc.org/release/faq/" target="_blank">https://petsc.org/release/faq/</a> for trouble shooting.</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: Petsc Release Version 3.16.0, Sep 29, 2021</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: ./exocircle on a arch-linux-c-debug named DESKTOP-0RMI66F by fstcam Mon Oct 11 10:54:35 2021</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack --download-metis --download-parmetis --download-exodusii
--download-netcdf --download-hdf5 --download-superlu --download-triangle --download-zlib --download-pnetcdf --download-make --download-cmake</i></span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: #1 ExodusGetCellType_Internal() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1390[0]PETSC ERROR: #2 DMPlexCreateExodus() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1472</i></span></div>
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i>[0]PETSC ERROR: #3 DMPlexCreateExodusFromFile() at /home/fstcam/petsc/petsc-3.16.0/src/dm/impls/plex/plexexodusii.c:1352</i></span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<span style="font-family:Calibri,Helvetica,sans-serif;font-size:10pt"><i><br>
</i></span></div>
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255);display:inline">Looking forward to your reply!</span><br>
</div>
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255);display:inline"><br>
</span></div>
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:Calibri,Helvetica,sans-serif">Best Regards,</span></div>
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="font-family:Calibri,Helvetica,sans-serif">Gong</span></div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>