Homework 8 Solution Manual

Homework 8 Solution Manual - Homework 8 Solution Manual A)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 8 Solution Manual A) 5 points Figure 1 As can be seen in Fig.1, if less than 40 panels are used, the maximum velocity (and velocity at maximum thickness) depends on number of panels used. The maximum velocity is highest when seven panels are used and oscillates slightly between seven and 40 panels. After 40 panels, the maximum velocity remains constant at approximately 1.15. Therefore all computations should be done with at least 40 panels. Matlab code for this part is presented in Fig2 and 3. i = 0; for N = 1:100 i = i+1; mid = int16(N/4+1) S = ellipse_examp (N) Smax(i) = max (S) Smid(i) = S(mid) end
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
plot (1:100, Smax) title ( 'Max Velocity vs Number of Panels' ) xlabel( 'Number of Panels' ) ylabel( 'Max Velocity' ) Figure 2. MATLAB CODE for part A function [Speed] = ellipse_examp (N) % example % % flow over an ellipse ep = .15; % thickness/chord of ellipse %N=50; th=linspace(0,2*pi,N+1); x=-cos(th); y=ep*sin(th); NOTHING ELSE WAS CHANGED IN THE PROVIDED CODE Figure 3: Ellipse code turned into a function. No real changes were made to the ellipse code.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Homework 8 Solution Manual - Homework 8 Solution Manual A)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online