I would like to solve the laplace-equation in 2 dimensions, using mixed boundary conditions. The code I used is:
NDSolve[ {D[u[x, z], x, x] == -D[u[x, z], z, z],u[x, 10] == 0, (D[u[x, z], z] /. z -> 10) == 0,u[x, 0] == SquareWave[x]}, u, {x, 0, 10}, {z, 0, 10}] The error messages I get are:
CoefficientArrays::poly: (u^(0,1))[x,10] is not a polynomial. NDSolve::fembdnl: The dependent variable in (u^(0,1))[x,10]==0 in the boundary condition DirichletCondition[(u^(0,1))[x,10]==0,z==10.] needs to be linear. I don't know what's the problem, can you help me figure out this error messages?
Best regards
Thorsten

zdirection and 0 boundary condition inxdirection.) $\endgroup$