Sie sind auf Seite 1von 14

F INITE -D IFFERENCE S OLUTION TO THE 2-D H EAT E QUATION

MSE 350

MSE 350

2-D Heat Equation

P ROBLEM OVERVIEW

Given: Initial temperature in a 2-D plate Boundary conditions along the boundaries of the plate. Find: Temperature in the plate as a function of time and position.

MSE 350

2-D Heat Equation

M ATHEMATICAL F ORMULATION
Energy equation:

T 2T 2T Cp =k + t x2 y2 T (x, 0, t) = given T (x, H , t) = given T (0, y, t) = given T (W , y, t) = given T (x, y, 0) = given


MSE 350 2-D Heat Equation

S OLUTION OVERVIEW
Approach: discretize the temperatures in the plate, and convert the heat equation to nite-difference form.
y

Ti1,j +1

Ti,j +1

Ti+1,j +1

Ti1,j

Ti,j

Ti+1,j

Ti1,j 1

Ti,j 1

Ti+1,j 1

x W

MSE 350

2-D Heat Equation

N OMENCLATURE

Tik,j i, j = location (node numbers) k = time (time step number)

MSE 350

2-D Heat Equation

D ISCRETIZING THE H EAT E QUATION (E XPLICIT )


y

Ti1,j +1

Ti,j +1

Ti+1,j +1

Ti1,j

Ti,j

Ti+1,j

Ti1,j 1

Ti,j 1

Ti+1,j 1

x W

x, y = node spacings in the x and y directions. T = t


1 k Tik,+ j Ti,j

2T 2T + x2 y2 Tik1,j 2Tik,j + Tik+1,j x 2 + Tik,j1 2Tik,j + Tik,j+1 y2

MSE 350

2-D Heat Equation

D ISCRETIZING THE H EAT E QUATION (E XPLICIT )

If x = y = h: T = t Tik,j+1 Tik,j = t 2T 2T + 2 x2 y Tik,j1 + Tik1,j 4Tik,j + Tik+1,j + Tik,j+1 h2

MSE 350

2-D Heat Equation

D ISCRETIZING THE H EAT E QUATION (E XPLICIT )

If x = y = h: T = t Tik,j+1 = Tik,j 2T 2T + 2 x2 y + t Tik,j1 + Tik1,j 4Tik,j + Tik+1,j + Tik,j+1 h2

MSE 350

2-D Heat Equation

S TABILITY

If x = y = h: Tik,j+1 = 1 4t h2 Tik,j + t Tik,j1 + Tik1,j + Tik+1,j + Tik,j+1 h2

Coefcient on Tik,j must be non-negative for stability.

MSE 350

2-D Heat Equation

S TABILITY
Hence,

4t 1 2 0 h so h2 t 4

MSE 350

2-D Heat Equation

B OUNDARIES
y

Ti1,j +1

Ti,j +1

Ti+1,j +1

Ti1,j

Ti,j

Ti+1,j

Ti1,j 1

Ti,j 1

Ti+1,j 1

x W

What do we do about the edges? Same as in a 1-D bar.


MSE 350 2-D Heat Equation

B OUNDARIES

What do we do about the edges? If we know the temperature of the boundaries already, we dont need to write equations for those nodes. If we know the temperature derivitive there, we invent a phantom T T node such that x or y at the edge is the prescribed value.

MSE 350

2-D Heat Equation

S TEADY-S TATE

At steady-state, time derivatives are zero: 2T 2T + x2 y2 Tik1,j 2Tik,j + Tik+1,j x 2 + Tik,j1 2Tik,j + Tik,j+1 y2 =0 =0

MSE 350

2-D Heat Equation

S TEADY-S TATE

Same x and y ( h):

Ti,j =

1 (Ti,j1 + Ti1,j + Ti+1,j + Ti,j+1 ) 4

MSE 350

2-D Heat Equation

Das könnte Ihnen auch gefallen