How can a boundary condition of the form \frac{d u}{dx} = 0 = 0, \frac{d u}{dy} = 0 , at x,y = (0,0)? #1901
Unanswered
rafael-fuente
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to find solutions to a 2D PDE that satisfy that both derivatives are 0 at (x,y) = (0,0)
I've tried defining them as Neumann boundary conditions when solving Poisson equation$-u_{xx} - u_{yy} - 1 = 0$ in the domain $\Omega=[-1,1]^2$ :
But I get the error:
ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 1 has 1 dimension(s)
Note that, however, If I change the boundary conditions to be satisfied along the entire line x = 0 instead of at a point (x,y) = (0,0), I don't get the error:
But I'm interested in the problem that they are only defined at$(x,y) = (0,0)$
Beta Was this translation helpful? Give feedback.
All reactions