CFX-Intro 16.0 WS03 NACA0012-Airfoil
CFX-Intro 16.0 WS03 NACA0012-Airfoil
16.0 Release
It is important to place the far field (inlet and po 1 2 1
1 M
outlet) boundaries far enough from the p 2
object of interest. where
For example, in lifting airfoil calculations, it is not po total pressure 101325 Pa
uncommon for the far-field boundary to be a circle p static pressure
with a radius of 20 chord lengths. 1.4 for air
M Mach No. 0.7
po
1.3871 p 73048 Pa
This workshop will compare CFD with wind- p
tunnel test data at Ma = 0.7. Therefore we
need to calculate the static conditions at the To 1 2
1 M
far-field boundary for T and p. T 2
where
We calculate this from the total pressure, which
To total temp. 311K
is atmospheric at 101325 Pa.
T static temp.
The wind tunnel operating conditions for To
validation test data give the total temperature as T0 1.3871 T 283.24 K
T
= 311 K.
Introduction Setup Solution Results Summary
© 2015 ANSYS, Inc. March 13, 2015 4 Release 16.0
Case Setup: Basic Settings
Edit the domain so that
Air Ideal Gas is used as material,
the SST turbulence model,
and Total Energy model are applied.
Set the Reference Pressure of your domain
pRef = 73048 [Pa]
The SST turbulence model is a very powerful model for aerodynamic, external flows.
The Total Energy model is needed for compressible flows where the Ma > 0.3
Since the fluid is compressible, density depends on Absolute Pressure. The Reference
Pressure chosen ensures that the values of static pressure in the solution are not too
large compared with the differences, so minimising round-off errors.
Another way of accounting for this angle of attack would be to rotate the
velocities at the inlet via expressions
Create a wall boundary, called airfoil, containing the upper and lower
surfaces of the airfoil
Create a no-slip, adiabatic wall
Create symmetry boundary conditions for the bottom and the top of the
domain
• Use the above expression to create a Monitor Point for the drag coefficient.
• The lift coefficient is defined analogously for the x component of force in the
local coordinate frame.
– Duplicate the first monitor (right click on the monitor object in the Outline Tree) and
edit the expression in the copy. Rename the new monitor.
Functions, variables & expressions are available in the expression details tab (RMB)
The expressions must match the names for the airfoil and inlet (free stream)
boundary conditions. Check how you named them.
Introduction Setup Solution Results Summary
© 2015 ANSYS, Inc. March 13, 2015 9 Release 16.0
Run Calculation
• Close CFX-Pre
• Save the project to airfoil.wbpj in your
working directory
• Start the run
• Review the convergence plots
• Click User Points to review the lift and drag
coefficient convergence
– From Reference [1], cl = 0.241 and cd = 0.0079
– Compare with the simulation results and
determine the relative error for these quantities
– Later we will see how to improve the results in a
Best Practice Study
• Close the CFX-Solver Manager and import the
results to CFD Post
We will compare the simulation results with experimental data for the
pressure coefficient, cP, on the upper and lower surfaces of the airfoil.
The pressure coefficient is a dimensionless quantity representing the
ratio of static to dynamic pressure, calculated as:
cP = 2(p-p)/(u²)
where indicates free stream values.
It is used to assess pressure distribution for different designs.
Task:
Run the simulation (with the new settings from the last slide) twice more.
For the second run switch on Double Precision. Compare the drag and lift
coefficients displayed in the User Points monitor.
If you see a difference, then DOUBLE PRECISION should be used.
(Why? In this case there are some very high aspect ratio grid cells)
Task:
Look at the residuals in the Solver Manager
• If we switch to the Max Residuals, we can see that those for Mass and
Momentum are still > 1e-3
• The Monitor Points for Lift and Drag are not converged
• The Imbalances are low (< 0.1 %)
Task:
Recompute this simulation and examine the results for the mesh files:
1) naca0012medium.cfx5
2) naca0012fine.cfx5
Duplicate the system and right-click on the Imported Mesh cell to import the
new mesh.
We expect you will observe that:
• There is a big difference between the solutions on the coarse and medium
meshes
• The results from the medium and the fine mesh are almost identical
• Therefore we should use the mesh: naca0012medium.cfx5
Task:
• We know that a proper resolution of the boundary layer will have a
strong influence on the quality of the solution of this test case. This is
guarantueed by a proper mesh resolution and the automatic wall
treatment of the SST turbulence model.
• Change to the k-epsilon turbulence model and recompute the flow. This
model applies a scalable wall function, which cannot resolve the
influence of the viscous sublayer.
• Check the influence on the results.
We do not suggest that you explore Systematic Errors here since that would
modification of the original geometry.
One of the important things to remember in your own work is, before even
starting the ANSYS software, is to think WHY you are performing the simulation:
• What information are you looking for?
• What do you know about the flow conditions?
In this case we were interested in the lift (and drag) generated by a standard
airfoil and how well the solver predicted these when compared to high quality
experimental data
Knowing your aims from the start will help you make sensible decisions about
how much of the part to simulate, the level of mesh refinement needed, and
which numerical schemes to select
Introduction Setup Solution Results Summary
© 2015 ANSYS, Inc. March 13, 2015 28 Release 16.0
References