Consider the boundary-value problem for the Laplacian $\nabla^2\phi(x,y)=0$ within a semi-infinite strip $0<x<a$, $0<y<\infty$, with the following boundary conditions $$\partial_x\phi(0,y)=\partial_x\phi(a,y)=0$$ $$\phi(x,0)=f(x)$$ $$\lim_{y\rightarrow\infty}\phi(x,y)=0$$
The solution from separation of variables is $$\phi(x,y)=\sum_{n=0}^\infty c_n \exp(-n\pi y/a)\cos(n\pi x/a)$$ With the $c_n$ determined from the Fourier cosine series of $f$ $$c_{n \neq 0}=\frac{2}{a}\int_0^a dx\ f(x)\cos(n\pi x/a)$$ $$c_0=\frac{1}{a}\int_0^a dx\ f(x)$$
For the special case $f(x)=const=\phi_0$, only the $n=0$ term is nonzero, but then $\phi(x,y)=\phi_0$ doesn't satisfy all the boundary conditions, so it seems the BVP is ill-posed.
Question: We have specified $\phi$ or $\partial_x \phi$ over the boundary of the region. In a purely Dirichlet or Neumann problem, that would be enough. In this case, the boundary conditions are mixed, and it appears that there are additional conditions that must be enforced (on the boundary data) to make the problem well posed. What are these conditions?
The same problem in a rectangle $0<x<a$, $0<y<b$, and BC $\phi(x,b)=0$ with $f(x)=\phi_0$ gives the solution that $\phi(x,y)=\phi_0 (1-y/b)$. In the sense that we are taking $\lim_{b\rightarrow\infty}$ for this problem, I see how end up with the solution to the first problem, yet this is not entirely satisfactory since that solution doesn't satisfy the BCs.