Laplace equation with von Neumann boundary condition
Asked by
Peter Franek
I tried to solve an equation Laplace(u)=0 with a boundary condition on derivative, \partial_n u=u_0. This equation has a solution iff \int u_0 ds=0. However, the solution is determined only up to a constant. How to do it in FEniCS? I tried to formulate it as a variational problem with no Dirichlet boundary condition, but it computed a result that contained very large numbers (like E13). Is there a way to "tell him" to look for the solution not in the space ("Lagrange", 1) but in a space of functions with zero integral, or so?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Marie Rognes
- Solved:
- Last query:
- Last reply:
To post a message you must log in.