Skip to main content

Finite difference nodal temperatures in a square plate

Short answer

Using finite-difference method with square grid, interior node temperature is the average of its four neighbours. Solving the nodal equations for the given boundary conditions yields T1 = T2 = 250 °C and T3 = T4 = 150 °C.

Explain the finite-difference method for two-dimensional steady-state conduction and obtain the nodal equation for an interior node. A long square bar has its cross-section divided into a square grid of mesh size dx = dy with four interior nodes arranged 2 x 2 [nodes 1 and 2 in the top row, nodes 3 and 4 in the bottom row]. The top surface of the bar is held at 500 °C, and the left, right and bottom surfaces at 100 °C. Find the four nodal temperatures.

Finite-difference method

The region is covered by a grid of nodes spaced Δx\Delta x and Δy\Delta y. The Laplace equation ∂2T∂x2+∂2T∂y2=0\dfrac{\partial^2T}{\partial x^2}+\dfrac{\partial^2T}{\partial y^2}=0 is replaced using central differences:

∂2T∂x2≈Tm+1,n−2Tm,n+Tm−1,nΔx2,∂2T∂y2≈Tm,n+1−2Tm,n+Tm,n−1Δy2\frac{\partial^2T}{\partial x^2}\approx\frac{T_{m+1,n}-2T_{m,n}+T_{m-1,n}}{\Delta x^2},\qquad \frac{\partial^2T}{\partial y^2}\approx\frac{T_{m,n+1}-2T_{m,n}+T_{m,n-1}}{\Delta y^2}

For Δx=Δy\Delta x = \Delta y this gives the interior-node equation

Tm,n=14(Tm+1,n+Tm−1,n+Tm,n+1+Tm,n−1)T_{m,n} = \frac{1}{4}\left(T_{m+1,n}+T_{m-1,n}+T_{m,n+1}+T_{m,n-1}\right)

so each node is the average of its four neighbours. Writing it for every unknown node gives a set of linear equations, solved by matrix inversion or iteration (Gauss-Seidel).

Nodal equations

   500   500   500   500
 100 [ 1 ]-[ 2 ] 100
      |      |
 100 [ 3 ]-[ 4 ] 100
   100   100   100   100

Node 1 neighbours: top 500, left 100, node 2, node 3.

4T1=500+100+T2+T34T2=500+100+T1+T44T3=100+100+T1+T44T4=100+100+T2+T3\begin{aligned} 4T_1 &= 500 + 100 + T_2 + T_3\\ 4T_2 &= 500 + 100 + T_1 + T_4\\ 4T_3 &= 100 + 100 + T_1 + T_4\\ 4T_4 &= 100 + 100 + T_2 + T_3 \end{aligned}

Solution

The conditions are symmetric about the vertical centre line, so T1=T2T_1 = T_2 and T3=T4T_3 = T_4:

3T1−T3=6003T3−T1=200\begin{aligned} 3T_1 - T_3 &= 600\\ 3T_3 - T_1 &= 200 \end{aligned}

From the second, T1=3T3−200T_1 = 3T_3 - 200. Substitute in the first: 9T3−600−T3=6009T_3 - 600 - T_3 = 600, so T3=150T_3 = 150 °C and T1=250T_1 = 250 °C.

Check in node 1 equation: (500+100+250+150)/4=250(500+100+250+150)/4 = 250. Correct.

Answer: T1=T2=250 ∘T_1 = T_2 = 250\ ^\circC; T3=T4=150 ∘T_3 = T_4 = 150\ ^\circC.

✓ Answer checked by Claude Sonnet 5.5

All Heat Transfer chapter 2 questions →