Problem with creating vector with scalar function components

It is the unique name dolfin has given to your function u. You can change this by:
u.rename("replace_with_new_name", "")

Shouldn’t this be either:

  • S= (mu/2) * (grad(V) + grad(V).T)
    Or equivalently
  • S=mu*sym(grad(V))

For future problems please make a minimal reproducable example, following the guidelines in: