This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

How to solve a PDE with zero Neumann BCs?

0 votes

I am trying to solve an evolution equation (Allen - Cahn type) with ZERO Neumann boundary conditions over all boundaries. Function SOLVE, admits three arguments including variational problem, desired solution and bcs. Zero Neumann bcs are handled automatically using FEM, therefore I don't need to put the third arguments. Without the third arguments, Solve does not work. How can I resolve this problem?

asked Jul 13, 2014 by Navid Mozaffari FEniCS Novice (510 points)

1 Answer

+1 vote

Can you post an example? From the documentation it looks like it should be fine without the third field:
http://fenicsproject.org/documentation/dolfin/1.0.0/python/programmers-reference/fem/solving/solve.html

You can also try using [] to denote an empty set.

answered Jul 14, 2014 by mwelland FEniCS User (8,410 points)

Thank you so much

...