<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 3, 2017 at 2:50 PM, Ingo Gaertner <span dir="ltr"><<a href="mailto:ingogaertner.tus@gmail.com" target="_blank">ingogaertner.tus@gmail.com</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">Dear all,<br>as part of my studies I would like to implement a simple finite volume CFD solver (following the textbook by Ferziger) on an unstructured, distributed mesh. It seems like the DMPlex class with its DMPlex*FVM methods has prepared much of what is needed for such a CFD solver.<br>Unfortunately I couldn't find any examples how all the great solutions can be used that appear to be already implemented in PETSc. Are some basic tutorials available, for example how to solve a simple poisson equation on a DMPlex using PETSc's FVM methods, so that I don't have to reinvent the wheel?<br></div></blockquote><div><br></div><div>There are no tutorials, and almost no documentation. The best thing to look at is TS ex11. This solves a bunch of different equations</div><div>(advection, shallow water, Euler) with a "pointwise" Riemann solver. Feel free to ask questions about it. However, I acknowledge</div><div>that the learning curve is steep. I have put much more time into the FEM examples. I will eventually get around to FVM, but feel free</div><div>to contribute a simple example (the TS ex45, 46, and 47 were contributed FEM examples).</div><div><br></div><div>  Thanks,</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">Thanks<br>Ingo<br><br></div><div id="m_-6516768804621389606DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tbody><tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" width="46" height="29" style="width:46px;height:29px"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:#4453ea" target="_blank">www.avast.com</a>            </td>
        </tr>
</tbody></table>
<a href="#m_-6516768804621389606_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></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>