Simulation of 1D supersonic nozzle flow using MacCormack method
Objective: Function of non - conservative form of 1D supersonic nozzle flow %%%%%%%Function of non - conservative form%%%%%%%% --------------------------------------------------- function[K,rho,t,v,m_n,M_n,p_n,p_th_n,rho_th_n,t_th_n,rho_exact_n,t_exact_n,M_exact_n,rho_res_n,t_res_n,v_res_n]=Non_conservative_f(x,n,gamma,nt,a,dx,dt)…