<div dir="ltr"><div>Hi Jed,<br></div>thank you for your reply. Two followup questions below:<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-04 22:18 GMT+02:00 Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Ingo Gaertner <<a href="mailto:ingogaertner.tus@gmail.com">ingogaertner.tus@gmail.com</a>> writes:<br>
<br>
> We have never talked about Riemann solvers in our CFD course, and I don't<br>
> understand what's going on in ex11.<br>
> However, if you could answer a few of my questions, you'll give me a good<br>
> start with PETSc. For the simple poisson problem that I am trying to<br>
> implement, I have to discretize div(k grad u) integrated over each FV cell,<br>
> where k is the known diffusivity, and u is the vector to solve for.<br>
<br>
</span>Note that ex11 solves hyperbolic conservation laws, but you are solving<br>
an elliptic equation.<br></blockquote><div><br></div><div>I begin to understand. Petscs FVM methods don't provide a FVM library that can be used to implement the FV control volume approach (see Ferziger) for general CFD problems? They are around just because they have been used to tackle one or two specific problems, is this correct?<br></div><div>I thought they could be used similar to the OpenFvm or OpenFoam libraries which seem to solve Poisson, Navier-Stokes, Euler and other problems. If such methods have not been prepared for Petsc, I'll just follow Ferzigers book and start my work on a lower level than I thought would be necessary. More work, more fun :)<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> (My second question is more general about the PETSc installation. When I<br>
> configure PETSc with "--prefix=/somewhere --download-triangle<br>
> --download-parmetis" etc., these extra libraries are built correctly during<br>
> the make step, but they are not copied to /somewhere during the "make<br>
> install" step.<br>
<br>
</span>Where are they put during configure?<br></blockquote><div><br></div><div>My bad, Petsc installation works as expected. But the build system that I am using is doing something weird. I'll have to find out, what's going wrong there, but it is not related to Petsc.<br><br></div><div>Thank you!<br></div><div>Ingo</div></div><br></div></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
<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" target="_blank" style="color:#4453ea">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>