Boundary Constraints in Tutorial not being enforced?

Please note that Dolfin is deprecated, and that you should consider moving to dolfinx.

For DOLFINx Ive made a similar tutorial.
https://jsdokken.com/dolfinx-tutorial/chapter2/ns_code2.html

There is very little value in setting these, as all those dofs at the boundary are strongly enforced in the first tentative solve. You would only get a slight difference in the region between the boundary and the first element inside the boundary…

1 Like