


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Fluid MechanicsFluid MechanicsFluid MechanicsvvFluid Mechanics
Typology: Lecture notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Consider the linear parabolic equation
a2u + a(x,t) a4u = 0 , a ( x , t ) > 0 at 2 ax 4
in the region of the (x, t) plane given by I x (0 g t • T) where I -- (0 • x g 1) and x, t are the distance and time co-ordinates respectively. If the region is covered by a rectilinear grid with h, k the grid spacings in the x- and t-directions respectively, we can show by Taylor expansion of the operators that the difference equa- tion
i an 62(a ) - 1 + _ _r 2 an + l ~ : ]u n + l [I+--~- o x 12 P o
1 an 62(a ~)-1^ + ~ ar^2 n^6 4 IU^ n
is locally accurate to terms that are 0 (h4) = 0 (k 2) at the grid points x = oh, t = n k (1 ¢ o ¢ M-l, 1 ¢ n ¢ N-l)
where Mh= 1, N k = T. In (1.2) U~ is the solution of
the difference equation at the grid point x = oh, t = nk,
an is the value of a at x = oh, t = nk, r is the mesh ratio
the x-direction. It is assumed that u e C6 and a e" C4.
It is the purpose of this note to extend this scheme to two space dimensions, in which case the linear para- bolic equation under consideration will be
a 2 U + a ( x , y , t ) ~ a 4 u + b ( x , y , t ) - - a 4 u = 0 at 2 ax 4 ay 4 a (x, ys t) > 0, b (x, y, t) > 0 (1.3)
It is convenient to consider the initial boundary value problem consisting of (1.3) together with
u (x, y, o) = fl (x, y)
~ (x, y, o) = f2 (x, y) jt- (x,y) e.
u (Xs y, t) = gl (x, y, t) 82u (x, y, t) = g2 (x, y, t) ~x 2 ( x , y ) e a f~, 0~ t,; T
a2u
ay 2
where f~ is a connected region in the (x, y) plane and an is its boundary. The region ~ x (0,; t,; T) is covered by a rectilinear grid with grid spacings h, k in the space and time co-ordlnates respectively. If f~ is a unit square, the internal grid points are given by x = a h , y = m h ( l g p , m g M - 1 ) w h e r e M h = l. For the particular case a(x, y, t) = b (x, y t) = 1 it is simple to derive the high accuracy formula
n-
where Un Ps m is the value of U at the grid point x = oh,
y = m h s t = n k. By performing a similar analysis to that in McKee (1973) and Gourhy and Mitchell (1968) we obtain the dif- ference scheme
p, m p, m
In order to facilitate computation (2.2 7 can be re-
a ( x , y , t ) = I ( 1 - x 2 / 2 + y 2 / 8 + t 2 / 8 ) 2yr
b ( x , y , t ) = 1 ( l + x 2 / 2 - y 2 / 8 - t 2 / 8 ) 2,r 2
together with the initial conditions
u (x, y, o) = 0 au a-V (x, y, o) = ~ sin~ x sin,r y
and the boundary conditions u (o, y, t) = u (1, y, t) = 0 u ( x , o , t ) = u (x, 1,t) = 0
~2u (o, y, t) = a2~u (1, y, t) = 0 ay 2 ay 2
a2U (x, o, t) = a2u ( x , l , t ) = 0 ax 2 ax 2
The theoretical solution is
u (x, y, t) = sin ,rt sin ,rx sin ,ry.
In this case f~ isO~ x , y ~ 1. Numerical calculations using (2.2) in the split form (5.1) and (6.2) were carried out u n ~ t = 0.05 with mesh ratios of 0.05, 0.1, and 0.25. The maximum absolute relative errors are shown in Table 2. In both these examples high accuracy boundary approximations were not employed. Despite this, the use of (1.2) and (2.2) in place of the two explicit methods (6.1) and (6.2) leads to a signi~cant improve- ment in accuracy.