Thomas Algorithm
Thomas Algorithm
Dr ARUMUGA PERUMAL
Asst Prof
Dept of Mechanical Engg
NITK, Surathkal
FDM for 1-D diffusion equation
•Unsteady 1-D heat conduction/diffusion in a solid body is governed by (PDE)
y x=a x=b
Eqn 1
x
where 𝑢 is temperature, 𝑡 is time, 𝑥 is space coordinate in x-direction and 𝑘 is
thermal diffusivity.
•Assume that
the initial conditions: distribution of u at t = 0 and
the boundary conditions: u at x = a and b are given.
Backward time central space (BTCS) scheme
∆𝑥
x=a x=b
Space discretization
𝑇𝑁𝑛+1 = 𝑇𝑏