Programming exercises for different methods, which is based on the work of Suraj Pawar and Omer San in article "CFD Julia: A Learning Module Structuring an Introductory Course on Computational Fluid ...
n_p = 18; % Number of radial points. n_z = 20; % Number of points lengthwise. th = linspace(0,2*pi,n_p); p = [ p; [ r*cos(th(1:end-1)) z_i*ones(1,n_p-1) r*sin(th(1 ...