intermediate lab 2 manual

54
Verification and Validation of Turbulent Flow around a Clark-Y Airfoil 58:160 Intermediate Mechanics of Fluids CFD LAB 2 By Timur Dogan, Michael Conger, Maysam Mousaviraad, Tao Xing and Fred Stern  IIHR-Hydroscience & Engineering The University of Iowa C. Maxwell Stanley Hydraulics Laboratory Iowa City, IA 52242-1585 1. Purpose The Purpose of CFD Lab 2 is to simulate turbulent airfoil flows following “CFD process” by an interactive step-by-step approach and to conduct verifications. Students will have “hands-on” experiences using ANSYS to condu cting verification for lift coefficient and pressure coefficient distributions, and validation for pressure coefficient distribution, including effect of numerical scheme. Students will manually generate C t ype mesh and investigate the effect of domain size and effect of angle of attack on simulation results. Students will analyze the differences between CFD and EFD, analyze p ossible sources of errors, and present results in a CFD Lab report. Flow Chart for “CFD Process” for airfoil flow Geometry Physics Mesh Solution Results Airfoil (ANSYS Design Modeler) Structured (ANSYS Mesh)  Non-uniform (ANSYS Mesh) General (ANSYS Fluent - Setup) Model (ANSYS Fluent - Setup) Boundary Conditions (ANSYS Fluent - Setup) Reference Values (ANSYS Fluent - Setup) Turbulent Solution Methods (ANSYS Fluent - Solution) Monitors (ANSYS Fluent - Solution) Solution Initialization (ANSYS Fluent - Solution) Plots (ANSYS Fluent- Results) Graphics and Animations (ANSYS Fluent- Results) C-Domain (ANSYS Design Modeler) O-Domain (ANSYS Design Modeler) Solution Initialization (ANSYS Fluent - Solution) Solution Controls (ANSYS Fluent - Solution) Run Calculation (ANSYS Fluent - Solution) 

Upload: karthik-subramani

Post on 03-Jun-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 1/54

Verification and Validation of Turbulent Flow arounda Clark-Y Airfoil

58:160 Intermediate Mechanics of FluidsCFD LAB 2

By Timur Dogan, Michael Conger, Maysam Mousaviraad, Tao Xing and Fred Stern IIHR-Hydroscience & Engineering

The University of IowaC. Maxwell Stanley Hydraulics Laboratory

Iowa City, IA 52242-1585

1. Purpose

The Purpose of CFD Lab 2 is to simulate turbulent airfoil flows following “CFD process” by aninteractive step-by-step approach and to conduct verifications. Students will have “hands-on”experiences using ANSYS to conducting verification for lift coefficient and pressure coefficientdistributions, and validation for pressure coefficient distribution, including effect of numericalscheme. Students will manually generate C type mesh and investigate the effect of domain sizeand effect of angle of attack on simulation results. Students will analyze the differences betweenCFD and EFD, analyze possible sources of errors, and present results in a CFD Lab report.

Flow Chart for “CFD Process” for airfoil flow

Geometry Physics Mesh Solution Results

Airfoil (ANSYSDesign Modeler)

Structured(ANSYS Mesh)

Non-uniform(ANSYS Mesh)

General (ANSYSFluent - Setup)

Model (ANSYSFluent - Setup)

BoundaryConditions

(ANSYS Fluent -Setup)

Reference Values(ANSYS Fluent -

Setup) Turbulent

SolutionMethods

(ANSYS Fluent -Solution)

Monitors(ANSYS Fluent -

Solution)

SolutionInitialization

(ANSYS Fluent -Solution)

Plots (ANSYSFluent- Results)

Graphics andAnimations

(ANSYS Fluent-Results)

C-Domain(ANSYS Design

Modeler)

O-Domain(ANSYS Design

Modeler)

Solution

Initialization(ANSYS Fluent -

Solution)

Solution Controls(ANSYS Fluent -

Solution)

Run Calculation(ANSYS Fluent -

Solution)

Page 2: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 2/54

2. Simulation Design

The problem to be solved is that of turbulent flows around a Clark-Y airfoil. Reynolds number is143,000 based on the inlet velocity and airfoil chord length. The following figures show the

illustrations for C type and O type domains. (Note: the figures are not in the exact scale as thetrue size of the domain and airfoil).

Table 1 - Main particulars

Parameter Symbol Unit O-type C-Type

Chord Length C m 0.3048 0.3048

