[petsc-users] Poisson problem with boundaries inside the domain

Mani Chandra mc0710 at gmail.com
Mon Oct 30 10:49:38 CDT 2017


I'm trying to solve the Poisson problem but with Dirichlet boundaries
inside the domain (in addition to those imposed in the ghost zones). I'm
using DMDA to create a structured grid and SNES coupled to this DMDA to
solve the problem.

The issue is that SNES doesn't converge when I impose Dirichlet boundary
values inside the domain. I tried setting the residual corresponding to
these internal points to zero but that isn't helping. Is there a right way
to approach this problem? I just want to tell SNES to remove the chosen
internal grid points from the solver iterations.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171030/1d225bca/attachment.html>

More information about the petsc-users mailing list