None of the boundary conditions are created correctly to work for a problem with Mixed elements. See: https://jsdokken.com/dolfinx-tutorial/chapter3/component_bc.html Or Solving Stokes equation with NewtonSolver - #4 by dokken