Workshop 2 Transonic Flow over a NACA 0012

  • Slides: 43
Download presentation
Workshop 2 Transonic Flow over a NACA 0012 Airfoil Introductory FLUENT Training ANSYS, Inc.

Workshop 2 Transonic Flow over a NACA 0012 Airfoil Introductory FLUENT Training ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -1 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Goals Workshop Supplement • The

WS 2: Transonic Flow Over a NACA 0012 Airfoil Goals Workshop Supplement • The purpose of this tutorial is to introduce the user to good techniques for modelling flow in high speed external aerodynamic applications. • Transonic flow will be modelled over a NACA 0012 airfoil for which experimental data has been published, so that a comparison can be made. • The flow to be considered is compressible and turbulent. • The solver used is the density based implicit solver, which gives good results for high speed compressible flows. • The tutorial is carried out using FLUENT and CFD Post from within Workbench, but it could also be completed in standalone mode. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -2 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Start a workbench project Workshop

WS 2: Transonic Flow Over a NACA 0012 Airfoil Start a workbench project Workshop Supplement • Launch Workbench and save the new project as naca 0012 in your working directory. • Double-click or drag a FLUENT module from the component systems. • Add a results module – double click or drag. • Drag the mouse from cell A 3 (Solution) to B 2 (Results) to couple the modules. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -3 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Import a mesh that was

WS 2: Transonic Flow Over a NACA 0012 Airfoil Import a mesh that was generated in Gambit Workshop Supplement • Import the FLUENT mesh file (naca 0012. msh). – Right click on cell A 2 (setup) and select ‘import FLUENT case file’ – Change the ‘Files of type’ to “FLUENT mesh file” – Select the mesh file naca 0012. msh • The FLUENT launcher will start. – Keep the default options. – Note that ‘ 2 D’ has automatically been selected ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -4 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • FLUENT

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • FLUENT will launch in a new window. • The mesh will read in and display, and the zones will be written out for the Workbench project. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -5 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • The

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • The mesh needs scaling, since it was created with lengths in mm. • Select General > Scale and observe the current domain extents. – – Select ‘Mesh was created in mm’. Press ‘Scale’ Check that the domain extents are as expected. Close the scale panel and select General > Check • Review the text window and check there are no errors. • Finally use ‘Report Quality’ to print out cell quality statistics. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -6 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • Zoom

WS 2: Transonic Flow Over a NACA 0012 Airfoil Mesh Workshop Supplement • Zoom in and examine the mesh. • The maximum aspect ratio in this mesh is quite high (around 7000) • This is acceptable because these cells are close to the airfoil wall surfaces. • This is needed for the turbulence model being used, since it ensures the first grid point is in the viscous sublayer. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -7 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solver Workshop Supplement • Select

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solver Workshop Supplement • Select the steady-state density-based solver: – From ‘General’ in the tree select Type: Density-Based – Check time is steady • Turn on the energy equation. – This is needed because the flow is compressible and we will be using the ideal gas equation. – From ‘Models’ in the tree, select ‘Energy’ > Edit > and check box • Select the turbulence model to be used: • • From ‘Models’ in the tree, select ‘Viscous’ and Edit Choose the one-equation Spalart-Allmaras model. Select strain/vorticity based production, then OK This is a relatively simple turbulence model that has been shown to give good results for boundary layers subjected to adverse pressure gradients, particularly where there is no or only mild separation. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -8 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Materials Workshop Supplement • The

