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 pollutant diffuses vertically through soil with D=2.0×10−10m2s−1. The concentration is discretised with grid spacing Δx=1.0cm and time step Δt=1.0day=86400s, using the explicit scheme cjn+1=αcj−1n+(1−2α)cjn+αcj+1n.
(a) Compute α and confirm the stability condition holds.
(b) At some instant three neighbouring nodes read cj−1n=5.0mgL−1, cjn=3.0mgL−1, cj+1n=1.0mgL−1. Find cjn+1.