C2. P3. Slide - Ansys Fluent - Airfoil (Part 2)
C2. P3. Slide - Ansys Fluent - Airfoil (Part 2)
C2. P3. Slide - Ansys Fluent - Airfoil (Part 2)
Label faces
1. In an empty area of Graphics, RMB-View-Front.
2. Group-select the four exposed faces. RMB-Create
Named Selection. Enter “Front Symmetry” as the name
for the group of faces. <Enter>.
Hold <Ctrl> while LMB to make multiple
selections.
3. RMB-View-Back.
4. Group-select the four exposed faces. RMB-Create
Named Selection. Enter “Back Symmetry” as the name for the group of faces. <Enter>.
5. RMB-View-Right.
6. Scroll the MMB to zoom in until two faces are visible.
7. Group-select the two exposed faces. RMB-Create Named Selection. Enter “Outlet” as the name for
the group of faces. <Enter>.
8. RMB-View-Top.
4
rial – Flow Over an Airfoil, Pag
9. Zoom in until surfaces are visible. LMB on one of the exposed faces.
LMB from the toolbar. Extend to Limits.
10. RMB-Create Named Selection. Enter “Inlet” as the name for the group of
faces. <Enter>.
11. RMB-View-Front.
12. LMB Named Selections in the Outline. The labeled
selections should look similar to the ones to the right.
16. In Outline, RMB on the fourth “Fluid” under Part and Unsuppress All Bodies.
17. LMB “Mesh” from Outline. Make sure Edge is the current selection filter.
18. LMB the horizontal edge between the two pie-shaped faces. RMB-Insert-Sizing. Enter “.2”m for
Element Size. Choose the second Bias Type from the drop down menu. Enter “50” for Bias Factor.
5
Create mesh
1. R-Mesh- Generate Mesh.
2. When completed, the mesh should look like the one to the right.
3. Zoom in and pan to view the mesh around the airfoil.
4. File-Save Project. Close ANSYS Meshing and return to ANSYS
Workbench.
7
Refine the mesh and iterate some more
1. Our mesh is not tight enough near the airfoil surface to properly resolve the boundary layer.
Fortunately, FLUENT has a feature that automatically adds grid points where needed for better
resolution. There are several options for
grid adaptation – we will adapt by
velocity gradient.
2. In the main FLUENT menu, Adapt-
Gradient. In the new Gradient
Adaption window, select Gradients of
Velocity.
3. Compute. Minimum and maximum
velocity gradients will appear in the
window.
4. As a good rule of thumb, set the Refine
Threshold to about 1/10 of the
maximum gradient. Enter this value in
the appropriate text box.
5. Mark. The main FLUENT window will display how many cells have been selected for refining and
coarsening.
The coarsening cells can be ignored since FLUENT is unable to coarsen the original grid – it
can only refine the original grid.
6. Optional: If you want to see where the grid will be adapted, click Manage-Display. Areas destined
for grid refinement will be highlighted.
7. Back in the Gradient Adaption window, Adapt-Yes. The main FLUENT window will display some
information about the grid adaptation.
8. The Gradient Adaption window can be closed at this point.
9. Solve-Run Calculation from the main FLUENT menu to re-open the Run Calculation sub-window.
Change Number of Iterations to 500, and Calculate-OK.
10. When the solution is done or converged, OK.
11. Check to see how the solution is progressing. In the main FLUENT menu, Display-Graphics and
Animations-Vectors-Set Up-Display. The graphical display window will show velocity vectors. The
vectors should be closer together in regions where the mesh was refined.
12. Close the Vectors window.
13. Zoom in (MMB lower left to upper right) or out (MMB upper right to lower left) and move (MMB
where you want to center the view) as necessary to see the velocity field.
8
Examine the velocity profiles in detail
1. The velocity profile at three locations (x = 0.00, 0.05, and 0.20 m) will be plotted and examined in
detail.
2. In the main FLUENT window, on the left side under Results,
Plots-XY Plot-Set Up.
3. A window called Solution XY Plot will open. LMB the drop
down menu beside New Surface and select Line/Rake…
4. To create the first profile, set x0 = 0, y0 = 0, z0 = 0 and x1 = 0, y1
= 0.5, z1 = 0. Rename the surface “profile0.0” in the New
Surface Name text box. Create.
5. To create the second profile, set x0 = 0.05, y0 = 0, z0 = 0 and x1
= 0.05, y1 = 0.5, z1 = 0. Rename the surface “profile0.05” in the
New Surface Name text box. Create.
6. To create the third profile, set x0 = 0.2, y0 = 0, z0 = 0 and x1 =
0.2, y1 = 0.5, z1 = 0. Rename the surface “profile0.2” in the New
Surface Name text box. Create.
7. Close the Line/Rake Surface window.
8. Back in the Solution XY Plot window, select (highlight) profile0.00, profile0.05, and profile0.20.
9. In the upper left corner of the window, turn
off (uncheck) Position on X Axis, and turn
on (check) Position on Y Axis. This will
make the vertical axis the y position on the
plot.
10. Set Plot Direction to X = 0 and Y = 1. This
will make the y-coordinate position appear
on the vertical axis, as desired for a
standard velocity profile plot.
11. The upper right part of the window selects
the variable to be plotted. The Y Axis
Function will be set automatically to
Direction Vector, and should be left alone.
For the X Axis Function, select Velocity
and (just below that) X-Velocity. Plot.
12. If done correctly, all three profiles should be visible on the plot and should look like the profile to
the right. The initial
increase in x-velocity
with downstream
position on the airfoil
should be apparent.
Notice how as the
position above the
horizontal axis
increases (vertical
axis), the velocity
approaches the free
stream velocity of 10
m/s regardless of the position along the airfoil.
13. Close the Solution XY Plot window.
9
Save your velocity profiles and your calculations
1. In the main FLUENT menu, File-Export-Case & Data. In the Select File window that opens, name
the file with an extension “.cas.gz”. Make sure the Write Binary Files option is checked. OK to
write the file. You might have to OK again to overwrite these files if they already exist.
The “.gz” at the end of the file name causes FLUENT to save the file in a condensed or
“zipped” format, which saves disk space.
2. Before saving the plot, your name and a short description should be added to the title. On the
graphics window where the plot is visible, LMB just below the existing plot title (“X Velocity”) in
the bottom left of the plot. A cursor should appear. Type your name(s) on the plot title.
On some operating systems, you may have to RMB instead of LMB to get the text cursor.
3. In the main FLUENT menu, File-Save Picture. Select TIFF. Select Color if desired, and Save. Give
a unique, descriptive name to the file (something with your name in it, like
“laminar_airfoil_profiles_Lastname_Firstname.tif” is appropriate). OK, and Close. The .tif file just
generated can be inserted into a Microsoft Word document later.
Exit FLUENT
1. In the main FLUENT menu, File-Save Project.
2. Exit FLUENT by File-Close FLUENT. Make sure the option to store
the results is turned on. OK. This will return you to Workbench.
3. In Workbench, Update Project. After some calculations, check
marks should appear on all components of the Fluid Flow (FLUENT)
template in Project Schematic.
4. You are now finished with this tutorial. File-Exit-Yes (save the file).
10