Beruflich Dokumente
Kultur Dokumente
Question1:
For the square 0x4 ,0y4 let the boundary temperatures be 0C
on the horizontal and 50C on the vertical edges find the temperatures
at the interior points of square grid with 0C
h=1. 4
3
Solution: U13 U23 U33
50C
50C
2
unknown reduced to be: U12 U22 U32
3
U1 U2 U1
1 -4 1 .U=0
50C
50C
2
U3 U4 U3
1 1
U1 U2 U1
0
1 2 3 4
Ui+1,j + Ui1,j + Ui,j+1 + Ui,j1 4Ui,j = 0 0C
4U1 U2 U3 = 50
4U2 2U1 U4 = 0
4U3 2U1 U4 = 50
44 22 23 = 0
[1]
LisanEldeen Galhoud
1 4 1 1 0 1 50
0 1] [ 0 ]
[ 2 ] = [2 4
3 2 0 4 1 50
4 0 2 2 4 0
1 = 25 = U11 = U13 = U31 = U33
2 = 18.75 = U21 = U23
3 = 31.25 = U12 = U32
4 = 25 = U22
Question 2:
For the grid in figure below compute the potential at the four internal
points by finite difference method if the boundary values on the edges
are:
= 0 , 3 , 27
9 2 , 3
U=0
3 27 .
2 U12 U22
Solution:
The region defined by Laplace equation so the
1
solution U11 U21
will be:
0
1
1 2 3
U= 1 -4 1 .U=0
[2]
LisanEldeen Galhoud
11 = 2 , 21 = 2 , 12 = 11, 22 = 16
Question 3:
[3]
LisanEldeen Galhoud
1.5
1 U13 U23
1 U=3
U= .U=hf(x,y) U12 U22
1 -4 1
U=0
U=0.375
U11 U21
1
U=0 1.5
For Poisson equation solution is:
[4]
LisanEldeen Galhoud
Question 4:
U=0
U12 U22
Solution: 1
U11 U21
U=9-3y
1 U=0
3
U=1
2 U=2.5
U=0
1 U=6
U11 U21
1 0 x
1 2 3
U=3 U=2
For unknown point U22 , use equation:
2 ( + ) 0
2 0 ( + + + )
2 ( + ) ( + ) ( + ) ( + )
from the grid at this point we find:
B
a=b=1/2, p=q=1 so the solution is:
bh
qh ah
Q A
ph
[5]
P
LisanEldeen Galhoud
4/3
{3/2 4 4/3} . U = 0
3/2
11 = 2 , 21 = 4 , 12 = 1, 22 = 2
Question 5:
0.5
U11
0
[6] 0.5 1
U(x,0)=x
LisanEldeen Galhoud
11 4 1 0 0.25
[ 12 ] = [ 1 4 1 ] [ 0 ]
13 0 1 4 3.75
Question 6:
Solve the mixed boundary value problem for the Laplace equation
(U=0) in the rectangle in figure shown and the
boundary conditions:
U=x-1
2 1
U,x = 0 on the left, U = x on the lower edge,
u/ x=0
u/ x=3
U,x = 3on the right , U = x 2 1 on the upper.
U11 U21
Solution:
1
0 = 01, = (U Ua1 )givesU11 = 1 . U=x
2h 11 1.5
01 = 0.25 , 11 = 0 , 21 = 0.75, 31 = 2
[7]