MATLAB® software is required to run the .m files in this section. The .FIN and .OUT are simply data offest tables. They can be viewed with any text reader.
Notes about Problem Sets 6 and 8
In problem sets 6 and 8, students write MATLAB® programs to solve two-dimensional boundary integral equations based on Green's Theorem. In problem set 8, the inviscid streaming flow about an arbitrary two-dimensional object is calculated. The solution is done for a circular cylinder.
In problem set 8, the method is extended to the flow around a lift-generating airfoil with a wake across which there is a jump in the velocity potential. The two-dimensional Green function that is used is G = -ln r, where r is the distance between a "source point" and a "field point".
The student is not expected to write an efficient MATLAB® m-file for computing the integral of the Green Function over a panel. Rather, that m-file is given to the students and it is called rank2d.m. This m-file computes the integral of the Green function, g, and of the normal derivative of the Green function, dg/dn, over a panel. This m-function works in local coordinates for which the "source panel" is approximated as a line on a local x-axis with the center of the line at the local origin. The "field point" is at (x,y) in local coordinates. The normal vector to the panel is in the positive local y-direction.
To use rank2d.m function, the panel length and the location of the field point in local coordinates must first be determined. This is done in the m-function "localize.m", which should also be provided to the student who writes and used the remainder of the set of programs needed to complete the problem sets.
The m-functions, rank2d and localize are provided with problem set 6.
Problem Sets
Supporting Files