Question: Curl of a 2D vector field and how get the components of a VectorField using the VectorCalculus package

Hi! 2 questions

1. I notice that the Curl operator of the VectorCalculus package can't compute the Divergence of a 2D vector field. Of course the most classical case is 3D, but it can also be defined for 2D. Is there any way in Maple to compute the Curl of a 2D vector field using the Curl command?

2. How one can extract the components of a VectorField ? I tried op, GetComponents (LieVectoFields package) etc... but I didn't find a simple answer on the help pages. 

e.g. V1 := VectorField(<-x, -y>, cartesian[x, y])

I want to get {-x,-y}

Many thanks !

Please Wait...