Question 16.13: The Laplace equation ∇²u = uxx + uyy = 0  is defined over th...

The Laplace equation \nabla^2 u=u_{x x}+u_{y y}=0   is defined over the following triangular region, {x = 0; y = 0; x + y = 5}. The following boundary conditions are prescribed

i) u = 0 over the edges x = 0, y = 0

ii) u = 25 − x² − y² at the edge x + y = 5

Find the values of u(x, y) at the nodal points of the square region with mess length 1, with the aid of Gauss–Seidel method till the last two iterations have same values up to three decimal points.

The blue check mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

Since we have to compute the values of u(x, y) at the nodal points of the triangular region {x = 0; y = 0; x + y = 5} with mess length 1. Therefore, mesh points are given by

\begin{aligned} &x_0=0, x_1=1, x_2=2, x_3=3, x_4=4, x_5=5 \\ &y_0=0, y_1=1, y_2=2, y_3=3, y_4=4, y_5=5 \end{aligned}

Let u_{i j}=u\left(x_i, y_j\right) . We have to compute the values of u_{11}, u_{21}, u_{31}, u_{12}, u_{22}, u_{13} .

The following boundary conditions are defined

i) u = 0 over the edges x = 0, y = 0
ii) u = 25 − x² − y² at the edge x + y = 5

So, we have

\begin{aligned} &u_{00}=u_{10}=u_{20}=u_{30}=u_{40}=u_{50}=0 \\ &u_{01}=u_{02}=u_{03}=u_{04}=u_{05}=0 \\ &u_{14}=u_{41}=8 \\ &u_{23}=u_{32}=12 \end{aligned}

It is easy to apply standard 5-points formula for calculations at each nodal point to get following equations

\begin{array}{ll} \text { At }(1,1) & u_{21}+u_{12}-4 u_{11}=0 \\ \text { At }(2,1) & u_{31}+u_{11}+u_{22}-4 u_{21}=0 \\ \text { At }(3,1) & u_{21}-4 u_{31}=-20 \\ \text { At }(1,2) & u_{22}+u_{11}+u_{13}-4 u_{12}=0 \\ \text { At }(2,2) & u_{12}+u_{21}-4 u_{22}=-24 \\ \text { At }(1,3) & u_{12}-4 u_{13}=-20 \end{array}

We get following iterations of Gauss–Seidel method for u_{11}, u_{21}, u_{31}, u_{12}, u_{22}, u_{13}

Iteration 1
5.000000 6.000000 0.000000 5.000000 0.000000 0.000000
Iteration 2
5.687500 7.375000 2.750000 5.687500 2.750000 0.000000
Iteration 3
5.902344 7.804688 3.609375 5.902344 3.609375 1.375000
Iteration 4
5.969482 7.938965 3.877930 5.969482 3.877930 1.804688
Iteration 5
5.990463 7.980927 3.961853 5.990463 3.961853 1.938965
Iteration 6
5.997020 7.994040 3.988079 5.997020 3.988079 1.980927
Iteration 7
5.999069 7.998137 3.996275 5.999069 3.996275 1.994040
Iteration 8
5.999709 7.999418 3.998836 5.999709 3.998836 1.998137
Iteration 9
5.999909 7.999818 3.999636 5.999909 3.999636 1.999418
Iteration 10
5.999971 7.999943 3.999887 5.999971 3.999887 1.999818

The final solution is given by

u_{11}=2, u_{21}=4, u_{31}=6, u_{12}=4, u_{22}=8, u_{13}=6

Note: The Laplace equation and boundary conditions are symmetrical about the line y = x. So, the problem can also be discussed with following symmetry consideration

u_{21}=u_{12} \text { and } u_{31}=u_{13}

26

Related Answered Questions