DEtools[PDEchangecoords] - perform a coordinate system transformation on a partial differential equation
|
Calling Sequence
|
|
PDEchangecoords(pdes, c_ivar, c_name, n_ivar)
|
|
Parameters
|
|
pdes
|
-
|
partial differential equation, or list or set of equations
|
c_ivar
|
-
|
list of current independent variables
|
c_name
|
-
|
name of new coordinate system
|
n_ivar
|
-
|
(optional) list of new independent variables
|
|
|
|
|
Description
|
|
•
|
Given an nth order partial differential equation (or list of such equations), a list of the current independent variables, and the name of a new coordinate system, PDEchangecoords applies the appropriate transformations to each of the partial differential equations. Currently, only two or three independent variables are allowed.
|
•
|
The PDE is written in term of new partial derivatives (with respect to n_ivar). New partial derivatives are determined by the inverse of the Jacobian matrix of the transformations.
|
•
|
pdes is a single PDE, or list or set of PDEs, to which the coordinate transformation is applied. It is assumed that the given PDEs are defined in Cartesian (rectangular) coordinates.
|
•
|
c_ivar should only list the names of the current independent variables. The number of independent variables should match the dimension of the coordinate system transformation in use.
|
•
|
c_name indicates the coordinate system to convert to.
|
|
For two dimensions, the available coordinate systems are bipolar, cardioid, cassinian, elliptic, hyperbolic, invcassinian, invelliptic, logarithmic, logcosh, maxwell, parabolic, polar, rose, and tangent.
|
|
For three dimensions, the available coordinate systems are bipolarcylindrical, bispherical, cardioidal, cardioidcylindrical, casscylindrical, confocalellip, confocalparab, conical, cylindrical, ellcylindrical, ellipsoidal, hypercylindrical, invcasscylindrical, invellcylindrical, invoblatespheroidal, invprospheroidal, logcoshcylindrical, logcylindrical, maxwellcylindrical, oblatespheroidal, paraboloidal, paracylindrical, prolatespheroidal, rosecylindrical, sixsphere, spherical, tangentcylindrical, tangentsphere, and toroidal.
|
|
See coords for more information on the above coordinate systems.
|
•
|
n_ivar is a list of the names of the new independent variables. If no new independent variable names are specified, then DEtools[PDEchangecoords] uses the variables specified in the second argument.
|
•
|
Further coordinate transformations may be created and used by way of addcoords.
|
•
|
This function is part of the DEtools package, and so it can be used in the form PDEchangecoords(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[PDEchangecoords](..).
|
|
|
Examples
|
|
Important: The command DEtools[PDEchangecoords] has been deprecated. Use the superseding command PDEtools[dchange] instead.
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
Create and then use a new coordinate system, ``reverse'':
>
|
|
Warning, not an orthogonal coordinate system - no scale factors calculated.
| |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
>
|
|
Create and then use a new coordinate system, ``stretch'':
>
|
|
>
|
|
>
|
|
| (7) |
|
|