How to interpolate solution obtained from 1D mesh to Vector function space on 2D mesh

Please see Read before posting: How do I get my question answered?

I edited your post because the code as you posted was unreadable by other users. Please edit again your first post using “```” when posting the code. If for some reason you can’t edit your own post, simply reply with the code properly formatted.