Heat Conduction Equation PDE
Heat Conduction Equation PDE
2
HEAT
CONDUCTION
EQUATION
HEAT CONDUCTION EQUATION
4
HEAT CONDUCTION EQUATION
5
HEAT CONDUCTION EQUATION
• Assuming that the sides of the bar
are perfectly insulated, so that
there is no transfer of heat from or Adiabatic on wall
into the rod through the sides, i.e.
heat can flow only in the axial
direction.
• The lateral dimensions of the rod
are assumed to be significantly
smaller than its length, hence the
temperature on any cross section
can be assumed to be uniform.
• Temperature u does not vary on
lateral direction (y and z direction),
only varies as function of axial
position (x direction) and time t. The amount of heat
6
HEAT CONDUCTION EQUATION
• The differential equation governing the temperature in the
bar represents a fundamental physical balance; the rate at
which heat flows into any portion of the bar is equal to the
rate at which heat is absorbed in that portion of the bar.
• The equation consists of the flux (flow) term and the
absorption term
• Consider an element of the bar lying between the cross
sections 𝑥 = 𝑥0 and x = x0+ Δ𝑥, where x0 is arbitrary and rate of heat transfer
Δ𝑥 is small
• The instantaneous rate of heat transfer H(x0,t) from left to
right across the cross section x=x0 is given by
8
HEAT CONDUCTION EQUATION
• The average change in temperature Δ𝑢, in the time
interval Δ𝑡, is proportional to the amount of heat QΔ𝑡
introduced and inversely proportional to the mass Δ𝑚 of
the element:
9
HEAT CONDUCTION EQUATION
• Balancing the flux and absorption terms, or equating the two
expressions for QΔ𝑡 :
𝜕 𝜕
𝜅𝐴 𝑢 = 𝑠𝜌𝐴 𝑢
𝜕𝑥 𝑥 𝜕𝑡
𝟐 𝝏𝟐 𝒖 𝒙,𝒕 𝝏𝒖 𝒙,𝒕
𝜶 =
𝝏𝒙𝟐 𝝏𝒕
• Partial Differential Equation of 2 nd order with dependent variable u
and 2 independent variables : x (spatial) and t (time)
• 𝑢 𝑥, 𝑡 represents the temperature distribution at any point x along
the rod and at any time t
• Boundary conditions should be incorporated, determining the
conditions/constraints on the value of temperature u at some parts
of the rod (for example at the both ends of the rod)
• Initial conditions are needed to define the condition/temperature
distribution in the rod at initial time.
11
HEAT CONDUCTION EQUATION
Boundary Conditions
• Constant temperature at an end : u(xe)=T (xe: position of an end)
Placing the end of the bar in thermal contact with some reservoir, hence any heat flow
between the bar and reservoir does not alter the temperature of the reservoir.
• Insulated end : ux=0
An end is insulated so that no heat passes through it.
• A more general type of boundary condition
If the rate of flow of heat through an end of the bar is proportional to the temperature
there. Suppose at the end x = 0, where the rate of flow of heat from left to right is given
by −κ Aux(0, t), hence the rate of heat flow out of the bar (from right to left) at x = 0 is κ
Aux(0, t). If this quantity is proportional to the temperature u(0,t), then the boundary
condition
Similarly for heat transfer at the right end of the bar (x=L),
Initial Condition
Distribution of temperature at
initial time t=0
16
SEPARATION OF VARIABLES
Heat Conduction on a Solid Bar
• The problem is to find solution u(x,t),
satisfying the differential equation, initial
conditons, and boundary conditions
• It is defined as a initial boundary value
problem in the time variable t, and
boundary value problem in the space
variable x
• It can also be viewed as a boundary value
problem in the xt-plane (picture on the
right)
• u(x,t)=0 will satisfy the differential equation
and boundary condition above, but will not
satisfy the initial condition, unless f(x)=0
• Non-zero solution u(x,t) needs to be
computed 17
SEPARATION OF VARIABLES
2
𝜕2𝑋 𝑥 𝜕𝑇 𝑡
𝛼 𝑇 𝑡 =𝑋 𝑥
𝜕𝑥 2 𝜕𝑡
2
𝛼 𝑋′′ 𝑥 𝑇 𝑡 = 𝑋 𝑥 𝑇′ 𝑡
• Rearranging, it can be expressed as:
𝑋′′ 𝑥 1 𝑇′ 𝑡
= 2
𝑋 𝑥 𝛼 𝑇 𝑡
It can be that the variables, x and t, are separated 18
SEPARATION OF VARIABLES
𝑋′′ 𝑥 1 𝑇′ 𝑡
= 2
𝑋 𝑥 𝛼 𝑇 𝑡
• To be valid for 0 < x < L, t > 0, it is necessary that both sides of the equation above be
equal to the same constant (−𝝀) , hence it can be set as :
𝑋′′ 𝑥 1 𝑇′ 𝑡
= 2 = −𝝀
𝑋 𝑥 𝛼 𝑇 𝑡
𝑋′′ 𝑥
= −𝝀 ⇒ 𝑋′′ 𝑥 + 𝝀 𝑋 𝑥 = 𝟎
𝑋 𝑥
1 𝑇′ 𝑡 ′ 2
= −𝝀 ⇒ 𝑇 𝑡 + 𝛼 𝝀𝑇 𝑡 = 𝟎
𝛼2 𝑇 𝑡
If 𝝀 = 𝟎
• The equation becomes 𝑋 ′′ (𝒙) = 𝟎
• The general solution: 𝑋 𝑥 = 𝐴𝑥 + 𝐵
• Boundary condition : 𝑋 0 = 0 ⇒ 𝐴. 0 + 𝐵 = 0 ⇒ 𝐵 = 0
𝑋 𝐿 = 0 ⇒ 𝐴. 𝐿 + 𝐵 = 0 ⇒ 𝐴𝐿 = 0 ⇒ A = 0
➔ Implying that A=B=0, hence there is no non-trivial solution for 𝝀 = 𝟎
22
SEPARATION OF VARIABLES
𝑋 ′′ (𝒙) + 𝝀𝑋 𝑥 = 𝟎
𝑋 0 =0
𝑋 𝐿 =0
The characteristic equation of the above ODE :
𝒓𝟐 + 𝝀 = 𝟎
If 𝝀 > 𝟎
• The characteristic equation : 𝒓𝟐 + 𝝀 = 𝟎 ⇒ 𝒓𝟐 = −𝝀
• The roots : 𝑟1 = 𝑗 𝝀 and 𝑟2 = −𝑗 𝝀
• The solution : 𝑋 𝑥 = 𝐴𝑐𝑜𝑠 𝝀𝑥 + 𝐵𝑠𝑖𝑛 𝝀𝑥
• Boundary condition : 𝑋 0 = 0 ⇒ 𝐴𝑐𝑜𝑠 𝝀. 0 + 𝐵𝑠𝑖𝑛 𝝀. 0 = 0 ⇒ 𝐴 = 0
𝑋 𝐿 = 0 ⇒ 𝐴𝑐𝑜𝑠 𝝀. 𝐿 + 𝐵𝑠𝑖𝑛 𝝀. 𝐿 = 0
⇒ 𝐵𝑠𝑖𝑛 𝝀. 𝐿 = 0 ⇒ 𝑠𝑖𝑛 𝝀. 𝐿 = 0
➔ Implying that non-trivial solution is obtained when
𝑛𝜋 2
𝝀. 𝐿 = 𝑛𝜋, 𝑛 = 1,2,3, … ⇒ 𝜆 =
𝐿
Giving the non-trivial solution (eigenfunctions) :
𝑛𝜋𝑥
𝑋 𝑥 = sin 𝜆. 𝑥 = 𝑠𝑖𝑛 , 𝑛 = 1,2,3, …
𝑙
23
SEPARATION OF VARIABLES
Consider the ODE for T(t)
𝑇 ′ 𝑡 + 𝛼 2 𝜆𝑇 𝑡 = 0
24
SEPARATION OF VARIABLES
• The solution for X(x) and T(t) are already obtained :
𝑛𝜋𝑥
𝑋 𝑥 = sin 𝜆. 𝑥 = 𝑠𝑖𝑛 , 𝑛 = 1,2,3, …
𝑙
𝑇 𝑡 = 𝑇𝑛 𝑡 = 𝑒 −𝛼 𝜆𝑛 t , 𝑛 = 1,2,3, …
2
𝑢 𝑥, 𝑡 = 𝑢𝑛 𝑥, 𝑡 = 𝑏𝑛 𝑒 −𝛼
2𝜆
𝑛 t 𝑠𝑖𝑛 𝑛𝜋𝑥
𝑙
𝑖=1 𝑖=1
∞
𝑛𝜋𝑥
𝑢 𝑥, 0 = 𝑏𝑛 𝑠𝑖𝑛 =𝑓 𝑥
𝑙
𝑖=1
25
SEPARATION OF VARIABLES
Initial Condition
• The coefficient 𝑏𝑛 is obtained from the initial condition.
Suppose the initial condition is
𝑢 𝑥, 0 = 𝑓 𝑥
The solution is the superposition of 𝑢𝑛 𝑥, 𝑡 =1
: when t=0
∞ ∞
−𝛼 2𝜆 t 𝑛𝜋𝑥
𝑢 𝑥, 𝑡 = 𝑢𝑛 𝑥, 𝑡 = 𝑏𝑛 𝑒 𝑛 𝑠𝑖𝑛
𝑙
𝑖=1 𝑖=1
∞
𝑛𝜋𝑥
𝑢 𝑥, 0 = 𝑏𝑛 𝑠𝑖𝑛 =𝑓 𝑥
𝑙
𝑖=1
• The form above is a Fourier sine series
Hence the coefficients 𝑏𝑛 can be obtained by
𝐿
2 𝑛𝜋𝑥
𝑏𝑛 = න 𝑓 𝑥 𝑠𝑖𝑛 𝑑𝑥
𝐿 𝑙
0
26
SEPARATION OF VARIABLES
Example :
A metal rod 50 cm long, insulated on the sides, which initially has
a uniform temperature of 20◦C throughout, and whose ends are
maintained at 0◦C for all t > 0
Find the temperature u(x, t) at any time
• Hence
∞
𝑛𝜋𝑥 𝑛𝜋 2
𝑢 𝑥, 𝑡 = 𝑏𝑛 𝑒 −𝛼 𝜆𝑛 t 𝑠𝑖𝑛
2
, 𝜆=
𝐿 𝐿
𝑖=1
27
SEPARATION OF VARIABLES
The solution :
∞
𝑛𝜋𝑥
𝑒 −𝛼 𝜆𝑛 t
2
𝑢 𝑥, 𝑡 = 𝑏𝑛 𝑠𝑖𝑛
𝑳
𝑖=1
where
𝐿 50
2 𝑛𝜋𝑥 2 𝑛𝜋𝑥
𝑏𝑛 = න 𝑓 𝑥 𝑠𝑖𝑛 𝑑𝑥 = න 𝟐𝟎𝑠𝑖𝑛 𝑑𝑥
𝐿 𝑙 50 𝟓𝟎
0 0
50
4 𝑛𝜋𝑥
= න 𝑠𝑖𝑛 𝑑𝑥
5 𝟓𝟎
0
4 50 𝑛𝜋𝑥 50
= . . −𝑐𝑜𝑠
5 𝑛𝜋 𝟓𝟎 0
40 𝑛𝜋. 𝟓𝟎 𝑛𝜋. 𝟎
= . −𝑐𝑜𝑠 + 𝑐𝑜𝑠
𝑛𝜋 𝟓𝟎 𝟓𝟎
40 40
= . −𝑐𝑜𝑠 𝑛𝜋 + 𝑐𝑜𝑠 𝟎 = . 1 − 𝑐𝑜𝑠 𝑛𝜋
𝑛𝜋 𝑛𝜋
28
SEPARATION OF VARIABLES
The coefficients :
40
𝑏𝑛 = . 1 − 𝑐𝑜𝑠 𝑛𝜋
𝑛𝜋
• Note that for 𝜋, 3𝜋, 5𝜋, … (n odd) ⇒ 𝑐𝑜𝑠 𝑛𝜋 = −1
for 2𝜋, 4𝜋, 6𝜋, … (n even) ⇒ 𝑐𝑜𝑠 𝑛𝜋 = 1
• Hence,
80
40 , 𝑛 odd
𝑏𝑛 = . 1 − 𝑐𝑜𝑠 𝑛𝜋 = ൝𝑛𝜋
𝑛𝜋
0 , 𝑛 even
Then the solution is :
∞
𝑛𝜋𝑥 𝑛𝜋 2
𝑒 −𝛼 𝜆𝑛 t
2
𝑢 𝑥, 𝑡 = 𝑏𝑛 𝑠𝑖𝑛 ,𝜆 =
50 50
𝑖=1
∞ ∞
80 1 −𝛼 2 𝜆 t 𝑛𝜋𝑥 80 1 −𝛼 2 𝑛 2 𝜋 2 t 𝑛𝜋𝑥
𝑢 𝑥, 𝑡 = 𝑒 𝑛 𝑠𝑖𝑛 = 𝑒 2500 𝑠𝑖𝑛
𝜋 𝑛 50 𝜋 𝑛 50
𝑖=1,3,5,… 𝑖=1,3,5,…
29
THNKU