Ansys CFD-Post Tutorials 2022 R1
Ansys CFD-Post Tutorials 2022 R1
Ansys CFD-Post Tutorials 2022 R1
ANSYS, Ansys Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
List of Figures
2.1. Problem Specification ........................................................................................................................... 10
2.2. Orientation Control Cursor Types ........................................................................................................... 16
2.3. Right-click Menus Vary by Cursor Position .............................................................................................. 17
2.4. Velocity on the Symmetry Plane ............................................................................................................ 19
2.5. Velocity on the Symmetry Plane (Enhanced Contrast) ............................................................................ 20
2.6. Vector Plot of Velocity ........................................................................................................................... 21
2.7. Streamlines of Turbulence Kinetic Energy .............................................................................................. 23
2.8. Absolute Helicity Vortex ........................................................................................................................ 25
2.9. Volume Rendering of Temperature ........................................................................................................ 26
2.10. Boundary Pressure vs. a Contour Plot of Pressure ................................................................................. 28
2.11. Comparing Contour Plots of Temperature on Two Mesh Densities ........................................................ 33
2.12. Displaying Differences in Contour Plots of Temperature on Two Mesh Densities ................................... 34
3.1. Problem Specification ........................................................................................................................... 48
4.1. Problem Specification ........................................................................................................................... 66
4.2. The Hexahedral Grid for the Simulation ................................................................................................. 69
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Introduction to the Tutorials
The tutorials are designed to introduce the capabilities of CFD-Post. The following tutorials are available:
• Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow (p. 9) illustrates how to use CFD-
Post to visualize a three-dimensional turbulent fluid flow and heat transfer problem in a mixing elbow.
• Turbo Postprocessing (p. 47) demonstrates the turbomachinery postprocessing capabilities of CFD-
Post to visualize flow in a centrifugal compressor.
• Quantitative Postprocessing (p. 65) demonstrates the quantitative postprocessing capabilities of CFD-
Post using a 3D model of a circuit board with a heat-generating electronic chip mounted on it.
Using Help
To open the ANSYS Help, from the menu bar select Help > Contents.
You may also use context-sensitive help, which is provided for many of the details views and other
parts of the interface. To invoke the context-sensitive help for a particular details view or other feature,
ensure that the feature is active, place the mouse pointer over it, then press F1. Not every area of the
interface supports context-sensitive help.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Postprocessing Fluid Flow and Heat
Transfer in a Mixing Elbow
This tutorial illustrates how to use CFD-Post to visualize a three-dimensional turbulent fluid flow and
heat transfer problem in a mixing elbow. The mixing elbow configuration is encountered in piping
systems in power plants and process industries. It is often important to predict the flow field and tem-
perature field in the area of the mixing region in order to properly design the junction.
Note:
This tutorial is derived from an existing Fluent case. The combination of SI and Imperial units
is not typical, but follows a Fluent example.
Because the geometry of the mixing elbow is symmetric, only half of the elbow is modeled.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
If this is the first tutorial you are working with, it is important to review Introduction to the Tutori-
als (p. 7) before beginning.
CFD-Post uses a working directory as the default location for loading and saving files for a particular
session or project.
Ensure that the following tutorial input files are in your working directory:
• elbow_tracks.xml
• elbow1.cas.gz
• elbow1.cdat.gz
• elbow3.cas.gz
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
Setting the Working Directory and Starting CFD-Post
• elbow3.cdat.gz
– On Windows:
1. From the Start menu, right-click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-
Post 2022 R1 and select Properties.
2. Type the path to your working directory in the Start in field and click OK.
3. Click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-Post 2022 R1 to launch CFD-
Post.
– On Linux, enter cfdpost in a terminal window that has its path set up to run CFD-Post. The path
will be something similar to /usr/ansys_inc/v221/CFD-Post/bin.
– On Windows:
→ From the Start menu, select All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFX
2022 R1.
→ In a Command Prompt that has its path set up correctly to run Ansys CFX, enter
cfx5launch. If the path is not set up correctly, you will need to type the full pathname
of the cfx5launch command, which will be something similar to C:\Program
Files\ANSYS Inc\v221\CFX\bin.
– On Linux, enter cfx5launch in a terminal window that has its path set up to run Ansys CFX.
The path will be something similar to /usr/ansys_inc/v221/CFX/bin.
• Ansys Workbench
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
2. From the menu bar, select File > Save As and save the project file to the directory that you
want to be the working directory.
3. Open the Component Systems toolbox and double-click Results. A Results system opens in the
Project Schematic.
Ignore any message boxes that appear regarding global variable ranges or solution history by
clicking OK.
The mixing elbow appears in the 3D Viewer in an isometric orientation. The wireframe appears
in the view and there is a check mark beside User Location and Plots > Wireframe in the
Outline tree view; the check mark indicates that the wireframe is visible in the 3D Viewer.
c. Set:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
• Background > Color to white. To do this, click the bar beside the Color label to cycle
through 10 basic colors. (Click the right-mouse button to cycle backwards.) Alternatively,
you can choose any color by clicking to the right of the Color option.
e. Experiment with rotating the object by clicking on the arrows of the triad in the 3D Viewer.
This is the triad:
In the picture of the triad above, the cursor is hovering in the area opposite the positive Y
axis, which reveals the negative Y axis.
Note:
The viewer must be in "viewing mode" for you to be able to click the triad. You
set viewing mode or select mode by clicking the icons in the viewer toolbar:
When you have finished experimenting, click the cyan (ISO) sphere in the triad to return to
the isometric view of the object.
3. Set CFD-Post to display objects in the units you want to see. These display units are not neces-
sarily the same types as the units in the results files you load; however, for this tutorial you will
set the display units to be the same as the solution units for consistency. As mentioned in the
Problem Description (p. 9), the solution units are SI, except for the length, which is measured
in inches.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
c. Notice that System is set to SI. In order to be able to change an individual setting (length,
in this case) from SI to imperial, set System to Custom. Now set Length to in (inches) and
click OK.
Note:
• The display units you set are saved between sessions and projects. This means that
you can load results files from diverse sources and always see familiar units displayed.
• You have set only length to inches; volume will still be reported in meters. To change
volume as well, in the Options dialog box, select Common > Units, then click More
Units to find the full list of settings.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Click and drag repeatedly within the viewer to test the rotation of the geometry. Notice how the
mouse cursor changes depending on where you are in the viewer, particularly near the edges:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
The geometry rotates based on the direction of movement. If the mouse cursor has an axis (which
happens around the edges), the object rotates around the axis shown in the cursor. The axis of
rotation is through the pivot point, which defaults to be in the center of the object.
1. Right-click a blank area in the viewer and select Predefined Camera > View From -X.
2. Right-click a blank area in the viewer and select Predefined Camera > Isometric View (Z Up).
3. Click the "Z" axis of triad in the viewer to get a side view of the object.
4. Click the three axes in the triad in turn to see the vector objects in all three planes; when you
are done, click the cyan (ISO) sphere.
Now explore the differences between the orienting controls you just used and select mode.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Hover over one of the wireframe lines and notice that the cursor turns into a box.
3. Click a wireframe line and notice that the details view for the wireframe appears.
4. Right-click away from a wireframe line and then again on a wireframe line. Notice how the menu
changes:
5. In the Outline tree view, select the elbow1 > fluid > wall check box; the outer wall of the elbow
becomes solid. Notice that as you hover over the colored area, the cursor again becomes a box,
indicating that you can perform operations on that region. When you right-click the wall, a new
menu appears.
6. Click the triad and notice that you cannot change the orientation of the viewer object. (The triad
is available only in viewing mode, not select mode.)
7. In the Outline tree view, clear the elbow1 > fluid > wall check box; the outer wall of the elbow
disappears.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
1. With the 3D Viewer toolbar in viewing mode, click the cyan (ISO) sphere in the triad. This will
make it easy to see the instance reflection you are about to create.
2. Right-click one of the wireframe lines on the symmetry plane. (If you were in select mode, the
mouse cursor would have a "box" image added when you are on a valid line. As you are in
viewing mode there is no change to the cursor to show that you are on a wireframe line, so you
may see the general shortcut menu, as opposed to the shortcut menu for the symmetry plane.)
See Figure 2.3: Right-click Menus Vary by Cursor Position (p. 17).
3. From the shortcut menu, select Reflect/Mirror. If you see a dialog box prompting you for the
direction of the normal, choose the Z axis. The mirrored copy of the wireframe appears.
Tip:
If the reflection you create is on an incorrect axis, click the Undo toolbar icon twice.
1. From the menu bar, select Insert > Contour. In the Insert Contour dialog box, accept the default
name, and click OK.
a. You could also create a slice plane at a location of your choice and define the contour to
be at that location. The available locations are highlighted in the viewer as you move the
mouse over the objects in the Locations drop-down list.
3. Click Apply. The contour plot for velocity appears and a legend is automatically generated.
4. The coloring of the contour plot may not correspond to the colors on the legend because the
viewer has a light source enabled by default. There are several ways to correct this:
• You can experiment with changing the position of the light source by holding down the Ctrl
key and dragging the cursor with the right mouse button.
• You can disable lighting for the contour plot. To disable lighting, click the Render tab and
clear the check box beside Lighting, then click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
Disabling the lighting is the method that provides you with the most flexibility, so change that
setting now.
5. Click the Z on the triad to better orient the geometry (the 3D Viewer must be in viewing mode,
not select mode, to do this).
a. On the Render tab, select Show Contour Lines and click the plus sign to view more options.
c. Set Color Mode to User Specified and Line Color to black (if necessary, click the bar
beside Line Color until black appears).
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
7. Hide the contour plot by clearing the check box beside User Locations and Plots > Contour 1
in the Outline tree view.
Tip:
You can also hide an object by right-clicking on its name in the Outline tree view
and selecting Hide.
2. Click OK to accept the default name. The details view for the vector appears.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
4. Click Apply.
7. Change the vector plot so that the vectors are colored by temperature:
c. Click the down arrow beside the Variable field to set it to Temperature.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
8. Optionally, change the vector symbol. In the details view for the vector, go to the Symbol tab
and set Symbol to Arrow3D. Click Apply.
9. Hide the vector plot by right-clicking on a vector symbol in the plot and selecting Hide.
In this example you will create streamlines to show the flow distribution by velocity and color those
streamlines to show turbulent kinetic energy. CFD-Post uses the Variable setting on the Geometry
tab to determine how to calculate the streamlines (that is, location). In contrast, the Variable setting
on the Color tab determines the color used when plotting those streamlines.
1. From the menu bar select Insert > Streamline. Accept the default name and click OK.
2. In the details view for Streamline 1, choose the points from which to start the streamlines. Click
the down arrow beside the Start From drop-down widget to see the potential starting points.
Hover over each point and notice that the area is highlighted in the 3D Viewer. It would be best
to show how streamlines from both inlets interact, so, to make a multi-selection, click Location
editor . The Location Selector dialog box appears.
3. In the Location Selector dialog box, hold down the Ctrl key and click velocity inlet 5
and velocity inlet 6 to select both locations, then click OK.
4. Click Preview Seed Points to see the starting points for the streamlines.
7. Click Apply. The streamlines show the flow of massless particles through the entire domain.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
8. Select the check box beside Vector 1. The vectors appear, but are largely hidden by the stream-
lines. To correct this, select Streamline 1 in the Outline tree view and press Delete. The
vectors are now clearly visible, but the work you did to create the streamlines is gone. Click the
9. Hide the vector plot and the streamlines by clearing the check boxes beside Vector 1 and
Streamline 1 in the Outline tree view.
a. Under User Locations and Plots, clear the check box for Wireframe.
b. Under Cases > elbow1 > fluid, select the check box for wall.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
e. Click Apply.
This makes the pipe easy to see while also making it possible to see objects inside the pipe.
2. From the menu bar, select Insert > Location > Vortex Core Region and click OK to accept the
default name.
3. In the details view for Vortex Core Region 1 on the Geometry tab, set Method to Absolute
Helicity and Level to .01.
The absolute helicity vortex that is displayed is created by a mixture of effects from the walls,
the curve in the main pipe, and the interaction of the fluids. If you had chosen the vorticity
method instead, wall effects would dominate.
5. On the Color tab, click the colored bar in the Color field until the bar is green. Click Apply.
This improves the contrast between the vortex region and the blue walls.
6. Right-click in the 3D Viewer and select Predefined Camera > Isometric View (Y up).
7. In the Outline tree view, select the check box beside Streamline 1. This shows how the
streamlines are affected by the vortex regions.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
8. Clear the check boxes beside wall, Streamline 1 and Vortex Core Region 1. Select the check
box beside Wireframe.
1. From the menu bar, select Insert > Volume Rendering and click OK to accept the default name.
2. In the details view for Volume Rendering 1 on the Geometry tab, set Variable to Temperature.
3. On the Color tab, set Mode to Variable and Variable to Temperature. Click Apply.
4. If necessary to orient the simulation as shown below, right-click in the 3D Viewer and select
Predefined Camera > Isometric View (Y up).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
5. Hide the Volume Rendering object by clearing the check box beside Volume Rendering 1 in
the Outline tree view.
1. To do the comparison, split the 3D Viewer into two viewports by using the Viewport Layout
toolbar in the 3D Viewer toolbar:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Right-click in both viewports and select Predefined Camera > View From -Y.
3. In the Outline tree view, double-click pressure outlet 7 (which is under elbow1 > fluid).
The details view of pressure outlet 7 appears.
d. Click Apply. The plot of pressure appears and the legend shows a smooth spectrum that
goes from blue to red. Notice that this happens in both viewports; this is because Synchronize
visibility in displayed views is selected.
1. Click in View 2 to make it active; the title bar for that viewport becomes highlighted.
2. In the Outline tree view, clear the check box beside fluid > pressure outlet 7.
5. In the details view for the contour, ensure that Locations is set to pressure outlet 7 and
Variable is set to Pressure.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
7. Click Apply. The contour plot for pressure appears and the legend shows a spectrum that steps
through 10 levels from blue to red.
8. Compare the two representations of pressure at the outlet. Pressure at the Outlet is on the left
and a Contour Plot of pressure at the Outlet is on the right:
a. In the Outline tree view, right-click User Locations and Plots > Contour 2 and select Edit.
b. In the details view for the contour, on the Render tab, select Show Contour Lines > Con-
stant Coloring, set Color Mode to User Specified, and click Apply.
c. Click the Labels tab and select Show Numbers. Click Apply.
a. In View 1, click the cyan (ISO) sphere in the triad so that the two viewports show the elbow
in different orientations.
b. In the 3D Viewer toolbar, click Synchronize camera in displayed views . Both viewports
take the camera orientation of the active viewport.
c. Clear the Synchronize camera in displayed views icon and click the Z arrow head of the
triad in View 1. The object again moves independently in the two viewports.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
e. In the Outline tree view, right-click fluid > wall and select Show. The wall becomes visible
in both viewports. (Synchronization applies only to events that take place after you enable
the synchronize visibility function.)
11. When you are done, use the viewport controller to return to a single viewport. The synchronization
icons disappear.
1. Click the Report Viewer tab at the bottom of the viewer to view the current report.
2. In the Outline tree view, double-click the Report > Title Page. In the Title field on the Content
tab of the Details of Report Title Page, type: Analysis of Heat Transfer in a
Mixing Elbow
3. Click Apply, then Refresh Preview to update the contents of the Report Viewer.
4. In the Outline tree view, ensure that only User Location and Plots > Contour 1, Default Legend
View 1, and Wireframe are visible, then double-click Contour 1. On the Geometry tab, set
Variable to Temperature and click Apply.
5. On the menu bar, select Insert > Figure. The Insert Figure dialog box appears. Accept the default
name and click OK.
6. In the Outline tree view, double-click Report > Figure 1. In the Caption field, type Temperature
on the Symmetry Plane and click Apply.
7. Click the 3D Viewer, then click the cyan (ISO) sphere in the triad.
9. In the top frame of the Report Viewer, click Refresh . The report is updated with a
picture of the mixing elbow at the end of the report.
10. Optionally, click Publish to create an HTML version of the report. In the Publish Report dialog
box, click OK.
11. Right-click in the Outline tree view and select Hide All.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
variable, which you will also create. Finally, you will create a plane that displays the new variable,
then move the plane to see how the values for the variable change.
1. Define a custom expression for the dynamic head formula (rho|V|^2)/2 as follows:
a. On the tab bar at the top of the workspace area, select Expressions. Right-click in the Ex-
pressions area and select New.
c. Click OK.
where:
• Density is a variable
• abs is a CEL function (abs is unnecessary in this example, it simply illustrates the use of
a CEL function)
• Velocity is a variable
Tip:
You can learn which predefined functions, variables, expression, locations, and
constants are available by right-clicking in the Definition area.
e. Click Apply.
2. Associate the expression with a variable (as the plane you define in the next step can display
only variables):
a. On the tab bar at the top of the workspace area, select Variables. Right-click in the Variables
area and select New.
c. Click OK.
d. In the details view for DynamicHeadVar, click the drop-down arrow beside Expression and
choose DynamicHeadExp. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
c. If you see a dialog box that asks in which direction you want the normal to point, choose
the direction appropriate for your purposes.
A plane that maps the distribution of the default variable (Pressure) appears.
d. On the Color tab, set Variable to "DynamicHeadVar". On the Render tab, clear Lighting.
Click Apply.
e. In the 3D Viewer with the mouse cursor in select mode, click the plane and drag it to various
places in the object to see how the location changes the DynamicHeadVar values displayed.
f. Right-click the plane and select Animate. The Animation dialog box appears and the plane
moves through the entire domain, displaying changes to the DynamicHeadVar values as it
moves.
Tip:
You can define multiple planes and animate them concurrently. First, stop any anim-
ations currently running, then create a new plane. To animate both planes, hold down
Ctrl to select multiple planes in the Animation dialog box and click Play .
4. In the upper-left corner of the 3D Viewer, click the down arrow beside Figure 1 and change it
to View 1.
5. In the Outline tree view, right-click User Locations and Plots > Contour 1 and select Hide All.
1. Select File > Load Results. The Load Results File dialog box appears
2. On the Load Results File dialog box, select Keep current cases loaded and keep the other
settings unchanged.
In the 3D Viewer, there are now two viewports: in the title bar for View 1 you have elbow1,
and in View 2 you have elbow3. In the Outline tree view under Cases you have elbow1 and
elbow3; all boundaries associated with each case are listed separately and can be controlled
separately. You also have a new entry: Cases > Case Comparison.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
If the two cases are not oriented in the same way, clear the Synchronize camera in displayed views
icon and then select it again.
Examine the operation of CFD-Post when the two views are not synchronized and when they are
synchronized:
2. With the focus in View 1, select Insert > Contour and create a contour of pressure on pressure
outlet 7 that displays values in the local range.
Note that the contour appears only in View 1. When visibility is not synchronized, changes you
make to User Location and Plots settings apply only to the currently active view.
3. In either view (while in viewing mode), click the Z axis on the triad. Both views show their cases
from the perspective of the Z axis.
5. With the focus on the view that contains elbow3, select Insert > Contour. Accept the default
name and click OK.
6. Define the contour such that it displays temperature on the symmetry plane:
Click Apply.
Note that the contour appears in both views. You can see the differences between the coarse
and refined meshes:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
You can now compare the differences between the coarse and refined meshes:
2. In the Case Comparison details view, select Case Comparison Active and click Apply. The dif-
ferences between the values in the two cases appear in a third view. Click the Z axis of the triad
to restore the orientation of the views.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
Figure 2.12: Displaying Differences in Contour Plots of Temperature on Two Mesh Densities
1. To remove the Difference view, clear Case Comparison Active and click Apply.
2. To remove the refined mesh case, in the Outline tree view, right-click elbow3 and select Unload.
3. In the Outline tree view, right-click User Locations and Plots > Contour 1 and select Hide All.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
1. With only elbow1.cdat loaded, load the particle track file elbow_tracks.xml:
• Select File > Import > Import Fluent Particle Track File.
2. In the Import Fluent Particle Track File dialog box, select: elbow_tracks.xml
3. Click Open.
4. Click OK.
Particle tracks appear in the 3D Viewer. The tracks stretch from the two inlets to the outlet.
Make only the particle tracks from the large inlet visible:
1. In the Outline tree view, double-click User Locations and Plots> Fluent PT for Anthracite to
see the details view for the particle tracks.
2. In the details view, click the drop-down arrow beside the Injections field so that you can see
the names of the two sets of particle tracks.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
3. Select injection-0.
4. Click Apply.
b. Select injection-0,injection-1.
c. Click Apply.
5. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Click the drop-down arrow beside the Reduction Type field and select Reduction Factor.
4. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
3. On the Options dialog box, set Symbol Size to 2 and Symbol to Fish3D. Click OK.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
5. When you have finished viewing the animation, click Stop the animation , then close the
Animation dialog box.
2. In the Insert Vector dialog box, click OK to accept the default name for the vector.
• Factor to 20
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
Tip:
You need to click the More Variables icon to see Anthracite.Particle Velocity.
• Click Apply.
• In the Outline tree, clear User locations and Plots > Fluent PT for Anthracite.
4. After viewing the vector plot, clear User locations and Plots > Vector 2 and select User locations
and Plots > Fluent PT for Anthracite in order to view the particle tracks only.
4. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
Create a chart of particle time vs. particle velocity Y for a single track:
1. On the Geometry tab, click the drop-down arrow beside the Injections field and select injec
tion-0.
2. Click Apply.
3. On the Symbol tab, select Show Track Numbers and click Apply.
b. Select Track.
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
b. In the Insert Chart dialog box, type: Particle 54 and click OK.
The details view for the chart appears, and the Chart Viewer appears.
d. On the Data Series tab, select Series 1 and set Location to Fluent PT for Anthra
cite.
g. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. On the General tab, change the Title to Particle Time vs. Pressure.
3. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
6. Click Calculate.
1. How you save your work depends on whether you are running CFD-Post stand-alone or from
within Ansys Workbench:
This operation saves the expression, custom variable, and the settings for the objects in a
.cst file and saves the state of the animation in a .can file. The .cas.gz and .cdat.gz
files remain unchanged.
2. A Warning dialog box asks if you want to save the animation state. Click Yes.
3. Optionally, confirm the state file's contents: close the current file from the menu bar by se-
lecting File > Close (or press Ctrl+W) then reload the state file (select File > Load State
and choose the file that you saved in step 1.)
1. From the CFD-Post menu bar, select File > Quit. Ansys Workbench saves the state file
automatically.
2. In the Ansys Workbench Project Schematic, double-click the Results cell. CFD-Post re-opens
with the state file loaded.
2. Save a picture of the current state of the simulation: In the Outline tree view, show Contour 1.
With the focus in the 3D Viewer, click Save Picture from the toolbar. In the Save Picture dialog
box, click Save. A PNG file of the current state of the viewer is saved to <casename>.png (el-
bow1.png) in your working directory.
3. You can recreate the animation you made previously and save it to a file:
a. Click the cyan (ISO) sphere in the triad to orient the elbow to display Plane 1.
b. In the Outline tree view, clear Contour 1 and Fluent PT for Anthracite; show Plane 1.
c. Right-click Plane 1 in the 3D Viewer and select Animate. The Animation dialog box appears
and the plane moves through the entire domain.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Save Your Work
f. The Repeat is set to infinity; change the value to 1 by clicking the infinity button. The Repeat
field becomes selected and by default is set to one.
You can now go to your working directory and play the animation file in an appropriate
viewer.
5. Close CFD-Post: from the toolbar select File > Quit. If prompted, you may save your changes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Postprocessing Fluid Flow and Heat Transfer in a Mixing Elbow
• elbow1.cst, the state file, and elbow1.can, the animation associated with that state file
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Turbo Postprocessing
This tutorial demonstrates the turbomachinery postprocessing capabilities of CFD-Post.
In this example, you will read Fluent case and data files (without doing any calculations) and perform
a number of turbomachinery-specific postprocessing operations.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Turbo Postprocessing
If this is the first tutorial you are working with, it is important to review Introduction to the Tutori-
als (p. 7) before beginning.
CFD-Post uses a working directory as the default location for loading and saving files for a particular
session or project.
Ensure that the following tutorial input files are in your working directory:
• turbo.cas.gz
• turbo.cdat.gz
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Setting the Working Directory and Starting CFD-Post
– On Windows:
1. From the Start menu, right-click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-
Post 2022 R1 and select Properties.
2. Type the path to your working directory in the Start in field and click OK.
3. Click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-Post 2022 R1 to launch CFD-
Post.
– On Linux, enter cfdpost in a terminal window that has its path set up to run CFD-Post. The path
will be something similar to /usr/ansys_inc/v221/CFD-Post/bin.
– On Windows:
→ From the Start menu, select All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFX
2022 R1.
→ In a Command Prompt that has its path set up correctly to run CFX, enter cfx5launch. If
the path is not set up correctly, you will need to type the full pathname of the cfx command,
which will be something similar to C:\Program Files\ANSYS Inc\v221\CFX\bin.
– On Linux, enter cfx5launch in a terminal window that has its path set up to run CFX. The
path will be something similar to /usr/ansys_inc/v221/CFX/bin.
• Ansys Workbench
2. From the menu bar, select File > Save As and save the project file to the directory that you
want to be the working directory.
3. Open the Component Systems toolbox and double-click Results. A Results system opens in the
Project Schematic.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Turbo Postprocessing
2. If you see a message that discusses Global Variables Ranges, it can be ignored. Click OK.
The turbo blade appears in the viewer in an isometric orientation. The Wireframe appears in
the 3D Viewer and there is a check mark beside Wireframe in the Outline workspace; the check
mark indicates that the wireframe is visible in the 3D Viewer.
3. Set CFD-Post to display the units you want to see. These display units are not necessarily the
same types as the units in the results files you load; however, for this tutorial you will set the
display units to be the same as the solution units.
Note:
The display units you set are saved between sessions and projects. This means that
you can load results files from diverse sources and always see familiar units displayed.
4. Double-click Wireframe in the Outline workspace to see the details view. To display the mesh,
set Edge Angle to 0 degrees and click Apply. The edge angle determines how much of the
surface mesh is visible. If the angle between two adjacent faces is greater than the edge angle,
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
then that edge is drawn. If the edge angle is set to 0°, the entire surface mesh is drawn. If the
edge angle is large, then only the most significant corner edges of the geometry are drawn.
Tip:
With the mouse focus on CFD-Post and the mouse over the Details of Wireframe
editor, press F1 to see help about the Wireframe object.
On the Wireframe details view, click Defaults and Apply to restore the original settings.
c. Set:
• Background > Color to white. To do this, click the bar beside the Color label to cycle
through 10 basic colors. (Click the right-mouse button to cycle backwards.) Alternatively,
you can choose any color by clicking icon to the right of the Color option.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Turbo Postprocessing
You need to initialize Fluent case and data files manually (automatic initialization is available only for
CFX files produced by the Turbo wizard in CFX-Pre). To initialize the components:
1. Click the Turbo tab in the upper-left pane of the CFD-Post window. The Turbo workspace appears
as does a Turbo initialization dialog box that offers to auto-initialize all turbo components. Click
No.
2. In the Turbo workspace under Initialization, double-click fluid (fluid). The details view
of Fluid appears.
3. On the Definition tab, the regions of the geometry are listed under Turbo Regions. However,
not all regions are listed; correct this as follows:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
b. Hold down the Ctrl key and in the Location Selector select wall diffuser hub, wall
hub, and wall inlet hub.
c. Click OK.
d. Repeat the previous steps for the Shroud region, selecting wall diffuser shroud,
wall inlet shroud, and wall shroud.
e. Repeat the previous steps for the Blade region, selecting only wall blade.
f. Repeat the previous steps for the Inlet region, selecting only inlet.
g. Repeat the previous steps for the Outlet region, selecting only outlet.
h. Repeat the steps for the Periodic 1 region, selecting periodic.33, periodic.34, and
periodic.35.
You do not need to initialize the periodic.*shadow regions; the periodic.* nodes
provide the information that the turbo reports require.
b. Ensure that Axis Definition is set to Custom, that Method is set to Principal Axis,
and that Axis is set to Z.
5. Click Initialize. This generates variables that you will use later to create reports.
Tip:
If the turbo topology is not correctly defined, an error message is generated and the
initialization does not occur. To resolve such an error:
b. Ensure that the turbo regions are correctly set, and that they enclose the passage
without any gaps.
6. Double-click Initialization at the top of the Turbo tree view. The Initialization editor appears.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Turbo Postprocessing
7. Click the Calculate Velocity Components button. This generates velocity variables that you will
also use in your reports.
The initialization process has created a variety of plots automatically; you will access these from the
Turbo tab in the sections that follow.
• In the Turbo workspace, select the Three Views option at the bottom of the Initialization editor.
In the 3D Viewer you can see the Turbo Initialization View, the Blade to Blade View, and the
Meridional View.
The CFD-Post Blade to Blade View is equivalent to the Fluent "2D contour on a spanwise surface".
By default, the variable shown is Pressure. To change this to velocity and to make the image more
like the default Fluent equivalent:
1. In the Blade to Blade View, right-click the colored area shown in the viewport and select Edit.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. In the details view for the Blade-to-Blade Plot, change the Plot Type from Color to Contour
(this changes the continuous gradation found in Color to the discrete color bands found in
Contour).
5. Click Apply.
The CFD-Post Meridional View is equivalent to the Fluent "contour averaged in the circumferential
direction". To make the image more like the default Fluent equivalent:
1. In the Meridional View, right-click the colored area shown in the viewport and select Edit.
2. In the details view for the Meridional Plot, change the Plot Type from Color to Contour.
4. Click Apply.
b. Double-click 3D View.
2. From the menu bar select Insert > Location > Isosurface and accept the default name.
3. Set the following values on the details view for the isosurface:
Value .01
Color Mode Variable
Variable Pressure
Range User Specified
Min 72800 [Pa]
Max 186000 [Pa]
Render Lighting (Cleared)
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Turbo Postprocessing
5. Right-click Isosurface 1 in the Tree view and select Duplicate, then change Geometry > Value
to .2 and click Apply.
6. Create other duplicates for geometry values .4, .6, .8, and .99.
Note:
You can set locator variables other than Linear BA (Blade Aligned) Streamwise Location.
For example, edit Isosurface 5 and change Linear BA Streamwise Location
to M Length Normalized to see how the isosurface changes.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
1. In the Outline tree view, right-click any object under User Locations and Plots that has
a visibility check box, then select Hide All.
2. Under User Locations and Plots, ensure that the check box beside Wireframe is selected.
b. Ensure that Instance Definition is set to Custom and that Full Circle is selected.
c. Ensure that Axis Definition is set to Custom, that Method is set to Principal Axis,
and that Axis is set to Z.
5. Click Apply.
6. If necessary, click the Fit View icon so that you can see the whole case.
1. From the menu bar, select Tools > Function Calculator. The Calculators tab appears with the
Function Calculator displayed.
2. Use the Function Calculator to calculate the mass flow average of pressure at the inlet as follow:
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Turbo Postprocessing
The Function Calculator not only makes it easy to create and calculate a function, it also
enables you to see the syntax for functions, which you will use in the subsequent steps.
3. To display functions like this in a table, click the Table Viewer tab (at the bottom of the viewer
area). The Table Viewer appears.
4. In the toolbar at the top of the Table Viewer, click New Table . The New Table dialog box
appears. Type in Inlet and Outlet Values and click OK.
a. Click in cell B2, then in the Table Viewer toolbar, select Function > CFD-Post > massFlow.
The definition =massFlow()@ appears.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
b. With the text cursor after the @ symbol, click Location > inlet.
c. Press Enter; the value of the mass flow at the inlet appears.
d. Repeat the above steps for cell C2, but use Location > outlet.
e. For cell B3, select Function > CFD-Post > massFlowAve. With the text cursor between the
parentheses, select Variable > Pressure. With the text cursor after the @ symbol, click
Location > inlet. Press Enter; the value of the mass flow average of pressure at the inlet
appears.
f. Repeat the previous step for cell C3, but use Location > outlet.
a. Click in cell A1 and, while holding down Shift, click in cell C1. Now the operations you per-
form will apply to A1 through C1.
b. Click to make the heading font bold, then click to center the heading text. Click
c. Click in cell A2 and, while holding down Shift, click in cell A3. Click to make the row
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Turbo Postprocessing
8. Click the Report Viewer tab and then click Refresh in the Report Viewer toolbar. The table
data appears at the bottom of the report.
2. Now, change the chart to compare temperature to streamwise location (the latter being called
"meridional location" in Fluent) and make the chart look more like the Fluent default:
Setting Value
Domains fluid
Samples/Comp 60
Y Axis
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
3. Click the Report Viewer tab at the bottom of the viewer area.
4. In the Report Viewer toolbar, click the Refresh button. The Inlet to Outlet Chart appears in
the User Data section of the report.
Tip:
• Blade Loading
• Circumferential
• Hub to Shroud
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Turbo Postprocessing
Note:
The Turbo report is generated from the values set when you initialized the case, so if there
were any changes required to those values, you would make them now and run the initial-
ization procedure again. For this tutorial, that will not be necessary.
1. Create a new variable that the report expects (which would be available with CFX results files
for rotating machinery applications, but which is not available from Fluent case and data files).
a. From the toolbar, click Variable . The Insert Variable dialog box appears.
c. In the Expression field, type Radius * abs(omega) / 1 [rad] and click Apply. This
expression calculates the angular speed (in units of length per unit time) as a product of
the local radius and the rotational speed.
2. In the 3D Viewer toolbar, click Fit View . This ensures that the graphics will not be truncated
in the report you are about to generate.
3. In the Outline tree view, right-click Report and select Report Templates. The Report Templates
dialog box appears.
4. Select an appropriate report template; in this case, select Centrifugal Compressor Report.
5. Click Load. The Report Templates dialog box disappears and you can watch the report's progress
in the status bar in the bottom-right corner of CFD-Post.
Note:
A dialog box appears that warns that hybrid values do not exist and that conservative
values will be used. This is expected behavior when using data loaded from Fluent.
An error about "Mach Number in Stn Frame" is also mentioned; this prevents a line
in the report from appearing. Click OK.
When the report has been generated, there are new entries in the Outline tree view under Report.
6. Under User Locations and Plots, double-click fluid Instance Transform. This is an in-
stance transform generated by the report to facilitate showing two blades in the figures that
show blade-to-blade views.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
8. Click the Expressions tab. Double-click the expression fluid Components in 360 to edit it.
Change the definition to 20 and click Apply.
2. Optionally, you can remove pieces from the report by clearing the appropriate check boxes in
the Report section of the Outline tree. When you have made your selections, return to the Report
Viewer and click Refresh (in the Report Viewer toolbar). The edited version of the turbo report
appears.
3. To produce an HTML version of the report that you can share with others, click Publish (at the
top of the viewer area). The report is saved in a filename of your choosing in your working dir-
ectory (by default).
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Quantitative Postprocessing
This tutorial demonstrates the quantitative postprocessing capabilities of CFD-Post using a 3D model
of a circuit board with a heat-generating electronic chip mounted on it. The flow over the chip is lam-
inar and involves conjugate heat transfer.
The heat transfer involves conduction in the chip and conduction and convection in the surrounding
fluid. The physics of conjugate heat transfer such as this is common in many engineering applications,
not just the design and cooling of electronic components.
In this tutorial, you will read the case and data files and perform a number of postprocessing exercises.
Note:
These tutorials are prepared on a Windows system. The screen shots in the tutorials may be
slightly different than the appearance on your system, depending on the operating system
or graphics card.
As shown in the figure, each half-module is assumed to generate 2.0 Watts and to have a bulk conduct-
ivity of 1.0 W/m2K. The circuit board conductivity is assumed to be one order of magnitude lower: 0.1
W/m2K. The air flow enters the system at 298 K with a velocity of 1 m/s. The Reynolds number of the
flow, based on the module height, is about 600. The flow is therefore treated as laminar.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Quantitative Postprocessing
If this is the first tutorial you are working with, it is important to review Introduction to the Tutori-
als (p. 7) before beginning.
CFD-Post uses a working directory as the default location for loading and saving files for a particular
session or project.
Ensure that the following tutorial input files are in your working directory:
• chip.cas.gz
• chip.cdat.gz
– On Windows:
1. From the Start menu, right-click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-
Post 2022 R1 and select Properties.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Type the path to your working directory in the Start in field and click OK.
3. Click All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFD-Post 2022 R1 to launch CFD-
Post.
– On Linux, enter cfdpost in a terminal window that has its path set up to run CFD-Post. The path
will be something similar to /usr/ansys_inc/v221/CFD-Post/bin.
– On Windows:
→ From the Start menu, select All Programs > ANSYS 2022 R1 > Fluid Dynamics > CFX
2022 R1.
→ In a Command Prompt that has its path set up correctly to run CFX, enter cfx5launch. If
the path is not set up correctly, you will need to type the full pathname of the cfx command,
which will be something similar to C:\Program Files\ANSYS Inc\v221\CFX\bin.
– On Linux, enter cfx5launch in a terminal window that has its path set up to run CFX .The
path will be something similar to /usr/ansys_inc/v221/CFX/bin.
• Ansys Workbench
2. From the menu bar, select File > Save As and save the project file to the directory that you
want to be the working directory.
3. Open the Component Systems toolbox and double-click Results. A Results system opens in the
Project Schematic.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Quantitative Postprocessing
1. Start CFD-Post now and load the CDAT file (chip.cdat.gz) from the menu bar by selecting
File > Load Results. In the Load Results File dialog box, select chip.cdat.gz and click Open.
2. Set CFD-Post to display the units you want to see. These display units are not necessarily the
same types as the units in the results files you load; however, for this tutorial you will set the
display units to be the same as the solution units.
Note:
The display units you set are saved between sessions and projects. This means that
you can load results files from diverse sources and always see familiar units displayed.
c. Set:
• Background > Color to white. To do this, click the bar beside the Color label to cycle
through 10 basic colors. (Click the right-mouse button to cycle backwards.) Alternatively,
you can choose any color by clicking icon to the right of the Color option.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
1. Right-click a line of the wireframe in the 3D Viewer and select Show surface mesh to display
the mesh.
2. Click the "Z" axis of triad in the viewer to get a side view of the object.
Note:
The 3D Viewer toolbar has to be in viewing mode for you to be able to select the
triad elements.
3. In the Outline tree view, double-click User Locations and Plots > Wireframe to display the
wireframe's editor.
Tip:
Click the Details of Wireframe editor and press F1 to see help about the Wireframe
object.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Quantitative Postprocessing
4. On the Wireframe details view, click Defaults and Apply to restore the original settings.
To view the mesh for a particular portion of the simulation (in this case, the chip (wall 4 shadow)):
1. In the Outline tree view, select the check box beside Cases > chip > fluid 8 > wall 4 shadow,
then double-click wall 4 shadow to edit its properties in its details view.
d. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
The mesh appears and is similar to the mesh shown by the previous procedure, except that
the mesh is shown only on the chip.
e. Now, clear the display of the chip wireframe. In the details view:
3. In the Outline tree view, clear the check box beside Cases > chip > fluid 8 > wall 4 shadow.
1. Select the Calculators tab at the top of the workspace area, then double-click Mesh Calculator.
The Mesh Calculator appears.
2. Using the drop-down arrow beside the Function field, select a function such as Maximum Face
Angle.
4. Repeat the previous steps for other functions, such as Mesh Information.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Quantitative Postprocessing
1. In the Calculators view, double-click Function Calculator. The Function Calculator appears.
4. Beside the Variable field, select X in the Variable Selector dialog box.
5. Clear the Clear previous results on calculate setting and select Show equivalent expression.
6. Click Calculate to see the result of the calculation of the minimum X value of the chip.
7. Repeat the operation, but in the Function field, select maxVal as the function to evaluate. Click
Calculate to see the result of the calculation of the maximum X value of the chip.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
Those coordinates define a line along the top center of the chip.
These steps will color the line by temperature and cause the legend to be displayed.
5. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Quantitative Postprocessing
b. Set Caption to Graph of the Temperature Along the Top of the Chip.
7. On the Line Display tab, select Chip-Top Temperatures and set Symbols to Rectangle.
8. Make the Symbol Color a darker shade of green: beside the Symbol Color field, click Color Se-
lector , select a new shade of green, and click OK.
9. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
Those coordinates define a line near board level beside the chip.
4. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Quantitative Postprocessing
2. On the General tab, change Title to Temperature Differences on the Chip and
Caption to Graph of the Temperature Along the Top and Bottom of the
Chip.
4. On the Line Display tab, select Board-Level Temperatures and set Symbols to Rectangle.
5. Beside the Symbol Color field, click Color Selector , select a new shade of green, and click OK.
6. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
2. Click the cyan-colored ball on the triad to make it easier for you to see the temperature planes
that you will create.
3. From the toolbar, select Location > Plane. In the Insert Plane dialog box, type Table Plane
1 and click OK.
4. In the details view for Table Plane 1, set the following values:
>
Meth- YZ
od Plane
Definition 0.051
[m]
>
X
Color Mode Variable
Variable Temperature
Range Local
Render Lighting (Cleared)
5. Click Apply.
6. Right-click Table Plane 1 and select Duplicate. The Duplicate dialog box appears.
In the Duplicate dialog box, accept the default name Table Plane 2 and click OK.
In the Outline tree view, double-click Table Plane 2 and on the Geometry tab change Definition
> X to 0.0605. Click Apply.
7. Repeat the previous step, duplicating Table Plane 2 to make Table Plane 3 and changing
Definition > X to 0.0697. Click Apply.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Quantitative Postprocessing
1. From the menu bar, select Insert > Table. Accept the default table name and click OK.
A B C D
1 Distance Along Min. Max. Difference
Chip Temperature Temperature
3. For the "Distance Along Chip" column, create an equation that gives the distance from the be-
ginning of the chip (which is available from "wall 4" in "solid 2"). Click cell A2, then in the Table
Viewer's Insert bar, select Function > CFD-Post > minVal. In the cell definition field you see
=minVal()@, which will be the base of the equation. With the cursor between the parentheses,
type X. Move the cursor after the @ sign and either type Table Plane 1 or select Insert >
Location > Table Plane 1.
=minVal(X)@Table Plane 1 - minVal(X)@wall 4
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
When you click away from cell A2, the equation is solved.
Note:
The expressions in the equation are what you created in the Function Calculator. You
can copy expressions from the Function Calculator and paste them into table cells,
adding other characters in the cell definition field as required.
4. Complete the rest of the table by entering the following cell definitions:
Cell A2
Cell A3
Cell A4
Cell B2
=minVal(T)@Table Plane 1
Cell B3
=minVal(T)@Table Plane 2
Cell B4
=minVal(T)@Table Plane 3
Cell C2
=maxVal(T)@Table Plane 1
Cell C3
=maxVal(T)@Table Plane 2
Cell C4
=maxVal(T)@Table Plane 3
Cell D2
Cell D3
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Quantitative Postprocessing
Cell D4
As you complete the table, notice that the minimum temperature values stay constant, but the
maximum values increase as the chip heats the passing air.
5. The default format for cell data is appropriate for some variables, but it is not appropriate here.
Click cell A2, then while depressing the Shift key, click in the lower-right cell (D4). Click the
Number Formatting icon in the Table Viewer toolbar. In the Cell Formatting dialog box, set
Precision to 2, change Scientific to Fixed, and click OK.
You can view the table in three places: in the Table Viewer (where you can apply formatting),
in the Report Viewer (where some of the formatting you applied in the Table Viewer will be
visible), and in the published report (which has default formatting for tables that you cannot see
in either the Table Viewer or the Report Viewer, but which are overridden by any formatting
changes you make in the Table Viewer). It is useful to view the published report (see Publish a
Report (p. 81)) before applying formatting in the Table Viewer.
a. For cells A1-D1: Apply bold font, background color, and text centering. Manually resize cell
widths individually.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Display the Solution in CFD-Post
3. In the Publish Report dialog box, specify a meaningful name for the report, such as IC_Cool
ing_Simulation.htm.
Tip:
Click the Browse icon in the Publish Report dialog box to control where the report
is stored.
4. Click OK.
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Release 2022 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.