You are on page 1of 1

Using three point and five point central difference representation for the second derivative,

compute the solution of the boundary value problem for the following using Gauss Seidal and
SOR scheme (use optimum relaxation factor).Boundary conditions are as

Equation Boundary conditions Grid Remarks


Poisson’s equation
𝑇 +𝑇 =𝑥 −1 |𝑥| ≤ 1, |𝑦| ≤ 1; 𝑇(𝑥, 𝑦) = 0 ∆𝑥 = 0.5, ∆𝑦 = 0.5

𝑇 +𝑇 0 < 𝑥 < 1, 0 < 𝑦 < 1; ∆𝑥 = 0.25, ∆𝑦 = 0.25


=𝑥 +𝑦 𝑇(𝑥, 𝑦) = 0

𝑇 +𝑇 = 2𝑥𝑦 0 < 𝑥 < 1, 0 < 𝑦 < 1; ∆𝑥 = 0.25, ∆𝑦 = 0.25


𝑇(𝑥, 𝑦) = 0

𝑇 +𝑇 = 𝑠𝑖𝑛𝜋𝑥 𝑇(𝑥, 0) = 𝑥; Choose grid of your


𝑇(0, 𝑦) = 𝑦; choice
𝑇(𝑥, 1) = 1;
𝑇(1, 𝑦) = 1

𝑇 +𝑇 𝑇(𝑥, 0) = 𝑥 ; Choose grid of your


= 2(1 + 𝑦) 𝑇(0, 𝑦) = 𝑦 ; choice
𝑇(𝑥, 1) = 𝑥 + 𝑥 + 1;
𝑇(1, 𝑦) = −2𝑦 + 4𝑦 + 1
𝑇 +𝑇 𝑇(𝑥, 0) = 𝑥 ; Choose grid of your
= 2𝑥 + 2 − 2𝑦 𝑇(0, 𝑦) = 𝑦; choice
𝑇(𝑥, 1) = 𝑥 + 1;
𝑇(1, 𝑦) = 1 + 𝑦

𝑇 +𝑇 𝑇(𝑥, 0) = 𝑥 ; Choose grid of your


= 2𝑥 + 2 − 2𝑦 𝑇(0, 𝑦) = 𝑦; choice
𝑇(𝑥, 1) = 𝑥 + 1;
𝑇(1, 𝑦) = 1 + 𝑦
𝑇 +𝑇 = 6𝑥 𝑇(𝑥, 0) = 𝑥 ; Choose grid of your
𝑇(0, 𝑦) = 𝑦; choice
𝑇(𝑥, 1) = 𝑥 + 𝑥 + 1;
𝑇(1, 𝑦) = −2𝑦 + 1

You might also like