Hello,
I am considering a two-dimensional PDE problem. One of the boundary conditions (BC) is relating the derivative at one part of the boundary $\Gamma_{1}$ to the value of the unknown function at another part of the boundary, $\Gamma_{2}$:
$$c \left.\frac{\partial u(x,y)}{\partial x}\right|_{(x,y) \in \Gamma_{1}} =\left. u(x,y)\right|_{(x,y) \in \Gamma_{2}},$$
where $ c$ is a constant. On the remaining parts of the boundary, I have standard Dirichlet or Neumann BCs.
Let us assume that the problem is well-posed. My problem then is that I do not know how to implement this BC in FEniCS.
Many thanks!