>> From: Rob Scott "rscott"
Dear MUGS:
In a nutshell, I can't take the gradient of a vector field (or a Vector).
Does Maple support this?
The goal:
I'm trying to manipulate a vector field equation in Maple, but can't enter
one term.
The term is the advection term of the Navier-Stokes equation. In tensor
notation, it is:
u_j (d u_i/ d x_j)
where i,j = 1,2,3, and those are partial derivatives.
or in vector notation, it's:
v dot grad(v)
where v is a 3D vector, dot is the inner or dot product, grad is the
gradient operator.
My failed attempt:
I tried using the VectorCalculus package, and defined a vector field:
vel := VectorField( <u(x,y,z),v(x,y,z),w(x,y,z)>, 'catesian'[x,y,z]);
Grad( vel)
returns and error, and so does:
Del (vel)
Any suggestions would be appreciated. A solution in terms of tensor
notation would be ideal.
Thanks
Rob
PS If it's not standard Maple, is it perhaps part of at user-defined package?
Rob Scott
Research Associate
Institute for Geophysics
University of Texas at Austin
4412 Spicewood Springs Rd.
Building 600
Austin, TX
78759
Office: +1-512-471-0375
|