An aluminium rod of length has thermal diffusivity

PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics

Error, Chance and the Machine, Ch Partial differential equations: stability, convergence and solvers

Problem

An aluminium rod of length L=0.02 mL = 0.02\,\mathrm{m} has thermal diffusivity D=9.7×10−5 m2 s−1D = 9.7\times10^{-5}\,\mathrm{m^2\,s^{-1}}. Its ends are held at fixed temperatures and it is discretised into N=40N = 40 interior grid points, uniformly spaced. The semi-discrete system u˙=(D/Δx2)Tu\dot{\mathbf{u}} = (D/\Delta x^2)\mathsf{T}\mathbf{u} for this grid has eigenvalues λk=−4DΔx2sin⁡2 ⁣(kπ2(N+1))\lambda_k = -\dfrac{4D}{\Delta x^2}\sin^2\!\left(\dfrac{k\pi}{2(N+1)}\right), k=1,…,Nk = 1, \ldots, N, where Δx=L/(N+1)\Delta x = L/(N+1). ((a)) Using the ratio ∣λN∣/∣λ1∣|\lambda_N|/|\lambda_1| of the largest to the smallest eigenvalue magnitude (Chapter 12's measure of stiffness for a system of ordinary differential equations), estimate the stiffness ratio of this grid. ((b)) Find the explicit stability limit Δtmax⁡\Delta t_{\max} and the number of explicit steps needed to simulate T=5 sT = 5\,\mathrm{s} of cooling. ((c)) Instead, Crank-Nicolson is run with Δt=0.01 s\Delta t = 0.01\,\mathrm{s}. Using the fact that the tridiagonal (Thomas) solver of Chapter 2 needs about 88 arithmetic operations per grid point per step, find the number of Crank-Nicolson steps and the total number of arithmetic operations spent in the tridiagonal solves over the same 5 s5\,\mathrm{s}.

Browse the problem library