|
Calling Sequence
|
|
curl(f, v)
curl(f, v, co)
|
|
Parameters
|
|
f
|
-
|
list or vector of three expressions
|
v
|
-
|
list or vector of three variables
|
co
|
-
|
(optional), is either of type `=` or a list of three elements. This option is used to compute the curl in orthogonally curvilinear coordinate systems.
|
|
|
|
|
Description
|
|
•
|
curl(f, v) computes the curl of f with respect to v, where f is a three-dimensional function of the three variables v. When the third argument is not given, the curl of f is computed in the Cartesian coordinate system.
|
•
|
If the optional third argument co is of the form coords = coords_name or coords = coords_name([const]), curl will operate on commonly used orthogonally curvilinear coordinate systems. See ?coords for the list of the coordinate systems supported by Maple.
|
For orthogonally curvilinear coordinates v[1], v[2], v[3]
|
with unit vectors a[1], a[2], a[3], and scale factors
|
h[1], h[2], h[3]:
|
Let the rectangular coordinates x, y, z be defined in terms of the
|
specified orthogonally curvilinear coordinates. We have:
|
h[n]^2 = [diff(x,v[n])^2 + diff(y,v[n])^2 + diff(z,v[n])^2], n=1,2,3.
|
The formula for the curl of f is:
|
curl(f) = [1/(h[2]*h[3])*(diff(h[3]*f[3],v[2])-diff(h[2]*f[2],v[3])),
|
1/(h[3]*h[1])*(diff(h[1]*f[1],v[3])-diff(h[3]*f[3],v[1])),
|
1/(h[1]*h[2])*(diff(h[2]*f[2],v[1])-diff(h[1]*f[1],v[2]))];
|
|
|
|
If co is a list of three elements which specify the scale factors, curl will operate on orthogonally curvilinear coordinate systems.
|
•
|
To compute the curl in other orthogonally curvilinear coordinate systems, use the addcoords routine.
|
•
|
The command with(linalg,curl) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
Important: The linalg package has been deprecated. Use the superseding command VectorCalculus[Curl], instead.
>
|
|
>
|
|
>
|
|
define the scale factors in cylindrical coordinates
>
|
|
>
|
|
>
|
|
| (4) |
|
|
|