Professional Documents
Culture Documents
close all
clc
%-------------------------------------------
% GRID & INPUT VARIABLES
%------------------------------------------
zcirc(p) = r*(cos(phi(p))+1i*sin(phi(p))) + s;
end
figure(2)
hold on
v2 = -400:5:400;
contourf(real(z),imag(z),imag(z1),v2);
fill(real(zcirc),imag(zcirc),'k')
axis equal
axis(1.5*[-1 1 -1 1])
title('Stream lines around the cylinder z1.');