UserExpression in dolfinx

I think the discussion here may help