[petsc-users] Multiblock structured grid

Matthew Knepley knepley at gmail.com
Tue May 17 06:43:23 CDT 2016


On Tue, May 17, 2016 at 3:58 AM, Sebastian Uharek <sebastian at prebtec.de>
wrote:

> Hi,
> I have a multi block structured grid, where the individual blocks share
> information at the boundaries through ghost cells. I would like to solve a
> poisson equation with PETSc on this grid. My original code updated the
> ghost cell information after every iteration. At the current stage I’ve
> treated this ghost cell variables in my PETSc code explicitly, but I don’t
> know if it’s possible (or a good idea) to update the RHS after every
> iteration. The alternative would be to deal with the interblock
> connectivities implicitly, leading to a different matrix structure. Are
> there any suggestions, what would be the best choice for my problem?
>

If you only pass information at the boundary, you are basically using the
original Schwarz method to solve it. This is pretty slowly
convergent. If you couple everything implicitly, you could use a much more
efficient solver, like AMG for Poisson.

  Thanks,

    Matt


> Thanks,
> Sebastian




-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160517/210f0579/attachment.html>


More information about the petsc-users mailing list