<div dir="ltr"><div dir="ltr">On Fri, Mar 29, 2019 at 10:59 AM Praveen C via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</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">Dear all<br>
I have a rather basic query. I want to write a cell-centered code on 2d hybrid (tri+quad) unstructured grids. It will be only explicit time stepping but I want to use petsc to manage the grid, solutions variables and parallelization. Will use gmsh for meshing. Could you tell me where to look for some help/tutorials/examples for such an application ?<br>
</blockquote><div><br></div><div>We do not have any examples like this. It will likely involve some debugging, but not too much.</div><div><br></div><div>1) Make sure we can read your GMsh. You want the latest release (coming out on Monday) or the master branch for this,</div><div>    since the GMsh reader is greatly improved.</div><div><br></div><div>2) If you only want PETSc to layout data and manage parallelism, then all you have to do is create a PetscSection for</div><div>    your data layout and call DMSetSection(). Everything else should work, although as I said we have no tests of hybrid</div><div>    meshes like this right now.</div><div><br></div><div>3) Consider contributing a simple example to ts/examples/tutorials since then everything would be tested, and it would provide</div><div>    an easy way for me to run similar problems and fix any bugs you find.</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">Thanks<br>
praveen</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>