<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 16, 2016 at 10:11 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
> On Jul 14, 2016, at 12:21 PM, domenico lahaye <<a href="mailto:domenico_lahaye@yahoo.com">domenico_lahaye@yahoo.com</a>> wrote:<br>
><br>
</span><div><div class="h5">> Dear PETSc team,<br>
><br>
> 1) I am looking into ks/examples/tutorials/ex42.c I am still new to the DMDA structure<br>
>     and likely not giving it as much time as it deserves. However, I do not see immediately<br>
>     what function is responsible for calling PCMGSetSmoother and PCMGSetResidual.<br>
><br>
>      I tried to call PCMGGetCoarseSolve(pc, &kcpc) and subsequently<br>
>      KSPGetOperators (kspc, ... ) to check how the coarse grid operator is defined<br>
>      after calling DMCoarsenHierarchy, but that failed.<br>
><br>
>      I am solving Helmholtz with shifted Laplace, and managed to exploit DMDA to perform<br>
>      a multigrid solve on the preconditioner. In a next stage I want to implement the deflation<br>
>      using DMDA as well.<br>
><br>
> 2) On <a href="http://www.mcs.anl.gov/petsc/documentation/referencing.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/documentation/referencing.html</a> I see<br>
><br>
> @Misc{petsc-web-page,<br>
>             author = {Satish Balay and Shrirang Abhyankar and Mark~F. Adams and Jed Brown and Peter Brune<br>
>                       and Kris Buschelman and Lisandro Dalcin and Victor Eijkhout and William~D. Gropp<br>
>                       and Dinesh Kaushik and Matthew~G. Knepley<br>
>                       and Lois Curfman McInnes and Karl Rupp and Barry~F. Smith<br>
>                       and Stefano Zampini and Hong Zhang and Hong Zhang},<br>
>             title =  {{PETS}c {W}eb page},<br>
>             url =    {<a href="http://www.mcs.anl.gov/petsc" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc</a>},<br>
>             howpublished = {\url{<a href="http://www.mcs.anl.gov/petsc}" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc}</a>},<br>
>             year = {2016}<br>
>           }<br>
><br>
><br>
><br>
> Is the last author mentioned twice intentionally?<br>
><br>
> 3) On <a href="http://www.mcs.anl.gov/petsc/publications/petscapps-bib.html#OpenFOAM%202.2.1" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/publications/petscapps-bib.html#OpenFOAM%202.2.1</a> I see<br>
><br>
> @misc{OpenFOAM<br>
> ,<br>
><br>
><br>
> title =       "OpenFOAM",<br>
><br>
> howpublished  =       "\url{<a href="http://www.openfoam.com" rel="noreferrer" target="_blank">http://www.openfoam.com</a>}",<br>
><br>
> url   =       {<a href="http://www.openfoam.com" rel="noreferrer" target="_blank">http://www.openfoam.com</a>},<br>
><br>
> note  =       "OpenFOAM is a free, open source CFD software package. It allows PETSc linear algebra and solvers to be used underneath.",<br>
><br>
> key   =       "OpenFOAM 2.2.1"<br>
><br>
> }<br>
><br>
><br>
> Do you have more information on the use of PETSc within OpenFoam?<br>
<br>
</div></div>  Very good question. It seems that this citation is wrong or no longer valid; I have removed it from the PETSc repository. I could find no mention of PETSc usage in the OpenFoam and its third party packages. I think we should not have been listing this citation.</blockquote><div><br></div><div>This suggests that people are using it with OpenFOAM: <a href="http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/slides/PatersonNuTTS2009.pdf">http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/slides/PatersonNuTTS2009.pdf</a></div><div><br></div><div>In fact, they use PETSc in the dynamic overset grid implementation for OpenFOAM, which I think is an approved extension:</div><div><br></div><div>  <a href="http://web.student.chalmers.se/groups/ofw5/Abstracts/DavidBogerAbstractOFW5.pdf">http://web.student.chalmers.se/groups/ofw5/Abstracts/DavidBogerAbstractOFW5.pdf</a></div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888"><br>
   Barry<br>
</font></span><div class=""><div class="h5"><br>
><br>
> 4) @matt in response to a question he raised in Vienna<br>
><br>
> MIPSE is a BEM solver. Details are on:<br>
> <a href="http://www.g2elab.grenoble-inp.fr/plateforms/mipse-modeling-of-interconnected-power-systems-632862.kjsp?RH=G2ELAB_R-MAGE" rel="noreferrer" target="_blank">http://www.g2elab.grenoble-inp.fr/plateforms/mipse-modeling-of-interconnected-power-systems-632862.kjsp?RH=G2ELAB_R-MAGE</a><br>
><br>
> Cheers, Domenico Lahaye.<br>
><br>
<br>
</div></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>