Help Session 5 Notes Problem 1: The Bernoulli equation is: 1 1 π1 + ππ12 = π2 + ππ22 2 2 Eq1 Since the velocity at the stagnation point is zero and maximum pressure is found at locations with minimum velocity we should rewrite the Bernoulli equation as: 1 ππππ’ππ = π2 − π1 = π(π12 ) 2 Eq2 Problem 2: Start with the Bernoulli equation again and rewrite it as: 1 ∇π = π2 − π1 = π(π12 − π2^2) 2 Eq3 And realize that in an incompressible flow π1 = π1 π΄1 = π2 π΄2 = π2 Eq4 Now you have 2 equations with 2 unknowns and solving for V1 or V2 is straight forward. From V1 or V2 you should be able to find Q Problem 3: Please read pages 227 to 237 in the textbook since it discusses this problem in detail. Also refer to Figure 3.22 for a diagram for this problem. You can solve this using potential flow or stream function but I will use the latter in this derivation. First derive the stream function for the entire flow by adding the stream function for uniform flow and a source. If do that correctly you should end up with Eqn 3.75 π = π∞ π¦ + π π 2π Eq5 π = π∞ π π πππ + π π 2π Eq6 This equation defines the stream function for the entire flow but we are only interested in the flow over the body, which contains the stagnation point. Therefore you should compute velocities from the stream function as: ππ = 1 ππ π = π∞ cos π + π ππ 2ππ Eq7 ππ = − ππ = − π∞ sin π ππ Eq8 By setting the two equations above to zero you will be able to solve for r and θ at the stagnation point and part c of this problem. (Hint: look at the bottom of page 234) If you plug r and θ into Eqn 3.75 you will find the stream function that contains the stagnation point. If done correctly you should end up with: π= π 2 Eq9 To find the rest of points on the body simply solve for r along the computed streamline. This is demonstrated bellow. π = π∞ π π πππ + π π π= 2π 2 Eq10 Let’s rewrite the above equations in terms or x and y that will be easier to plot. π = π∞ π¦ + π¦= π π¦ π arctan ( ) = 2π π₯ 2 π 1 π¦ ( 1 − arctan ( )) 2π∞ π π₯ Eq11 Now to find the height of the body above the centerline take a limit of the previous equation at x ο¨ ∞ lim π π→∞ 2π∞ 1 π¦ π (1 − arctan ( )) = π π₯ 2π∞ Eq12 The width of the body is twice the height above the centerline. This will answer part a of problem 3 You already found the radial and tangential velocity fields in Equations 7 and 8. The total velocity is simply: π = √ππ 2 + ππ 2 Eq13 Equation 13 is a function of r and θ but the two are related on the body. This relation was presented in Eq10 π = π∞ π π πππ + π π π= 2π 2 Eq10 π π ( 1 − π) 2 π= π∞ π πππ Eq11 If you plug Eq 11 into Eq 13 you will find the Velocities on the body as a function of θ. To find the maximum velocity simply take the derivative of the Velocity equation and set it equal to zero ππ (π ) = 0 ππ max Eq12 You can avoid calculus in this problem by plotting V and finding the max V in matlab. Problem 4 Please refer at Figure 3.23 in your book for this problem. Just as before, we first need to derive the stream function for the flow ( as discussed on page 234-235 in your book) π = π∞ π π πππ + π π π1 − π2 2π 2π Eq13 Next, we need to find the stream equation for the body that contains the stagnation point. You can do this as we did in problem 3 or you can simply realize that the stagnation point is at the nose ( θ = π) π π = π∞ π π πππ + 2π π − π π 2π =0 Eq14 Along the body surface: π∞ π π πππ + 1+ π π π1 − π2 = 0 2π 2π π (π1 − π2) = 0 2ππ∞ π π πππ Eq15 Next, realize that all the angles in Eq15 are related. Use Figure 3.23 to find the relation and rewrite Eq15 just in terms of r and θ. To plot the body we will need so solve for r as a function of theta. However, it will be easier to solve this in MATLAB. Loop between (0 and 2pi) and solve for the corresponding r. Note that since in the loop the angles are known you can solve for corresponding r by solving for zeros of Eq15. Matlab has the fsolve command that can to do this. Next, convert r and θ inside the loop to x and y, which are easier to plot. You also need to calculate and plot V inside the loop, using the same method used to find equation 7, 8 and 13. Finally use Equation 3.38 to solve for CP. π 2 πΆπ = 1 − ( ) π∞ Your main program should look similar to this: i=0 For ( theta = 0:2pi) i=i+1 r(i)= fsolve ('Function',r0,[],theta) x(i) = ????(r(i), theta(i)) y(i) = ???? (r(i), theta(i)) V(i) = ???? (r(i), theta(i)) Cp(i) = ???(V(i)) End Plot (x,y) Plot (x,V) Plot (x,cp) The above is just an outline for the code. Note that fsolve needs a function that evaluates the zero. This function will look something like this: function F=Function(r,theta) theta1 = ???? (theta, r) theta2 = ???? (theta, r) F= π (π‘βππ‘π1 ∞ π π πππ 1 + 2ππ − π‘βππ‘π2)