Issue when apply MPC and dirichletbc together

That kind of behavior is currently not supported.

I started some work with this a while back, But I didn’t have time to finish the user interface for it.

As a workaround, I would apply the Dirichlet condition weakly with Nitsches method, see
https://jsdokken.com/dolfinx-tutorial/chapter1/nitsche.html

1 Like