WS 2: Transonic Flow Over a NACA 0012 Airfoil Materials Workshop Supplement • The properties to be used for the material ‘air’ need to be set. – – Select ‘Materials’ from the model tree Highlight ‘Air’ then Create/Edit For Density, select ‘Ideal Gas’ For Viscosity, select “Sutherland”, and accept the default settings for the 3 Coefficient method. • The Sutherland law for viscosity is well suited for high-speed compressible flow. For simplicity, we will leave Cp and Thermal Conductivity as constants. Ideally, in high speed compressible flow modeling, these should be temperature dependent as well. – Select Change/Create • Assign the material ‘air’ to the grid cells: – Select ‘Cell Zone Conditions’ – Highlight ‘fluid’ then ‘Edit’ – Observe ‘air’ is already selected. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -9 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Operating Conditions Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Operating Conditions Workshop Supplement • Set the Operating Pressure to Zero: – Absolute pressure is the gauge pressure plus the operating pressure. – Setting zero operating pressure means that all pressures set in FLUENT will be absolute. This is the most common practice for compressible flows. – Select ‘Cell Zone Conditions > Operating Conditions – Set the Operating Pressure to Zero, then ‘OK’ ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -10 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement • Set the upstream boundary conditions: – Select ‘Boundary Conditions’ > pressure-far-field-1 > edit – The pressure-far-field boundary type is applicable only when the density is calculated using the ideal-gas law. It is important to place the far-field boundary far enough from the object of interest. For example, in lifting airfoil calculations, it is not uncommon for the far-field boundary to be a circle with a radius of 20 chord lengths. – On the ‘Momentum’ tab, set the gauge static pressure to 73048 Pa – We need to input static pressure for a far-field boundary. We can calculate this from the total pressure, which was atmospheric at 101325 Pa for the wind-tunnel test. – In the case of a real external aerodynamic simulation, rather than a wind tunnel, the static pressure (at a given altitude) would actually be the same as the total pressure in the far field, because the air in the far field would be stationary. – We have already set the operating pressure to zero, so we are now working in absolute pressure values. Hence the gauge static pressure input will be equal to the absolute static pressure value, which we will calculate to be 73048 Pa. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -11 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement • Set the Mach Number to 0. 7 and flow direction components as shown. • The angle of attack (α) in this numerical case is 1. 53 deg. The x-component of the flow is cos α and the y-component is sin α. – It is common practice to adjust the numerical α from the experimental α in order to match the lift obtained in the wind tunnel, and then to determine the drag associated with this lift. This adjustment of α is carried out to counter the effects of the wind tunnel enclosure. • Set a reasonable boundary condition for the far field turbulence: • In reality the far-field air would be stationary. Wind tunnels attempt to replicate this by using filters and grids to obtain a low turbulence intensity at the inlet. • Select ‘Intensity and Length Scale’ • Set an intensity of 0. 01% • Choose a length scale proportional to the boundary layer thickness. Based on an estimated maximum boundary layer thickness of 50 mm*, a suitable length scale is 0. 4 x 0. 05 m = 0. 02 m * taken from a previous simulation ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -12 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement • Select thermal tab. – The wind tunnel operating conditions for validation test data give the total temperature as T 0 = 311 K – We can therefore calculate the static temperature to be 283. 24 K ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -13 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Boundary Conditions Workshop Supplement • For both walls representing the airfoil, leave the default settings which correspond to a no-slip condition for momentum and adiabatic for thermal. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -14 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Reference Values Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Reference Values Workshop Supplement • Set the reference values: These are not used in the actual solution, but are used for reporting coefficients, such as Cp. – Use the freestream conditions as a reference, so choose ‘compute from’ then select ‘pressure-far-field-1’ in the drop down list. Note the reference values for density, enthalpy, pressure, temperature, etc. will update from the freestream values you specified in the pressure-far-field-1 boundary. – Set the reference length (which is not updated from the far field boundary values). In this 2 D case, we will use the airfoil chord length, of 1 m. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -15 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Methods Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Methods Workshop Supplement • The CFD computation is now defined. However the solver settings need to be modified. These dictate how fast, stable and accurate (within the mesh and BC constraints) the solution will be. • Select Solution Methods in the LHS tree. • Keep the default settings for the implicit formulation and Roe-FDS flux type. – The explicit formulation is only normally used for cases where the characteristic time scale is of the same order as the acoustic time scale, for example the propagation of high Mach number shock waves. – The implicit formulation is more stable and can be driven much harder to reach a converged solution in less time. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -16 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Methods Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Methods Workshop Supplement • Change the gradient method to Green-Gauss Node Based. – This is slightly more computationally expensive than the other methods but is more accurate. • Select Second Order Upwind for flow and turbulence discretization. – To accurately predict drag, select the ‘Second Order Upwind’ schemes. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -17 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Controls Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Controls Workshop Supplement • The Courant number (CFL) determines the internal time step and affects the solution speed and stability. – The default CFL for the density-based implicit formulation is 5. 0. It is often possible to increase the CFL to 10, 20, 100, or even higher, depending on the complexity of your problem. You may find that a lower CFL is required during startup (when changes in the solution are highly nonlinear), but it can be increased as the solution progresses. As we will be using automatic ‘solution steering’, the choice of CFL at this stage is not important for this case. Keep the default under-relaxation factors (URFs) for the uncoupled parameters. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -18 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Monitors Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Monitors Workshop Supplement • Set up residual monitors so the convergence can be monitored – Monitors > Residuals > Edit – Make sure ‘plot’ is on – Turn off convergence checks by setting the criterion to ‘none’. This means that the calculation will not stop based on the residual plots convergence, but you can still see their progress. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -19 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Monitors Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Monitors Workshop Supplement • Set up a monitor for the drag coefficient on the airfoil. • Select both wall zones and toggle on ‘Print’, ‘Plot’ and ‘Write’. • Remember that α is 1. 53° so we need to use the force vector as shown. -Lift and drag are defined relative to the wind, not the airfoil. You can specify which window FLUENT uses to display plots. For now, accept the defaults. • Press OK, then follow the same process to setup a monitor for Lift. – The settings are identical except for the File Name (cl-history instead of cd-history) and the Force Vectors defined as shown here: ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -20 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Initialization Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Solution Initialization Workshop Supplement • Initialize the flow field based on the far-field boundary: – Select Solution Initialization from the model tree – Compute from > pressure-far-field-1 – Press ‘Initialize’. • Solution Steering enables the robust first order discretization in the early-stages of the computation, then blends to the more accurate second order schemes as the solution stabilizes. – Select Run Calculation, and toggle on Solution Steering – Change the flow type to transonic and keep default options • Full-Multi-Grid Initialization will compute a quick, simplified solution based on a number of coarse sub-grids. This will then be used as a starting point for the main calculation. FMG can help to get a stable starting point. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -21 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Case Check Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Case Check Workshop Supplement • Check the case file and make sure there are no reported issues. – Use Run Calculation > Check Case – Any potential problems with the case setup will be raised in the case check panel if there are no problems this panel will not appear. In this case there is a recommendation to check the reference values for the force monitors. Since we have already set these we can ignore this warning. • Save the case file. – File > Save Project (if running under workbench) ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -22 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement • Although the calculation is ready to compute, It is good practice (but not strictly necessary) to run the FMG and then check the coarse FMG solution before starting the main calculation iterations. • Set the number of requested iterations to zero, and press ‘Calculate’. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -23 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement • Check the pressure and velocity contours to make sure that no spurious values are predicted. • Go to ‘Graphics and Animations in the LHS tree, choose ‘Contours’ and ‘Set Up’ ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -24 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation • • •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation • • • Workshop Supplement Choose Contours of Pressure > Static Pressure and ‘Filled’ Display. If you need to autoscale the display press <control> A Zoom in as required. Examine the min and max reported values. Repeat for Contours of Velocity> Mach Number. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -25 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement • There are no spurious results from the FMG, so proceed to the main calculation. • Return to ‘Run Calculation’ in the LHS tree. • Change the number of windows to three (for the residual, drag and lift monitors that we set up earlier). • Request 900 iterations. • ‘Calculate’ ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -26 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Run Calculation Workshop Supplement • After 900 iterations the calculation has fully converged. – Note that the CFL has been updated during the calculation in a number of stages, ramping up from 5 to 200 as we requested. This can be seen in the CFL window and the effect on the residuals is also evident. By the end of the calculation the residuals have converged well and are no longer changing. The drag and lift monitors are also stable. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -27 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Select ‘Graphics and Animations’ in the LHS menu • Examine the contours of static pressure. – Turn off ‘Filled’ to just display the contour lines. – Adjust the Levels to increase the number of contour lines. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -28 The contour will display in the active window (click a window to activate). Alternatively, use the drop down menu to return the display to a single window as shown here April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Plot contours of Velocity > Mach Number and notice that the flow is now locally supersonic. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -29 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Select ‘Plots’ in the LHS menu. • Plot Pressure Coefficient along the top and bottom airfoil surfaces. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -30 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Compare experimental pressure coefficient plots which we can import and plot here alongside the numerical prediction. • Click on ‘Load File’ and browse for the files in your directory. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -31 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Once loaded, plot the CFD and experimental Cp plots together. • A good agreement can be seen. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -32 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • In order to obtain a good drag prediction, and for the turbulence model to work effectively, we need to have a mesh that is well resolved near to the wall, such that the first grid point is in the viscous sub-layer. Ideally we want a Y+ value of 1 or less. • Plot Turbulence > Y+, along both of the airfoil walls. – Deselect the Pressure Coefficient File Data. • We can see that this is achieved here, the max Y+ is 0. 75 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -33 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing [FLUENT] Workshop Supplement • Compare the predicted Cl and Cd against the experimental values. • From Reference 1 – Cl = 0. 241 and Cd = 0. 0079 • From the console window, we have predicted – Cl = 0. 241 and Cd = 0. 0083 – Again, good agreement can be seen. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -34 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • Save the project from the FLUENT file menu. – Take the middle option ‘Continue after replacing settings file’) • • • Close FLUENT (File > Close FLUENT) Additional post-processing will now be performed in CFD Post. Return to the Workbench Project window. Click on ‘Update Project’ and notice the Results panel update. Right click on cell B 2 (Results) and select edit. This will launch CFD Post. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -35 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • Note that CFD Post works in 3 D, so a unit thickness will be added to the 2 D airfoil, with symmetry side boundaries. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -36 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • Insert a new Contour and accept the default name Contour 1 – Top menu > Insert > Contour • Choose the location as symmetry-1 • Choose the variable to be pressure and ‘Apply’ (zoom in) ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -37 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • A useful feature in CFD Post is the ability to compare two different sets of CFD data. – Verify that the file NACA 0012 -mach-0. 5 -conv. dat. gz is in your working directory. – File > Load Results – Browse to your working directory. – Under ‘Case options’ make sure ‘keep current cases loaded’ is checked. – Open the File NACA 0012 -mach-0. 5 -conv. dat. gz. • Click OK if an Information/Warning dialog box appears. • We now have two data sets loaded and can do a case comparison. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -38 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • Make sure that two windows are open, and select the respective cases in a different window. • Lock the views so they are synchronised. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -39 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing Workshop Supplement • Toggle on location ‘Symmetry 1’ in each case. • Select ‘Contour 1’ and apply. We can compare the two pressure plots. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -40 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing • • •

