Professional Documents
Culture Documents
Introductory
FLUENT Training
• 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 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.
• 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.
• 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.
T0 1 2
1 M
T 2
where
T0 total temperatur e 311K
T static temperatur e
1.4 for air
M Mach number 0.7
T
0 1.098 and so T 283.24 K
T
• For both walls representing the airfoil, leave the default settings
which correspond to a no-slip condition for momentum and adiabatic
for thermal.
• 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.
• 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 April 28, 2009
© 2009 ANSYS, Inc. All rights reserved. WS2-16 Inventory #002601
WS2: Transonic Flow Over a NACA 0012 Airfoil
• 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.
• 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:
• 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.
• 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’
• Plot contours of Velocity > Mach Number and notice that the flow is
now locally supersonic.
• From Reference 1
– Cl = 0.241 and Cd = 0.0079
• Note that CFD Post works in 3D, so a unit thickness will be added to
the 2D airfoil, with symmetry side boundaries.
• Make sure that two windows are open, and select the respective
cases in a different window.
• Lock the views so they are synchronised.