How to get the first order derivative of the solution and store it in a numpy array

Yes, that makes sense.

See for instance: Numerical values from ufl.SpatialCoordinate - #2 by dokken

1 Like