You may want to search in the forum before posting. There is a message on literally the same thing just 3 posts under yours Alternative to vectorfunctionSpace - #2 by nate
Furthermore, your codes aren’t properly formatted, and thus it’s very hard to follow what you wrote.