DEtools,PDEchangecoords - Maple Help

Online Help

All Products    Maple    MapleSim


DEtools

  

PDEchangecoords

  

perform a coordinate system transformation on a partial differential equation

 

Calling Sequence

Parameters

Description

Examples

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

• 

Important: The command DEtools[PDEchangecoords] has been deprecated. Use the superseding command PDEtools[dchange] instead.

• 

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.

withDEtools:

PDEchangecoordsdiffzx,y,x,x,y,polar

cosyxzx,yxsinyyzx,yx

(1)

PDEchangecoordsD1,2wx,y,zD1wx,y,z,x,y,z,cylindrical,r,φ,θ

sinφcosφD1,1wr,φ,θr2cosφD1wr,φ,θrsinφcosφD1wr,φ,θr2+2D1,2wr,φ,θcosφ2rcosφsinφD2,2wr,φ,θ+D2wr,φ,θsinφr2D2wr,φ,θcosφ2D1,2wr,φ,θr+D2wr,φ,θr2

(2)

PDEchangecoordsdiffFx,y,yycosx=x,diffFx,y,y=y,x,y,maxwell

πⅇxsinyxFx,y1+ⅇ2x+2ⅇxcosy+π1+ⅇxcosyyFx,y1+ⅇ2x+2ⅇxcosyy+ⅇxsinycosx+1+ⅇxcosyππx+1+ⅇxcosyπ=0,πⅇxsinyxFx,y1+ⅇ2x+2ⅇxcosy+π1+ⅇxcosyyFx,y1+ⅇ2x+2ⅇxcosyy+ⅇxsinyπ=0

(3)

Create and then use a new coordinate system, ``reverse'':

addcoordsreverse,x,y,yx,yx4

PDEchangecoordsdiffzu,v,u,v=13diffzu,v,v89,u,v,reverse,x,y

162x2zx,y9202xyzx,y942y2zx,y94xzx,y94yzx,y9+89=0

(4)

94

42x2zx,y+52xyzx,y+2y2zx,y+xzx,y+yzx,y2=0

(5)

PDEchangecoordsD3ηx,y,z,x,y,z,confocalparab2,5

2x4x25D1ηx,y,zx2xyxz+yz+2y4y25D2ηx,y,zxyxzy2+yz2z4z25D3ηx,y,zxyxzyz+z2

(6)

PDEx21D1,1zx,y+2xyD1,2zx,y+y21D2,2zx,y+2xD1zx,y+2yD2zx,y=0:

temp_ansPDEchangecoordsPDE,x,y,polar,r,θ:

Create and then use a new coordinate system, ``stretch'':

addcoordsstretch,σ,ρ,1cosσ,ρ:

ansPDEchangecoordstemp_ans,r,θ,stretch,σ,ρ:

ansconvertans,diff

ans2ρ2zσ,ρ2σ2zσ,ρcosσ2=0

(7)

See Also

addcoords

coords

DEtools

DEtools[Dchangevar(deprecated)]

PDEtools[dchange]

plots[changecoords]

plots[coordplot]

subs