Beruflich Dokumente
Kultur Dokumente
3. The code DoubletPanel3D.m (one of the 3D panel method codes distributed on the course website)
uses doublet panels to model 3D non-lifting bodies. The code outputs pressure distributions and
streamline patterns as well as moment coefficients about the origin (forces are of course zero) which
for such a body are normalized on the body volume and free stream dynamic pressure. (a) The default
test case for the code is a sphere in a free stream directed along the x axis. Run this case. Explain why
the moments should be zero. Plot the streamlines of your test case. (b) Modify the code to make the
sphere elliptical. This can be done by scaling down the y coordinates at the start of the code, which
appear in the variable yp in line 6. Adjust these so that the the flow about an ellipsoid with an axis
ratio of 4:1:1 in the x, y and z directions is being computed. Calculate the flow for zero angle of attack.
Plot streamlines. Record the pitching moment coefficient. (c) The 4:1 ellipsoid of part (b) may be
thought of as a generic submarine. Slender body theory, an approximate linearized theory for these
types of shapes (see Karamcheti, chapter 20) predicts that at small angles of attack the pitching
moment coefficient on such a body should be simply twice the angle of attack expressed in radians.
Vary the angle of attack of your ellipsoid (giving the free stream a component in the z direction) and
record the moment coefficient for 2, 4, 6, 8 and 10 degrees. Tabulate and plot the results (pitching
moment vs angle of attack) and compare with the slender body prediction. Plot streamlines for the
flow at 10 degrees angle of attack. (d) Some future submarine designs call for hulls that are wider
than they are tall. Modify the code to compute flow around an 4:2:1 ellipsoid. In addition to the
changes made for part (b) this will require scaling (doubling) of the y coordinates returned by the body
of revolution function in line 7 in the variables r and rc (specifically r(2,:,:) and rc(2,:,:)). Repeat the
calculations, table and plot you did for the conventional shape and compare the moment coefficient
variation with angle of attack with the 4:1:1 ellipsoid and slender body theory.