Ali A.

asked • 02/07/20

Use python to visualize a flow around an airfoil ?

There are three data files: NACA0012_x.txt, NACA0012_y.txt, and NACA0012_sigma.txt.


Using 51 mesh points in each direction, and a domain , compute the velocity due to the set of sources plus a free stream in the x-direction with .

Also compute the coefficient of pressure on your grid points.


  1. What is the value of maximum pressure coefficient, ?
  2. What are the array indices for the maximum value of ?

Make the following plots to visualize and inspect the resulting flow pattern:

  1. Stream lines in the domain and the profile of our NACA0012 airfoil, in one plot
  2. Velocity potential in the domain and the profile of our NACA0012 airfoil, in one plot
  3. Distribution of the pressure coefficient and a single marker on the location of the maximum pressure


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.