<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 24, 2016 at 12:57 AM, Andrew Ho <span dir="ltr"><<a href="mailto:andrewh0@uw.edu" target="_blank">andrewh0@uw.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I created an unstructured tri6 mesh in Cubit and am trying to read it into PETSc using DMPlexCreateFromFile. However, when I do PETSc gives me an error that it doesn't support this type of element.<div><br></div><div>I know my PETSc install has Exodus II support because by giving a different Exodus mesh file with Tri3 elements works just fine. I've attached the Exodus mesh generated by Cubit. I can open up the mesh file in Paraview just fine and it does appear to be valid (it has 2 elements approximating a quarter circle wedge).</div></div></blockquote><div><br></div><div>Okay, I will look at getting this to read in alright. Notice that Paraview does exactly the wrong thing here in that it has</div><div>straight lines connecting the midpoints and corners of the triangles. They should be smooth quadratic curves, and this</div><div>misunderstanding comes from the horrible format choice which pretends that there are "extra" vertices.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Here's the error message:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[0]PETSC ERROR: --------------------- Error Message ------------------------------<wbr>------------------------------<wbr>--                                                                             <br>[0]PETSC ERROR: Argument out of range<br>[0]PETSC ERROR: Cone size 6 not supported for dimension 2<br>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>documentation/faq.html</a> for trouble shooting.<br>[0]PETSC ERROR: Petsc Development GIT revision: v3.7.3-1257-ge04de0c  GIT Date: 2016-08-24 00:14:37 -0500                                                                                      <br>[0]PETSC ERROR: bin/mesh_testing on a arch-linux2-c-opt named ahome by andrew Tue Aug 23 22:48:57 2016                                                                                         <br>[0]PETSC ERROR: Configure options --with-debugging=0 --COPTFLAGS="-O3 -march=native" --CXXOPTFLAGS="-O3 -march=native" --FOPTFLAGS="-O3 -march=native" --download-exodusii=yes --download-hdf5=yes --download-netcdf=yes                                             <br>[0]PETSC ERROR: #8 DMPlexGetRawFaces_Internal() line 93 in petsc/src/dm/impls/plex/<wbr>plexinterpolate.c                                                                  <br>[0]PETSC ERROR: #9 DMPlexGetFaces_Internal() line 20 in petsc/src/dm/impls/plex/<wbr>plexinterpolate.c                                                                     <br>[0]PETSC ERROR: #10 DMPlexInterpolateFaces_<wbr>Internal() line 172 in petsc/src/dm/impls/plex/<wbr>plexinterpolate.c                                                           <br>[0]PETSC ERROR: #11 DMPlexInterpolate() line 532 in petsc/src/dm/impls/plex/<wbr>plexinterpolate.c                                                                         <br>[0]PETSC ERROR: #12 DMPlexCreateExodus() line 168 in petsc/src/dm/impls/plex/<wbr>plexexodusii.c                                                                           <br>[0]PETSC ERROR: #13 DMPlexCreateExodusFromFile() line 46 in petsc/src/dm/impls/plex/<wbr>plexexodusii.c                                                                    <br>[0]PETSC ERROR: #14 DMPlexCreateFromFile() line 1967 in petsc/src/dm/impls/plex/<wbr>plexcreate.c                                                                          <br>[0]PETSC ERROR: #15 main() line 11 in mesh_testing.cpp                                                                                           <br>[0]PETSC ERROR: No PETSc Option Table entries<br>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov-------<wbr>---                                                                     </blockquote></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Andrew Ho</div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">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></div>