Downstream length Lo m - 5

Radius Rc m 5,4,3,2,1 5

Angle of attack α degree 0,6 0

Figure 1 – C and O domain shapes and boundary conditions

In CFD Lab 2, Boundary conditions for C type of mesh will be “inlet”, “outlet”, “symmetry” and“airfoil”, as described later. Boundary conditions for O type of meshes will be “inlet”, “outlet”,and “airfoil”. Uniform flow was specified at inlet. For outlet, zero gradients are fixed for allvelocities and pressure is constant. No-slip boundary condition will be used on the “airfoil”.Symmetric boundary condition will be applied on the “symmetry”. The meshes and thesimulations that will be conducted are shown in Tables 2 and 3 respectively.

Page 3: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 3/54

Table 2 - Mesh

Mesh Name DomainType

Radius[m]

Angle of Attack (AOA)[degree]

C-mesh C

5

0

fine

O

medium

coarse

Domain-R5

Domain-R4 4

Domain-R3 3

Domain-R2 2

Domain-R1 1

AOA6 5 6

Table 3 - Simulation Matrix

Study Mesh

Domain size Domain-R1, Domain-R2, Domain-R3, Domain-R4, Domain-R1

V&V and effect ofnumerical scheme fine, medium, O-coarse

Domain shape C-mesh

Angle of attack AOA6

