Hello,
you can define a FunctionSpace V of the same kind that you used in your own code and instantiate a function on this FunctionSpace. You can then fill in its degrees of freedom with your own Numpy array and then compute stresses or strains:
V = FunctionSpace(mesh, ... )
u = Function(V)
u.vector().set_local(my_numpy_array)
epsilon = sym(grad(u))
you will just need to figure out how your dofs are arranged compared to the dofmap used by FEniCS