Compute derivatives in FEniCSX

As mu is a dolfinx.Function, you can print the values using mu.vector.array

For your other questions, you need to provide minimal working code examples, as you have not defined mu1-mu3, and I do not understand what you are trying to do.

1 Like