Neumann boundary

Hi,

I understand that if we apply a Neumann boundary condition to the Poisson problem, there is no unique solution. I was wondering if there is a standard way to solve this problem in NGSolve by specifying a specific value for say a boundary point.

Best,
Dow

You can set one vertex dof to dirichlet with

fes.FreeDofs()[dofnr] = False

Then the problem should be solvable and the solution is 0 in that vertex.

Best
Christopher