WS 2: Transonic Flow Over a NACA 0012 Airfoil Post Processing • • • Workshop Supplement Finally, we can plot the difference between the two. In the Outline view, double-click Case Comparison. The Case Comparison details view appears. Select Case Comparison Active and click Apply. A third viewport opens that displays the pressure difference between the two cases. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -41 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil Summary Workshop Supplement • In

WS 2: Transonic Flow Over a NACA 0012 Airfoil Summary Workshop Supplement • In this tutorial we have used FLUENT within a Workbench project to compute the transonic, compressible flow over a naca 0012 airfoil. • We have imported a mesh that was generated in Gambit. • We have used the density based solver with solution steering. • We have compared the results to published experimental data and seen good agreement. • We have seen how FLUENT can be linked to CFD Post in a Workbench project, and we have explored some of the features within CFD Post. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -42 April 28, 2009 Inventory #002601

WS 2: Transonic Flow Over a NACA 0012 Airfoil References Workshop Supplement • T.

WS 2: Transonic Flow Over a NACA 0012 Airfoil References Workshop Supplement • T. J. Coakley, “Numerical Simulation of Viscous Transonic Airfoil Flows, ” NASA Ames Research Center, AIAA-87 -0416, 1987. • C. D. Harris, “Two-Dimensional Aerodynamic Characteristics of the NACA 0012 Airfoil in the Langley 8 -foot Transonic Pressure Tunnel, ” NASA Ames Research Center, NASA TM 81927, 1981. ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. WS 2 -43 April 28, 2009 Inventory #002601