Computing shape derivatives for functions subject to DirichletBC #2749
Unanswered
APaganini
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 remark 3 of this paper David, Lawrence, Florian and I wrote that to compute the shape derivative of a function constrained to a boundary value problem with nonhomogeneous Dirichlet boundary conditions, one must modify the weak formulation and reformulate the problem into an equivalent one that has homogeneous Dirichlet boundary conditions. The issue is: I don't remember why. I suspect that this is because shape differentiation is implemented by highjacking pullbacks, but DirichletBC in solve does not lead to a pullback. Can someone confirm? Here is a minimal failing example.
Beta Was this translation helpful? Give feedback.
All reactions