QUESTION 4 [8 MARKS TOTAL] Q4 Hand calculations (see Workshops 21 and 22 for relevant content)...
QUESTION 4 [8 MARKS TOTAL] Q4 Hand calculations (see Workshops 21 and 22 for relevant content) Consider the 1-D diffusion equation: Eqn 3 да d²q at Ox? Write the centered in space, Crank-Nicolson (CN) discretization of this equation. Consider just ONE Fourier mode of the representation of the error, and write it in the simplified form (defined at time level n, and node j) as Eqn (4) Using this Fourier mode, undertake a von Neumann stability analysis for the CN discretization and derive (and clearly state) the amplification factor as a function of the timestep St. You can assume that the error satisfies the same difference equation as the solution for Q, (because it does). &;" = Aºe ik jox SHOW ALL YOUR WORKING MEC3456 Assignment Page 5 of 9 Compare the amplification factor for CN to the amplification factor for the Forward in Time, Centered in Space (FTCS) discretization derived in lectures. Is the CN method stable, conditionally stable or unstable? Comment in your PDF.