If your question is how to access different dimensions of a vector field you can use the sub()
function. As an example if you have:
u = VectorFunctionSpace(..)
as your function space, you can access u in the X direction using u.sub(0)
, and u.sub(1)
for the Y direction.