Rotating a Function

Hello,

I am wondering if there’s a simple way to rotate a FENICS Function in 3D.
That is, given a function ‘u’ and an axis of rotation, return the rotated function (stored as an FENICS Function).

Thanks,
T