<div dir="ltr"><div dir="ltr">On Mon, Sep 18, 2023 at 4:16 PM Khurana, Parv <<a href="mailto:p.khurana22@imperial.ac.uk">p.khurana22@imperial.ac.uk</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 class="msg6029123020343313014">
<div lang="EN-GB" style="overflow-wrap: break-word;">
<div class="m_6029123020343313014WordSection1">
<p class="MsoNormal"><span style="color:rgb(14,16,26)">Hello PETSc users,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)">Thank you for this very active community of users and the mailing list.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)">I am looking for a PETSc example which solves the Poisson equation on a 2D domain using FEM (or HO-FEM if possible). I would like the following:<u></u><u></u></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoNormal" style="color:rgb(14,16,26)"><span>The example should be formulated fully on PETSc, and to be solved with KSP objects in PETSc.<u></u><u></u></span></li><li class="MsoNormal" style="color:rgb(14,16,26)"><span>The problem should scale up to a few hundred processors (ideally 1000 procs).<u></u><u></u></span></li><li class="MsoNormal" style="color:rgb(14,16,26)"><span>Ideally on a unit square with either Square or Triangle element discretization.<u></u><u></u></span></li><li class="MsoNormal" style="color:rgb(14,16,26)"><span>There should be an option to specify Dirichlet/Neumann-type BCs on the boundaries.<u></u><u></u></span></li></ol>
<p class="MsoNormal"><span style="color:rgb(14,16,26)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)">I was wondering if someone could point me to such an example as I am relatively new to PETSc – and I am trying to avoid reinventing the wheel. I have had a look at Examples 29,32,50
and 66 in the PETSc tutorials – while they are very close to what I need I am not sure if they scale to a few hundred processors. Furthermore, I am aware that I can formulate such a problem with FENICS/Firedrake with relative ease and these software interfaces
with PETSc quite well. However, I am just trying to see if such an application already exists purely in PETSc.<u></u><u></u></span></p>
<p class="MsoNormal"><br></p></div></div></div></blockquote><div><br></div><div>It looks like Mark has everything working. However, if you have problems getting that to run, I am here at ICL this week.</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 class="msg6029123020343313014"><div lang="EN-GB" style="overflow-wrap: break-word;"><div class="m_6029123020343313014WordSection1"><p class="MsoNormal"></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)">Thanks, and Best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(14,16,26)">Parv<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><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>