Issue with corner value using adaptive mesh

31 views
Skip to first unread message

David Montiel Taboada

unread,
Feb 28, 2022, 4:12:16 PM2/28/22
to dea...@googlegroups.com, Vishwas Goel
Hello, 

I am working on PRISMS-PF (which is deal.II based) and trying to find an issue with a corner value not being properly set. 

The problem happens when the code is finding the solution of a poisson type equation iteratively, e.g.

\nabla^2 \phi = f(\phi)

I set up a 2D system, and I am using adaptive mesh. We set the initial guess of the field \phi to a constant value everywhere. After the solution is found, the x=y=0 node becomes zero (this is not the correct solution), whereas the rest of the system looks fine (sea image below).

visit0001.png
This only happens when we use adaptive mesh (not uniform). And we have noticed that it happens if we use Neumann boundary conditions on both sides of the corner, or a combination of Neumann and periodic BCs (we have not tried other combinations).

Does anyone know what may be causing this problem?

Thank you!

David

Bruno Turcksin

unread,
Mar 4, 2022, 3:54:06 PM3/4/22
to deal.II User Group
David,

Hard to tell what's the problem here. Might be a problem with the AffineConstraints. Are they correct? Do you distribute them when you should?

Best,

Bruno
Reply all
Reply to author
Forward
0 new messages