1D Super-sonic nozzle flow simulation using Macormack Method
Objective: Obviously Conservative form of PDE is faster than non-conservative form of PDE. From the code following run time is noted: Solution time for conservative form is 2.28 secondsSolution time for non - conservative form is 5.39 seconds Obtained graph is at 101 grid points(value of n in the code): It clearly indicates…