PROGRAM STREAMF ! Stream function and vorticity solution of Navier-Stokes equation in 2-D ! Transient and finite Reynolds number ! s(i,j) is the z component of the vector potential or the stream function ! w(i,j) is the z component of the vorticity ! dw(i,j) is the change in w over the time step ! u(i,j) and v(i,j) are x and y components of velocity, respectively ! (x,y)=(xi,yj) or r and theta components in cylindrical polar coordinates ! sbx(ib,j) are the values at the x=(0,1) boundaries; (ib)=(1,2) ! sby(i,jb) are the values at the y=(0,1) boundaries; (jb)=(1,2) ! Tangental component of velocity is specified at the boundaries as follows ! vtbx(ib,j) are the values at the x=(0,1) boundaries; (ib)=(1,2) ! vtby(i,jb) are the values at the y=(0,1) boundaries; (jb)=(1,2) ! Normal components of velocity are specified at the boundaries as follows ! vnbx(ib,j) are the values at the x=(0,1) boundaries; (ib)=(1,2) ! vnby(i,jb) are the values at the y=(0,1) boundaries; (jb)=(1,2) ! Note: Integral of the normal component of velocity must be zero ! p is pressure and tau is shear stress ! icase: 1 = Cartesian coordinates (x,y); ! 2 = cylindrical polar [z=ln(r)/ln(r2/r1),theta] ! ibc: For Cartesian coordinates 1 linear(Couette); 2=parabolic(plane-Poiseuille); 3 constant ! ibc: For cylindrical polar,1=radial flow;2=Couette flow, 3=flow past cylinder ! beta = r2/r1, gamma=1/ln(beta) ! alf = 1/pi or 1/reference angle in cylindrical coordinates; 0