Académique Documents
Professionnel Documents
Culture Documents
Courant
Institute of
Mathematical Sciences
Magneto-Fluid Dynamics Division
Similarity Solutions of
Systems
of Partial Differential
Equations Using
p.
MACSYMA
Rosenau and
J.
L.
Schwarzmeier
Research Report
and
U.
S.
New
York University
f*
%Sf^
UNCLASSIFIED
New York University Institute of Mathematical Sciences Courant Magneto-Fluid Dynamics Division
MF-94
COO-3077-160
P.
Rosenau and
J.
L.
Schwarzmeier
October 1979
UNCLASSIFIED
ABSTRACT
The
-1-
1.
Introduction
In recent years Lie infinitesimal contact transformation
group theory has become a widely used tool for systematic ex-
Specifically,
(non-
linear)
A primary
special case those solutions which can be obtained via dimensional analysis.
ity method.
Slims
1)
a. ID
.
=-
+ b
3t^
ID
yr-rr
9t
+ C
i:k
.,
-r
9Xj^
"
^ijkl
93^^33^;;
^j = ^i
'
(^)
where
u.
= u.(x,t)
and
are
-3-
= X + eX(x,t,u) = t + eT(x,t,u)
(2a) (2b)
u'
= u + eU(x,t,u)
(2c)
MACSYMA
be
invariant to order
of Eqs.
(2).
2
e
-*-*
(x',t',u')
variance condition.
Let
M[u]
=0
M'[u']
M'[u']
-*
=0
be the
is obtained
from
M[u]
by replacing everywhere
(x,t,u)
(2)
(x',t',u')
to
M'[u']
shows
that
M'[u']
is of the form
.
where
H=H(x,t,u,X,T,U)
by requiring that
0.
Suppose we denote by
{S
m,
with respect
and/or
is a sum of terms
involving the
S^^'s,
(X,T,U)
,t,u.)
After the
'
^^'
that appear in
are independent,
the
vanish.
's
generators
earlier.
(X,T,U);
To illustrate the desirability of using MACSYMA to calculate the determining equations, suppose a partial differential
(assume scalar
and
x)
3u
r
(2c)
9x
3u'
a
[u(x,t)
+ eU(x,t,u)]
8x'
8x'
9u dx
^"^
_!_
ax-
8u dt ^^ ax-
_^
au
^"^
ax'
^ au at ^^ ax'
au
au ax ^^ ax'
_!_
au at ^^ ax'
(3)
-5-
Now for
9x_
and
at
9x'
use
Eqs.
{2a-b)
to obtain
3x"
9x_ =
9x'
1 -
8X 3u 8u 9x
+ O(e^)
(4)
and
3t
9x'
= -
3T 9x
_!_
3T 9u 9u 9x
+ O(e^)
(5)
By substituting Eqs.
(4)
and
(5)
into Eq.
(3)
and
simplifying, we obtain
9u' 9x'
9u + 9x
r9U
j_9x
_^
9u _ 9T 9u _ 9X 9x ~ 9x 9t ~ 9u
9ul
9x
9T 9u 9x0] 9u 9x 9tJ
+ O(e^)
(6)
92u'
become
9x .2
MACSYMA knows the chain rule and can simplify and factor, it
is quite feasible for MACSYMA to
dependent variables.
3.
Programming Considerations
In this section we describe the implemention of the STS
-6-
STS program where the user must modify the text to solve a
new problem.
(i.e.,
u.),
1)
, /
no time derivatives;
.
a. .,
c.
.,
d.
i
.,
,,
and
of Eq.
(1).
to the
For
example, the equation with the fewest terms goes first, etc.
After these changes are made in the reference STS program, the
-7-
In the first
The STS
.
(x,
t,u ,Xj^,T,U
.
are
This serves
that appear in
"^
are independent.
The fourth
NEQ
of the
H
's
which the
system of equations.
for the
NEQ S^'s
printout.
are derived.
Each component of
S
's;
'
= NEQ
(NX+1)
(NX/2 + 2)
(7)
V ^ 9x X
V
-r
I- v
3y
=0
-r
(8a)
X 3x
+ V
y 3y
= V
g
55
(8b)
where
v =
(v
,v
,0)
is the
coefficient of viscosity.
X z
plane for
>
y-*-!"
-9-
conditions are:
V
V
= X (y
-^
00)
= u
o
(y
(9a)
= X (y
0)
= V
= 0)
(9b)
variable is
= y
/uTx o
v y
(10a)
and that
and
v^ = u^ f^(;)
V
y
=
yj
f2
(C)
(10c)
Let us now obtain these same results as well as the general infinitesimal similarity group by means of the STS.
In
Next we insert on
NEQ:2$
NX:2$
NT:0$.
(11)
-10-
C[l,l,l]:l$
C[l,2,2]:l$
C[2,l,l] :U[1]$
(12)
C[2,1,2]:U[2]$
D[2,l,2,2]
:
NU$
where
NU
After this
VV
=u=Y=0 V u
(13)
V
V
-Y X =Vy +U X =0
-VV -X X +U u =U-uX X
(-U
+ 2uY
uu
+ 2Y
uy
)
+ 2vY
= - vU
yy
+ vU
+ uU
=0
(Y
yy
-2U
uy
+ vY y
uY
+ V =
X,Y,U,
and
as
functions of
x,y,u
and
is overdetermined.
-11-
(13)
are straight-
is
X{x,y,u,v) =
(a +
2b)x + c
(x)
Y(x,y,u,v) = by + g
(14)
where
a,b,
and
g(x)
is
an arbitrary function of
alone.
Invariance of
=
y =
0=*y'
=0=*Y (x,y=0,u,v) =0
(15a)
g(x)
(2a)
y =
<
Invariance of
=*
x=0=*x'=0=*X(x=
0,y,u,v) =
c =
(15b)
Invariance of
=>
x>
.
0=>x'
>
0=>X (x>
0,y,u,v)
>
2b + a
>
(15c)
Equations
(15)
(14)
so that the
the group
(14)
u(y =
0)
^ u'
(y =
0)
=>
U(x,y =
0,
u=0,v) =
=>
no restriction on
(16a)
Similarly,
v(y =
0)
is trivially satisfied
=*
no restriction on
= u
(16b)
u (y =
a =
")
=*
U(x,y =
00,
u = u ,v)
=*
(16c)
By combining Eqs
(7-8)
(15-16)
Y(x,y,u,v) = by
U(x,y,u,v) =
(17)
V(x,y,u,v) =
- bv.
jr-y-u-'
'''
2b^-b7~~(18)
.,q. ^^^'
is
(19a)
(18)
(19b)
-13-
dx
dy
dv
,-^,
(2 0)
gives
(19c)
Equations
(19)
(10)
obtained
-14-
Acknowledgements
NSG 1323.
-15-
References
1.
(Addison-
-16-
Appendix
H.,i=
and
2.
's,
,
with respect to
H.
That is,
.
first
S,
nomial in
S_, etc.
S
'
of powers of the
of the
S
's
appears in
H.
the deter-
equations
(8)
is
-17-
COMPONENT NUMBER
OF THE EXPRESSION
rtRE
DETERMINING EQUATIONS
DETERMINED IS:
d
+
<
ZEROP
<(-
FX
FX )*S
2
dU
2
dU
1
14
d
FX
FU
2
dX
2
dU
2
dX
11
FX
+
1
FU
dU
14
)*S
d
+
((-
FX
FX )S
2
dU
2
dU
1
13
dX
11
FX
+
FU )*S
2
7
dU
d
+
(-
FX
+
1
FU )*S
FU dX
2 2
FU )*EPSLON
dX
1
1
dX
2
dU
2
13
COMPONENT NUMBER
OF THE EXPRESSION
ZEROP
(<- 2*(
FX
)#NU*S
1
+ 4
2*<
dU
2
dU
2
d
+
(
dU
21 )NU#S
2 2 d
FX
3d
+
<(
12
d
FX )NU*S
1
2*(
FX )NU)*S
1
dX
dU
22
2 2
FX
2*<
FX ))#NU*S dUdUl 12
<- 2*<
FX dU
2
FU )*NU - 2*U #(
2
1 1
FX dU
2
2
+ U
*(
FX
))S
1
dX
2
dU
2
dU
2
2
d
+
2 d
2
<(- 2<
FX
+ 2
FX )NU*S
1
dU
1
dU
2
dU
)
-18-
2
d
+
2
d d
((- 2*(
FX
2(
FX dU
2(
FU ))*NU - U dU
(
2
FX
dU
2 d
+
dX
2
12
dX FX )*S
1
12
1
dU
dU
2
d
+
(
2*U *(
1
FX ))*S
dU
1
- U ( 7
1
FX )NU*S
dU
2
13
dU
2
14
d
+
(
FX
2
1
2*<
FX dX
2 2
dX
2
d U *< 2 dX 2
FX
1
dX
2
d
- U *<
IdXl
2
d
12
d
FX
- U *(
2dUl
2 d
)
FU
FU )*S
14
dU
22
1
FX )*NUS
7
((2*(
FX dU
1
FU )*NU + 2*U *(
2
1
FX
))S
2
7
dX
2
dU
1
dU
1
2 d
d
+
<- U *<
1
FX )*S
dU
2
2
FX
>*NU*S
2
FX
2 2
- 2*(
FU ))*NU dU
13
dU
2
14
dX
2
12
d
(
dX
d
+ U
*(
FX
dX
2
2
U *(
1
FX
dX
1
FU )*S
2
7
+ U
1
*(
FU dU
2
1
S
13
FU )*NUS dU
2
1
14
2 d
(
FU )*NU + U *<
2
1
FU dX
2
1
U *<
1
FU ))*EPSLON dX
1
dX
(088) (C89)
BATCH DONE
-19-
The functions
H.
'
we note that
d dU2
and
H_
by applying
-21-
This report was prepared as an account of Government sponsored work. Neither the United States, nor the Administration, nor any person acting on behalf of the
Administration
A.
Makes any warranty or representation, express or implied, with respect to the accuracy, completeness, or usefulness of the information contained in this report, or that the use of any information, apparatus, method, or process disclosed in this report may not infringe privately owned rights or
;
B.
Assumes any liabilities with respect to the use of, or for damages resulting from the use of any information, apparatus, method, or process disclosed in this report.
As used in the above, "person acting on behalf of the Administration" includes any employee or contractor of the Administration, or employee of such contractor, to the extent that such employee or contractor of the Administration, or employee of such contractor prepares, disseminates, or provides access to, any information pursuant to his employment or contract with the Administration, or his employment with such contractor.
-22-
1\U
DCdUU.
...
Similarity solutions of
systf"iR of p.d. e.
Mathematical Sciences
251 Mercer
St.
New
This book
York, N. Y.
10012
1980
may be
kept
JUN 2 4
FOURTEEN DAYS
A
fine wilJ
is
kept overtime.