hello, please can i have some urgent help!
alright, sry to be another homework lout,
programmin is not my forte but is one of my modules... i am expected to do this program, however i am baffled. need it done today... so i AM open to bribes. lol.
this should tho, i assume, be very easy for the experienced programmer.
Please do what you can. many many thanks!!
For a single cylinder in potential flow, moving with a velocity of magnitude V(infinity), the velocity at any point on the surface of the cylinder is=
the pressure coefficient is given by :
C(p) = 1-4Sin^(2)(theta)
pressure coefficient on surface of sphere:
C(p) = 1-9/4Sin^(2)(theta)
(theta) is the angle measured from the direction of the parallel flow to a point on the surface of the sphere.
now, the program.
construct a program for a user who need to calculate the potential flow around a circle and sphere.
Your program sould include the following:
a. A function for calculating velocity and pressure coefficient around a circle.
b. A function for calculating velocity and pressure coefficent around a sphere.
c Program output should be stored in a file specified by the user.