A thin steel rod obeys the one-dimensional diffusion equation for temperature,
PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Computational Physics, Ch Rules on a lattice: diffusion, percolation and growth
Problem
A thin steel rod obeys the one-dimensional diffusion equation for temperature, ∂c/∂t=D∂2c/∂x2, with thermal diffusivity D=4.0×10−5m2s−1. It is discretised on a grid with spacing Δx=2.0mm and stepped forward with the explicit scheme cjn+1=αcj−1n+(1−2α)cjn+αcj+1n, α=DΔt/Δx2, using a time step Δt=0.050s.
(a) Compute α and say whether the stability condition is satisfied.
(b) At one instant three neighbouring nodes read cj−1n=80.0∘C, cjn=60.0∘C, cj+1n=50.0∘C. Find cjn+1.