Degraded SNES performance with static condensation and mixed Dirichlet/Neumann BCs #3642
Unanswered
lindsayad
asked this question in
Firedrake support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the attached code we (together with @rhebergens and @bensworth) are solving a nonlinear vector advection-diffusion equation with HDG. If we use a direct solver on the full linearized system (no static condensation), run command
python3 minimalHDG.py --sol lu
, then SNES converges in 10 iterations. If we usefiredrake.SCPC
and a direct solver on the statically condensed linear problem, run commandpython3 minimalHDG.py --sol scpclu
, then SNES converges in 27 iterations. Any ideas why this could be? We only noticed this for problems that have both Dirichlet and Neumann boundary conditions. Also, if we impose the Dirichlet boundary conditions weakly in the formulation instead of using DirichletBC, we noticed that the SNES count is the same whether we apply a direct solver on the full system or on the statically condensed system.Beta Was this translation helpful? Give feedback.
All reactions