Question: Need to write matlab or python code to solve this problem Computational Fluid Dynamics (CFD) Question 1 - Von Neumann Analysis (10 Marks) The linear

Need to write matlab or python code to solve this problem Computational Fluid Dynamics (CFD) Question 1 - Von Neumann Analysis (10 Marks) The linear advection equation is , +aa = 0, ata where a is the advection velocity, u is a scalar, x is the spatial coordinate, and t is time. One suitable scheme u4+1 u ul+1 u41 = 0. t 2 where At is the time step size, A.x is the grid spacing, and u is the solution at node i and time level t. A+ + (a) Using von Neumann analysis, derive an expression for the amplification factor of this scheme. (b) From this amplification factor, determine under what conditions this scheme is stable and identify if the scheme is unstable, conditionally stable, or unconditionally stable. (c) Create plots of the amplification factor for 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
