Suppose we try to solve a second order PDE on a finite interval $[a,b]$, for concreteness, let us consider the heat equation $\partial_t u = \partial_{xx} u$ on $x \in (a,b)$ with some smooth initial condition $u_0(x)$. I am wondering whether the PDE is still well-posed if we impose Dirichlet as well as Neumann boundary condition simultaneously. i.e., we require $u(a,t) = u(b,t) = 0$ and $\partial_x u(a,t) = \partial_x u(b,t) = 0$ for any $t > 0$. Assume that the initial datum $u_0(x)$ is compatible with the boundary constraints as well (i.e., $u_0(a) = u_0(b) = 0$ and $\partial_x u_0(a) = \partial_x u_0(b) = 0$). May I know is it too crazy to put two different types of boundary conditions at the same time in this scenario? Does the resulting initial-boundary-value-problem still admits a unique classical solution? Thanks for any help!
Edit: Based on Rhys' comment, it seems that if we require a non-trivial solution when both type of boundary conditions are enforced, we need the original PDE problem (with only the Dirichlet BC or Neumann BC) to have multiple solutions (non-uniqueness...) Probably that's the reason why I haven't seen any sort of thing like this... (impose different types of BC for a PDE problem). I would also like to know whether someone is aware of such type of problems that is well-posed. (Obviously, heat equation here is a "bad" example).
I'll make my comment into an answer.
The Dirichlet and Neumann conditions can both be considered separately, as they are independent. In other words, you can find the sets $$\mathfrak D=\{u\mid u \text{ solves Dirichlet version} \}$$ $$\mathfrak N =\{u\mid u \text{ solves Neumann version} \}$$
and then your solutions to the combined problem are the set $\mathfrak D \cap \mathfrak N$
Further, it would be well-posed if both the respective parts are well posed.