All EFD data and CFD materials for turbulent airfoil flow in this Lab can be downloaded fromclass website (http://www.engineering.uiowa.edu/~me_160/ ).

Page 4: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 4/54

3. ANSYS Workbench3.1. Start > All Programs > ANSYS 14.5 > Workbench 14.5

3.2. Toolbox > Component Systems . Drag and drop Geometry , Mesh and Fluent components to Project Schematic and name components as per below. Createconnection as per below.

Page 5: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 5/54

Page 6: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 6/54

4.4. File > Import External Geometry File… Select intro-airfoil.igs and click Open . ClickGenerate .

4.5. Add a new plane by selecting the New Plane button. For the Type select From Pointand Normal .

Page 7: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 7/54

4.6. For the Base Point , zoom in and select the point at the trailing edge as seen below.

4.7. For the Normal Defined By , select the XYPlane on the Tree Outline . Then clickGenerate . This creates a plane with the origin at the trailing edge point.

4.8. Make sure the plane you just created is selected under tree outline then click the New Sketch button.

Page 8: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 8/54

4.9. Sketching > Arc by Center. Draw an arc centered at the trailing edge origin as per below. Make sure the end points are on the y-axis.

4.10. Sketching > Rectangle by 3 Points . Draw a rectangle as per below.

4.11. Dimensions > General . Size the arc and rectangle with a radius of 5m and a

width of 5m respectively as seen below.

Page 9: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 9/54

4.12. Delete the line that makes the left side of the rectangle by selecting it and pressingDelete on the keyboard.

4.13. Concept > Surface from Sketches . Select the sketch you just made under treeoutline, click Apply then click Generate .

Page 10: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 10/54

4.14. Create > Boolean. Make sure the Operation is set to Subtract. For the TargetBody select the domain and click Apply . For the Tool Bodies select the airfoil byselecting the first Surface Body under the Tree Outline which corresponds to theairfoil and click Apply. Then click Generate.

Page 11: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 11/54

4.15. Concept > Split Edges. Select the arc and click Apply. Make sure the Fraction

is set to 0.5 . This splits the edge in half. Click Generate.

4.16. Select the upper half of the arc you just split. Concept > Split Edges . ClickApply and change the Fraction to 0.25 . This splits the top arc into two parts with thesmall piece towards the top of the screen. Click Generate .

4.17. Repeat step 4.16 for the bottom piece of the arc you originally split but this timechange the Fraction to 0.75 . This will split the arc with the smaller piece towards the

bottom of the screen. Click Generate .4.18. Split the vertical line from the rectangle in half as well. Make sure that Fraction

is set to 0.5 . Concept > Split Edges . Select the vertical line and click Apply . ClickGenerate .

4.19. Concept > Line From Points draw lines from the domain perimeter to the perimeter of the airfoil always starting from the domain and ending at the airfoil . Do this

Page 12: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 12/54

by selecting the point on the domain, hold Ctrl and select the point on the airfoil. ClickApply and then Generate . Repeat this process to create all the lines shown below.

NOTE: If you do not create your lines starting from domain and ending in airfoil youwill need to use a different bias type in the mesh generation section.

Page 13: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 13/54

4.20. Tools > Projection . Select all the lines you just created by holding Ctrl whileselecting them and then click Apply . For the Target select the surface of the domain andclick Apply. Click Generate. This splits the domain into six sections as seen below.

Page 14: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 14/54

4.21. File > Save Project . Close window.

5. Mesh In this section C-Mesh is manually generated and the O-type Meshes are imported.

5.1. From the Project Schematic right click on C-Mesh and select Edit.

Page 15: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 15/54

5.2. Right click on Mesh > Insert > Mapped Face Meshing . Select all six surfaces whileholding Ctrl and click Apply.

5.3. Select the edge button.

5.4. Right click on Mesh > Insert > Sizing. Selct lines below and click Apply. Change parameters as per below. NOTE: The divisions must be finer toward the airfoil. If they are not fine toward theairfoil you may need to change bias direction by changing bias type.

Page 16: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 16/54

Page 17: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 17/54

Page 18: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 18/54

5.6. Right click on Mesh > Insert > Sizing. Selct the line below and click Apply. Change parameters as per below. Divisons must be finer toward the airfoil.

5.7. Right click on Mesh > Insert > Sizing. Selct the two lines below and click Apply. Change parameters as per below.

Page 19: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 19/54

Page 20: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 20/54

5.9. Right click on Mesh > Insert > Sizing. Selct the lines below and click Apply. Change parameters as per below.

5.10. Right click on Mesh > Insert > Sizing. Selct the lines below and click Apply. Change parameters as per below.

Page 21: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 21/54

Page 22: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 22/54

Page 23: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 23/54

5.15. Click Generate Mesh . Your mesh should like the figures below.

Page 24: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 24/54

5.16. Select all the edges parts that make up the arc by holding down Ctrl and selectingthem individually. Right click the selection and select Create Named Selection . Changethe name to inlet and click OK.

Page 25: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 25/54

Page 26: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 26/54

5.18. Select the two horizontal lines, right click and Create Named Selections . Namethem symmetry.

5.19. Select the four edges that make the airfoil, right click and Create NamedSelections . Name them airfoil.

Page 27: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 27/54

5.20. Select the six faces of the domain and right click them, select Create NamedSelections . Name them fluid.

5.21. Click update button then File > Save Project . Close Meshing window.

5.22. Go to class website (http://www.engineering.uiowa.edu/~me_160/ ) and downloadthe mesh files.

5.23. Right click on Mesh and select Import Mesh File . Select the Mesh filecorresponding to mesh name and click Open .

Page 28: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 28/54

5.24. After competition of the previous step you will have a schematic as per below.

Page 29: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 29/54

6. SetupIn this section you will create a setup for Domain-R5 and C-mesh. For rest of the simulationyou will copy the setup from Domain-R5 for other cases.

6.1. Right click Setup and select Edit.

6.2. Select Double Precision and click Ok .

Page 30: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 30/54

6.3. Click Check and check the output (red box shown below) for any errors.

Note: You will get a warning for C-mesh. You may ignore that warning.

6.4. Solution Setup > Models > Viscous – Laminar > Edit… Choose the options belowand click Ok .

Page 31: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 31/54

6.5. Solution Setup > Materials > Fluid > air > Create/Edit . Change Density andViscosity to experimental values and click Change/Create then click Close .

6.6. Solution Setup > Boundary Conditions > inlet > Edit… Change velocity toexperimental condition and the rest of the parameters to values shown below and click

OK .

Inlet Boundary ConditionVariable u (m/s) v (m/s) P (Pa) k (m^2/s^2) e(m^2/s^3)

Magnitude 7.04 0 0 0.08 7.4Zero Gradient - - - - -

Page 32: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 32/54

6.7. Solution Setup > Boundary Conditions > outlet > Edit… Change Turbulence parameters to values shown below and click OK .

Outlet Boundary ConditionVariable u (m/s) v (m/s) P (Pa) Intensity (%) Length scale (m)

Magnitude - - 0 3.25 0.0035Zero Gradient Y Y - - -

6.8. Solution Setup > Boundary Conditions >default-interior/surface body ( you willhave surface body in addition to default-interior for C-mesh ). Make sure that Type isinterior.

Page 33: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 33/54

6.9. Solution Setup > Boundary Conditions > airfoil . Make sure wall is selected underType.

Airfoil Boundary ConditionVariable u (m/s) v (m/s) P (Pa) k (m^2/s^2) e (m^2/s^3)

Magnitude 0 0 - 0 0Zero Gradient - - Y - -

Page 34: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 34/54

6.10. If you are setting up Domain-R5 skip this part. Solution Setup> BoundaryConditions > Symmetry . Make sure symmetry is selected under Type.

Symmetry Boundary ConditionVariable u (m/s) v (m/s) P (Pa) k (m^2/s^2) e (m^2/s^3)

Magnitude - 0 0 - -Zero Gradient Y N - Y Y

Page 35: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 35/54

6.11. Solution Setup > Reference Values . Change Reference Values of Density ,Temperature , Velocity , and Viscosity to experimental values and change remainingvalues as per below.

6.12. Solution > Solution Methods . Select the option as per below.

Page 36: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 36/54

6.13. Solution > Solution Controls . Change the Under-Relaxation Factors for,Momentum , Turbulent Kinetic Energy , and Turbulent Dissipation Rate to thevalues below. If your solution diverges try reducing under-relaxation factors.

6.14. Solution > Monitors > Residuals – Print, Plot > Edit… Change convergencecriterions for all 5 equations and click OK .

Page 37: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 37/54

6.15. This section is only for C mesh. Solution >Monitors>Create>Lift. Then select parameter as per below and click Ok. This will show the time history of lift coefficient.

Page 38: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 38/54

6.16. Solution > Solution Initialization . Change the X Velocity to the experimental

value and the rest of the parameters as per below and click Initialize .

6.17. Solution > Run Calculation . Change Number of Iterations to 10,000 and clickCalculate . You will see the residual and lift coefficient figure for O type and C typemeshes respectively. Save the lift coefficient figure for C mesh before continuing.

Page 39: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 39/54

6.18. File > Save Project. Close fluent. (Please complete setup for Domain-R5 and C-mesh before continuing) .

6.19. Once you completed the setups for Domain-R5 and C-mesh your schematicshould look like the figure below. Next we will copy O-setup and modify it wherenecessary for other cases.

6.20. Right click on O-setup and click Duplicate as per below. This will create a newsetup

6.21. Select the connection between Domain-R5 and copy of O-setup then hit delete button on you keyboard.

Page 40: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 40/54

6.22. Drag and move the copy of O-setup next to Domain –R4 as per below.

6.23. Create a new connection between copy of O-setup and Domain-R4 as per below.You have copied the setup from Domain-R5 to Domain-R4. Since they have the samesetup all you have to do is run the new case.

Page 41: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 41/54

6.24. Repeat the process for copying setup and get the project schematic as per below.

Page 42: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 42/54

Page 43: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 43/54

6.25. Setups for rest of the simulations are the same except for 3 simulations labeled

with (first order scheme) in the figure above at V&V section. We need to change thescheme from first order to second order. Simply open fluent for the first order schemecases. You will get message below, just click yes. Finally modify solution methods as

per below and close Fluent.

6.26. Now you can run all the cases and save the ANSYS file. For this exercise only,find one partner in the class to form a group, one student will run V&V using first order

Page 44: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 44/54

upwind scheme, the other will use 2 nd order upwind scheme. You will need to run rest ofthe cases by yourself.

7. Results

This section shows how to analyze your results. You do not need to do all the analysis forevery case. Please read the exercises before continuing.

7.1. Displaying Residuals and Mesh

Solution > Solution Monitors > Residuals – Print, Plot > Edit > Plot .

File > Save Picture . Save residuals using option as per below and save figure.

Display > Mesh > Display .

Page 45: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 45/54

7.2. Printing Forces

Results > Reports > Forces > Set Up… > Print . This will print the drag coefficient as per below.

Page 46: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 46/54

Page 47: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 47/54

7.4. Plotting Contours, Vectors and Streamlines

Results > Graphics and Animations > Graphics > Contours > Setup . Checked filled ,select static pressure and click Display .

Page 48: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 48/54

Results > Graphics and Animations > Graphics > Vectors > Set Up . Click Display .

Page 49: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 49/54

Results > Graphics and Animations > Graphics > Contours > Set Up… Select parametersas per below and click Display . You can modify min and maximum to get a better figure.

Page 50: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 50/54

8. Verification and Validation (V&V Simulations Only)8.1. From the Project Schematic , right click on the Fluent Solution and from the dropdown

menu select Edit… 8.2. Select File > Read > Journal…

Page 51: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 51/54

8.3. Change Files of Type to All Files and select Intermediate Lab 2 Script, downloadablefrom the website, and click OK .

8.4. Click No . (To make sure the points were implemented properly, display the mesh andzoom in to count and verify there are 29 points on the airfoil surface as per below.)

Page 52: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 52/54

8.5. Results > Plots > XY Plot > Setup... Select parameters as per below, make sure to select points1 through 29, and click Write . Name the file for future reference. ( This only needs to be donefor coarse, medium, and fine manual meshes, which are used for V&V calculations. It is not

needed for other mesh.)

8.6. Open the V&V Excel. 8.7. Copy and paste the pressure coefficients into the proper sheet corresponding to the mesh size. To

do this open the saved pressure coefficient data in TextPad, use the “ Ctrl + A ” function to selectall, then right click and select Copy .

Page 53: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 53/54

8.8. Paste this data into cell A1 of the corresponding pressure coefficient tab. Right click on cell A1 and select Keep Text Only . The cells to the right should auto populate extracting the correctdata from the pasted data. If all the x coordinate cells are not green, there was an error in the

pasting of the copied data.

8.9. Repeat these steps for the remaining mesh sizes.8.10. Once all the data is pasted into the three Press Coeff tabs, the V&V Velocity tab auto

populates and calculates V&V values. 8.11. Open the Verification Lift Coef tab and input values from y force report into the cellscorresponding to the mesh size. The V&V values auto calculate.

9. ExercisesYou need to complete the following assignments and present results in your lab report followingthe lab report instructions

Verification and Validation of Turbulent Flow around a Clark-Y

Airfoil 9.1. Effect of domain size : Run 5 simulations using five different domain sizes usingmesh Domain-R5, Domain-R4, Domain-R3, Domain-R2 and Domain-R1. Fill the table belowwith lift coefficient with their relative difference between two successive meshes. If the relativechange between two successive domain sizes should be less than 1%, then which domain sizeswill be enough large to make the CFD simulation results to be independent of the domain size?

Page 54: Intermediate Lab 2 Manual

8/12/2019 Intermediate Lab 2 Manual

http://slidepdf.com/reader/full/intermediate-lab-2-manual 54/54

Circle radius (m) 1 2 3 4 5Lift CoefficientRelative change N/A ( )% ( )% ( )% ( )%

• Figures to be saved: None.• Data to be saved: the above table with values.

9.2. Effect of numerical scheme on Verification study for lift coefficient andvalidation of pressure coefficient: Use fine, medium and course meshes to conduct yourV&V analysis. For this exercise only , find one partner in the class to form a group, one studentwill run V&V using first order upwind scheme, the other will use 2 nd order upwind scheme.Then, you must borrow the figures/data from the other student and present in your lab report.Based on verification results for lift coefficient, which numerical scheme is closer to theasymptotic range? Which numerical scheme has a lower mesh uncertainty? Discuss theverification and validation for pressure coefficient. For which locations of 29 points the pressurecoefficient has been validated? For which locations the pressure coefficient has not beenvalidated?• Figures to be saved : Figures in V&V excel sheet for 1 st and 2 nd order numerical schemes.• Data to be saved: Tables in V&V excel sheet for 1 st and 2 nd order numerical schemes.

9.3. C mesh generation : Follow the instructions in the manual and create the geometryand mesh manually. Does the lift coefficient for C mesh differ from O mesh? For iterativehistory of lift coefficient, what is the minimum iteration number for you to determine the liftcoefficient has converged to a “constant” value? • Figures to be saved: C mesh generated by yourself, time history of lift coefficient.• Data to be saved: converged lift coefficient.

9.4. Effect of angle of attack on airfoil flow : Compare results from AOA6 (6 degreeangle of attack) and Domain-R5 (0 degree angle of attack) meshes (Domain-R5 and AOA hasthe same mesh with different angle of attack). Analyze the difference of flow fields. Which casehas a higher lift coefficient, which has a higher drag coefficient?• Figures to be saved (for both attack angles): pressure contours, comparisons with EFD on

pressure coefficient distribution, velocity vectors near airfoil surface, streamlines near the airfoilsurface.• Data need to be saved (for both attack angles): lift and drag coefficients.

9.5. Questions need to be answered when writing CFD report :9.5.1. Answer all the questions in exercises 1 to 49.5.2. Analyze the difference between CFD/EFD and possible error sources.