ANSYS TurboGrid Tutorials r170
ANSYS TurboGrid Tutorials r170
© 2015 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS, AIM
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 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.
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.
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 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Tutorials
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Introduction to the ANSYS TurboGrid Tutorials
The ANSYS TurboGrid tutorials are designed to introduce general mesh-generation techniques used in
ANSYS TurboGrid.
Note
These tutorials assume that you are using ANSYS TurboGrid in stand-alone mode.
You should review the following topics before attempting to start a tutorial for the first time:
1.1. Setting the Working Directory and Starting ANSYS TurboGrid
1.2. Changing the Display Colors
1.3. Editor Buttons
1.4. Using Help
3. Click OK.
• Apply applies the information contained within all the tabs of an editor.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Introduction to the ANSYS TurboGrid Tutorials
• Cancel and Close both close the editor without applying or saving any changes.
• Reset returns the settings for the object to those stored in the database for all the tabs. The settings are
stored in the database each time the Apply button is clicked.
• Defaults restores the system default settings for all the tabs of the edited object.
Context-sensitive help is provided for many of the object editors and other parts of the interface. To
invoke the context-sensitive help for a particular editor or other feature, ensure that the window is
active, place the mouse pointer over the feature, and press F1. Not every area of the interface supports
context-sensitive help.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Rotor 37
This tutorial includes:
2.1. Overview of the Mesh Creation Process
2.2. Preparing the Working Directory
2.3. Defining the Geometry
2.4. Defining the Topology
2.5. Reviewing the Mesh Data Settings
2.6. Reviewing the Mesh Quality on the Hub and Shroud Tip Layers
2.7. Generating the Mesh
2.8. Looking at Mesh Data Values
2.9. Analyzing the Mesh Quality
2.10. Visualizing the Hub-to-Shroud Element Distribution
2.11. Observing the Shroud Tip Mesh
2.12. Examining the Mesh Qualitatively
2.13. Creating a Legend
2.14. Saving the Mesh
2.15. Saving the State (Optional)
This tutorial demonstrates the basic workflow for generating a CFD mesh using ANSYS TurboGrid. As
you work through this tutorial, you will create a mesh for a blade passage of an axial compressor blade
row. A typical blade passage is shown by the black outline in the figure below.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Rotor 37
The blade row contains 36 blades that revolve about the negative Z axis. A clearance gap exists between
the blades and the shroud, with a width of 2.5% of the total span. Within the blade passage, the max-
imum diameter of the shroud is approximately 51 cm.
You will save the mesh in a format that can be used by ANSYS CFX in a CFD simulation.
If this is the first tutorial you are working with, it is important to review Introduction to the ANSYS
TurboGrid Tutorials (p. 1) before beginning.
The ANSYS TurboGrid user interface organizes the CCL objects in a tree view known as the object selector.
You can use the object selector to select and edit the CCL objects; the objects are listed from top to
bottom in the standard order for creating a mesh. The user interface also has a toolbar for selecting
and editing the CCL objects; the icons are arranged from left to right in the standard order for creating
a mesh.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Preparing the Working Directory
Regardless of whether you use the object selector or the toolbar, you should generally follow this se-
quence when creating a mesh:
2. Define the topology by choosing a topology type and optionally changing other topology settings.
3. Optionally modify the Mesh Data settings that govern the number and the distribution of nodes in
various parts of the mesh.
If you plan to make a fine (high-resolution) mesh, you can optionally set the mesh density at a
later time in order to minimize processing time while establishing the topology. Keep in mind that
changing the mesh density can affect the mesh quality.
5. Optionally add intermediate 2D layers that guide the 3D topology and mesh. If you do not add layers at
this point, they will be added as required when you generate the mesh. Adding them early gives you a
chance to check and adjust the 2D mesh quality on the intermediate layers before generating the full 3D
mesh.
7. Check the mesh quality. As required, adjust the topology type and distribution, and Mesh Data settings.
If you make changes, go back to the previous step.
ANSYS TurboGrid uses a working directory as the default location for loading and saving files for
a particular session or project.
2. Ensure the following tutorial input files are in your working directory:
• BladeGen.inf
• profile.curve
• hub.curve
• shroud.curve
The tutorial input files are available from the ANSYS Customer Portal. To access tutorials and their
input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.
For details, see Setting the Working Directory and Starting ANSYS TurboGrid (p. 1).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Rotor 37
After the geometry has been generated, you are invited to browse through the objects created under
the Geometry object in the object selector.
Initially, the blades extend from the hub to the shroud. After inspecting the geometry, you will create
the required gap between the blade and the shroud.
The progress bar at the bottom right of the screen shows the geometry generation progress. After
the geometry has been generated, you can see the hub, shroud, and blade for one passage. Along
the blade, you can see the leading and trailing edge curves (green and red lines, respectively). An
outline drawing (the Outline object) traces the 3D space that is available for meshing; the latter
consists of an inlet domain, passage, and outlet domain. In this tutorial, you will generate a mesh
for the passage only.
Note
It is possible to adjust the upstream and downstream extents of the hub and shroud
surfaces (by changing the Inlet and Outlet geometry objects). It is also possible to
create an extended mesh that includes the inlet and outlet domains (by editing the
Mesh Data settings).
1. Toggle the visibility check box next to each object in the object selector and observe the change in the
viewer.
Note the correlation between the geometry objects listed in the object selector and the locations
in the geometry.
2. In order to avoid cluttering the view, ensure that the visibility is turned on only for these objects: Hub,
Shroud, Blade 1, Outline.
1. Open Geometry > Machine Data from the object selector by double-clicking Machine Data in the
object selector, or by right-clicking Machine Data and selecting Edit from the shortcut menu that ap-
pears.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Topology
Here you can see basic information about the geometry. Note that the units specified for Base
Units represent the scale of the geometry being meshed; these units are not used for importing
geometric data nor do they govern the units written to a mesh file; they are used for the internal
representation of the geometry to minimize computer round-off errors.
Setting the machine type helps TurboGrid choose appropriate topology templates later in the mesh
creation process.
3. Click Apply.
Here you can see information about which file was used for hub data and how the file was inter-
preted. Similar information can be seen by opening the Shroud and Blade 1 objects. Note that,
for the Hub and Shroud objects, the Curve Type parameter is set to Piece-wise linear;
this is a result of loading a BladeGen.inf file.
2. Click Display all blade instances to obtain a view of the entire geometry.
3. Click Display single blade instance to show a single blade instance once again.
To complete the geometry, create a small gap between the blade and the shroud. The blade should
be shortened to 97.5% of its original span because the gap width, as specified in the problem description,
is 2.5% of the total span.
4. Click Apply.
The names of the objects in the Geometry branch of the object selector are shown in black non-italic
text, indicating that the Geometry objects are all defined. This completes the geometry definition.
The Topology Set object name in the object selector changes to black non-italic text, indicating
that this object is now fully specified and has been generated.
After a short time, the topology appears on the hub and shroud as a structure of thick lines. Thinner
lines show a preview of the mesh elements.
Object updates are suspended by default. To save computational time, you should generally keep
object updates suspended until you have finished defining the geometry.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Rotor 37
Estimates of the numbers of total nodes and total elements are displayed at the bottom left of the
screen. These estimates are based on the default Mesh Data settings.
2. Turn off the visibility of Layers > Shroud Tip to hide the topology on the shroud tip.
3. Right-click a blank area in the viewer, and click Predefined Camera > View From +X from the shortcut
menu.
The heavy lines in Figure 2.1: ATM Topology and 2D Mesh on the Hub (p. 8) indicate the topology
lines; the thinner lines show the 2D mesh for the hub. Note that the 3D mesh does not yet exist.
In the status bar in the bottom-left corner of ANSYS TurboGrid, you can see that the number of
mesh nodes is on the order of 200000.
2.6. Reviewing the Mesh Quality on the Hub and Shroud Tip Layers
Layers are constant-span surfaces. You can display the topology and control the mesh on a layer. You
have already seen the hub layer in Figure 2.1: ATM Topology and 2D Mesh on the Hub (p. 8). At this
point, there are two layers: Layers > Hub, and Layers > Shroud Tip.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
Analyzing the Mesh Quality
Before generating the 3D mesh, it is recommended that you check the mesh quality on the layers, es-
pecially the hub and shroud tip layers. By correcting any mesh problems early, you can save time by
minimizing the number of times you generate the full 3D mesh.
If the topology were grossly skewed or distorted on the hub or shroud tip layer, the Layers object
would be shown with red text in the object selector. Since the Layers object is shown in black text,
the mesh contains no regions with high skew on the hub and shroud tip layers.
After the mesh has been generated, 3D mesh measures are available. You will check these in the
next section. Mesh visualization objects, listed under 3D Mesh, are also available. By default, one
of these objects, called Show Mesh, is shown in the viewer. You can alter this object or view
other 3D Mesh objects to inspect different parts of the mesh. Later in this tutorial, you will view
some of the objects listed under 3D Mesh.
2. Turn off the visibility of 3D Mesh > Show Mesh so that you can see the mesh without obstruction.
Look in the Spanwise Blade Distribution Parameters frame. Method is set to Proportional
with a factor of 1.0. The other boxes in the frame are disabled, but show the current value for each
option that ANSYS TurboGrid has calculated.
Look in the Shroud Tip Distribution Parameters frame. Method is set to Match Expansion
at Blade Tip. You can see that the number of elements from shroud tip to shroud is 16.
Mesh measures of some mesh elements may fall outside the criteria. When any mesh measure fails to
meet the criteria, Mesh Analysis (Error) > Mesh Statistics (Error) will appear in red
text in the object selector. You can open Mesh Analysis (Error) to display the Mesh Statistics
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Rotor 37
dialog box. In the Mesh Statistics dialog box, you can select one of the items in red and click Display
to see the locations in the mesh where the statistics fail to meet the corresponding criterion.
Not all of the mesh measures carry the same importance. For example, it is necessary to have a mesh
with no negative volumes. Generally, poor angles should also be fixed, but the Maximum Element
Volume Ratio and Maximum Edge Length Ratio values should be judged based on your re-
quirements.
1. For a visual frame of reference, ensure that Layers > Hub and Layers > Shroud Tip are visible.
The mesh statistics are acceptable based on the current quality criteria.
4. Observe the element distribution from hub to shroud tip and from shroud tip to shroud.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
Observing the Shroud Tip Mesh
Figure 2.3: Surface Group: Tip Near Trailing Edge (p. 12) shows this mesh at the trailing edge of
the blade. Note how the nodes do not line up along the middle of the blade, due to the default
use of a general grid (GGI) interface along the shroud tip of the blade.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Rotor 37
K is equal to the node number in the spanwise direction, ranging from 1 at the hub to a positive
integer value at the shroud.
4. Set Value to 1.
This will cause the range of colors in the color map to be distributed over the range of values found
on the turbo surface, rather that over the global range or a user-defined range.
12. To avoid visual conflicts between the turbo surface and the hub, which are coincident, turn off the visib-
ility of Geometry > Hub.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Saving the Mesh
Note that you can edit the rendering properties of the hub to achieve a similar result. The advantage
of using a turbo surface is that you can redefine its location. For example, you could change the value
of K in the current turbo surface to see Edge Length Ratio on a different nodal plane.
Note
You can create new turbo surfaces. To begin the process of creating a new turbo surface,
click Insert > User Defined > Turbo Surface.
Note
To show distinct color bands, you could make a contour plot object that applies to an existing
locator (geometric surface, turbo surface, or other graphic objects that involve surfaces). To
begin the process of creating a contour plot, ensure that you have a suitable locator already
defined, then click Insert > User Defined > Contour.
Tip
For objects that are colored by a variable, it is best to view them with lighting turned off, so
that the colors are not altered according to the angle of view. The lighting is controlled by
a setting on the Render tab.
5. Click Apply.
A legend appears in the viewer, showing the correspondence between values of Edge Length
Ratio and colors for the Show Mesh object.
You may want to modify 3D Mesh > Show Mesh to plot it on different locations, or to color it by
different variables. The legend will be updated automatically whenever you make changes to the turbo
surface.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Rotor 37
6. Click Save.
3. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Steam Stator
This tutorial includes:
3.1. Preparing the Working Directory
3.2. Defining the Geometry
3.3. Defining the Topology
3.4. Reviewing the Mesh Data Settings
3.5. Reviewing the Mesh Quality on the Hub and Shroud Layers
3.6. Generating the Mesh
3.7. Analyzing the Mesh
3.8. Saving the Mesh
3.9. Saving the State (Optional)
• Import hub, shroud, and blade geometry from individual curve files.
• Change the method of constructing the hub and shroud curve types.
• Make colored surfaces to show variations in mesh measures (such as Minimum Face Angle).
As you work through this tutorial, you will create a mesh for a blade passage of a steam stator. A typical
blade passage is shown by the black outline in the figure below.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Steam Stator
The stator contains 60 blades distributed about the Z axis. A clearance gap exists between the blades
and the shroud, with a width of 5% of the total span. Within the blade passage, the maximum diameter
of the shroud is approximately 97.5 cm.
If this is the first tutorial you are working with, it is important to review Introduction to the ANSYS
TurboGrid Tutorials (p. 1) before beginning.
TurboGrid uses a working directory as the default location for loading and saving files for a partic-
ular session or project.
2. Ensure the following tutorial input files are in your working directory:
• BladeGen.inf
• shroud.curve
• hub.curve
• profile.curve
The tutorial input files are available from the ANSYS Customer Portal. To access tutorials and their
input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Geometry
For details, see Setting the Working Directory and Starting ANSYS TurboGrid (p. 1).
The Load TurboGrid Curves dialog box appears. TurboGrid fills in the names of the curve files
based on the files that are present in the working directory; The first .crv or .curve file found
that has a name containing “hub”, ”shroud”, or “blade”/”profile” is selected as the hub, shroud, or
blade file, respectively.
4. Set Coordinates and Units > Coordinates to Cartesian and Length Units to cm.
These units are used to interpret the data in the curve files.
5. Ensure that, under TurboGrid Curve Files, Hub is set to ./hub.curve, Shroud is set to
./shroud.curve, and Blade is set to ./profile.curve.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Steam Stator
The progress bar at the bottom right of the screen shows the geometry generation progress. After the
geometry has been generated, you can see the hub, shroud, and blade for one passage. Along the
blade, you can see the leading and trailing edge curves (green and red lines, respectively). Near the
blade, you can see the inlet and outlet markers (white octahedrons).
• Rotate the geometry into the position shown in Figure 3.1: Incorrect Hub and Shroud Representations (p. 19).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Geometry
As shown in Figure 3.1: Incorrect Hub and Shroud Representations (p. 19), the hub and shroud are
greatly distorted. This is the result of using spline curves to construct the hub and shroud based on
relatively few data points. This problem will be corrected in the next section.
3. Click Apply.
4. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Steam Stator
1. Click Hide all geometry objects to turn off the visibility of the geometry.
After a short time, the topology appears on the hub and shroud as a structure of thick lines. The
thinner lines show a preview of the mesh elements.
Note
It may be useful to keep the same topology when studying a range of blade geometries, or
the same blade on different computers. To keep the same topology, use the Manual (Ad-
vanced) setting for the topology.
Each unique mesh dimension has an edge refinement factor that is multiplied by the base mesh dimen-
sion and global size factor to determine the final mesh size. The overall mesh size is controlled using
the Method setting in the Mesh Data object editor on the Mesh Size tab. Setting the Method to
Target Passage Mesh Size enables you to specify a Node Count. Using this method specifies
an approximate mesh size (in nodes) and lets TurboGrid compute the mesh dimensions automatically.
Setting the Method to Global Size Factor enables you to specify a Size Factor. Increasing this
factor will increase the overall mesh size, and decreasing it will decrease the overall mesh size. The
change is nonlinear.
The Boundary Layer Refinement Control settings affect the mesh in the O-Grid region around the
blade:
• Note that, when Boundary Layer Refinement Control > Method is set to Proportional to Mesh
Size, the number of elements across the boundary layer is calculated as Base Count * Global Size Factor *
(Factor Base + Factor Ratio * Global Size Factor). The default values of Factor Base and Factor Ratio are 3
and 0 respectively.
• The Target Maximum Expansion Rate setting affects the expansion rates that are used just outside the
blade profile.
• The Near Wall Element Size Specification settings control the method by which the near-wall node spacing
is specified on the Passage, Hub Tip, and Shroud Tip tabs. The near-wall node spacing is the distance
between a wall (for example, hub, shroud, or blade) and the first layer of nodes from the wall. The Method
setting has these options:
– Y Plus — The y+ method sets the near-wall spacing to a target value, y+, in relation to a set Reynolds
number.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Analyzing the Mesh
– Absolute — The Absolute method enables you to set the near-wall spacing directly on the Passage,
Hub Tip, and Shroud Tip tabs.
• The Inlet Domain and Outlet Domain check boxes enable you to generate the inlet and outlet domains
as part of the mesh. Settings that affect these grid regions are found on the Inlet/Outlet tab.
Selecting the Lock mesh size check box forces the total number of nodes and elements to remain
constant.
On the Shroud Tip tab, you can use the Blade Tip > Override Target Maximum Expansion Rate
setting to override the Target Maximum Expansion Rate value set on the Mesh Size tab, to govern
the expansion rate of elements that cross the tip mesh.
3.5. Reviewing the Mesh Quality on the Hub and Shroud Layers
Before generating the 3D mesh, it is recommended that you check the mesh quality on the layers. By
correcting any mesh problems early, you can save time by minimizing the number of times you generate
the full 3D mesh.
If the topology were grossly skewed or distorted on the hub or shroud layer, the Layers object would
be shown with red text in the object selector. Since the Layers object is shown in black text, the mesh
contains no regions with high skew on the hub or shroud.
TurboGrid automatically generates the recommended number of layers before the mesh is generated.
This default behavior can be disabled by editing the Layers object by clearing Automatically generate
required layers at mesh creation on the Advanced Parameters tab.
A turbo surface of constant “K” (a nodal coordinate) appears. This surface is listed in the object selector
as 3D Mesh > Show Mesh. Later in this tutorial, you will change the location and coloring of this
surface to explore the mesh.
The mesh statistics are acceptable based on the current quality criteria.
2. In the viewer, right-click the Show Limits object and click Set Turbosurface Position from the shortcut
menu.
The constant-“K” turbosurface (3D Mesh > Show Mesh) moves to the location where you right-
clicked to invoke the shortcut menu.
Another way to move this object is by editing its definition in the object editor.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Steam Stator
In the following section, you will color 3D Mesh > Show Mesh by Minimum Face Angle. You will
then create a legend for that object.
This will cause the range of colors in the color map to be distributed over the range of values found
on the turbo surface, rather that over the global range or a user-defined range.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Saving the State (Optional)
6. Click Save.
3. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Radial Compressor
This tutorial includes:
4.1. Preparing the Working Directory
4.2. Defining the Geometry
4.3. Defining the Topology
4.4. Mesh Data Settings
4.5. Generating the Mesh
4.6. Analyzing the Mesh
4.7. Saving the Mesh
4.8. Saving the State (Optional)
As you work through this tutorial, you will create a mesh for a blade passage of a radial compressor
blade row. A typical blade passage is shown by the black outline in the figure below.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Radial Compressor
The blade row contains 9 main blades and 9 splitter blades that revolve about the negative Z axis. The
blades have cut-off trailing edges. A clearance gap exists between the blades and the shroud, with a
width of 5% of the total span. Within the blade passage, the maximum diameter of the shroud is ap-
proximately 125 mm.
If this is the first tutorial you are working with, it is important to review Introduction to the ANSYS
TurboGrid Tutorials (p. 1) before beginning.
ANSYS TurboGrid uses a working directory as the default location for loading and saving files for
a particular session or project.
2. Ensure the following tutorial input files are in your working directory:
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Geometry
• BladeGen.inf
• profile.crv
• hub.crv
• shroud.crv
The tutorial input files are available from the ANSYS Customer Portal. To access tutorials and their
input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.
For details, see Setting the Working Directory and Starting ANSYS TurboGrid (p. 1).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Radial Compressor
2. Set # of Bladesets to 9.
3. Ensure that File Name is set to ./hub.crv from your working directory.
4. Click Apply.
3. Ensure that File Name is set to ./shroud.crv from your working directory.
4. Click Apply.
Note
If you had loaded the BladeGen.inf file, the Curve Type settings for the Hub and
Shroud objects would have been set to Piece-wise linear instead of the default:
Bspline. Either setting will work for this geometry.
At this point, the entire hub and shroud surfaces are shown. After a blade is defined (in the next step),
the hub and shroud will be trimmed to show only one passage.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Geometry
9. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Radial Compressor
The progress bar at the bottom right of the screen shows the geometry generation progress. After the
geometry has been generated, you can see the hub, shroud, and blade for one passage. Along the
blade, you can see the leading and trailing edge curves (green and red lines, respectively).
4. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Mesh Data Settings
4. Click Apply.
ATM Topology > Method provides a list of topology families from which you can manually choose.
When you mouse over or cursor through the list, a picture of the highlighted topology family and
a description of the type of blade that the family best fits are shown in the topology viewer. Since
the present geometry has a splitter blade, the Single Splitter topology family is the most appro-
priate choice.
3. Open one of the Boundary Layer Control objects under Mesh Data.
Note that the near wall expansion rate is outside the established limit within the boundary layer region.
The affected mesh regions are colored red in the viewer.
2. On the Mesh Size tab, ensure that Boundary Layer Refinement Control > Method is set to Propor
tional to Mesh Size.
3. Set Boundary Layer Refinement Control > Parameters > Factor Base to 4.0.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Radial Compressor
4. Click Apply.
After the topology is updated, the Mesh Data object no longer indicates that there is a problem with
mesh quality.
As an exercise, change the distribution of elements across the cut-off edge as follows:
2. Click Apply.
Note that, for a blade that has one rounded edge and one cut-off edge, the distribution of elements
across the blade tip mesh is governed by the distribution across the cut-off edge.
The mesh statistics are acceptable based on the current quality criteria.
6. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Saving the State (Optional)
3. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 5: Axial Fan
This tutorial includes:
5.1. Preparing the Working Directory
5.2. Defining the Geometry
5.3. Defining the Topology
5.4. Decreasing the Mesh Density
5.5. Generating the Mesh
5.6. Using the Locking Feature
5.7.The Y+ Functionality
5.8. Using Local Mesh Refinement
5.9. Analyzing the Mesh
5.10. Adding Inlet and Outlet Domains
5.11. Analyzing the New Mesh
5.12. Saving the Mesh
5.13. Saving the State (Optional)
• Change the shape and position of the Inlet and Outlet geometry objects that bound the blade passage
in the streamwise direction.
• Use the ATM Optimized feature to generate and customize a mesh as desired.
As you work through this tutorial, you will create a mesh for a blade passage of a fan. A typical blade
passage, inlet domain, and outlet domain, are shown by the black outline in the figure below.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Axial Fan
The fan contains 10 blades that revolve about the negative Z axis. A clearance gap exists between the
blades and the shroud, with a width of 2% of the total span. The shroud diameter is approximately 26.4
cm.
If this is the first tutorial you are working with, it is important to review Introduction to the ANSYS
TurboGrid Tutorials (p. 1) before beginning.
ANSYS TurboGrid uses a working directory as the default location for loading and saving files for
a particular session or project.
2. Ensure the following tutorial input files are in your working directory:
• BladeGen.inf
• shroud.curve
• hub.curve
• profile.curve
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Defining the Geometry
The tutorial input files are available from the ANSYS Customer Portal. To access tutorials and their
input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.
For details, see Setting the Working Directory and Starting ANSYS TurboGrid (p. 1).
Load the BladeGen.inf file, then inspect the geometry by viewing it in axial-radial coordinates:
3. Right-click a blank area in the viewer, and click Transformation > Meridional (A-R) from the shortcut
menu.
The passage inlet, which appears in the object selector as Geometry > Inlet, is the upstream end
of the blade passage (but not necessarily the upstream end of the mesh, since, as you will see in this
tutorial, you can add an inlet domain upstream of the passage inlet). The passage inlet is generated by
revolving a curve, which is defined in an axial-radial plane, about the machine axis. That curve, in turn,
is generated according to a set of points, known here as inlet points. These points appear as white oc-
tahedrons in the viewer. The passage outlet is analogous to the passage inlet, and is downstream of
the blade passage.
Notice that, in this case, there are two inlet points and they are located at different distances from the
blade. In order to obtain a high-quality mesh topology for the blade passage, the inlet points should
be repositioned.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Axial Fan
Reposition the inlet and outlet points as follows, and observe the movement of the inlet and outlet
points in the viewer:
3. Select Low Hub Point, then set Method to Set A and Location to -0.008.
4. Click Apply.
5. Select Low Shroud Point, then set Method to Set A and Location to 0.002.
6. Click Apply.
9. Select Low Hub Point, then set Method to Set A and Location to 0.03.
11. Select Low Shroud Point, then set Method to Set A and Location to 0.03.
To complete the geometry, create a small gap between the blade and the shroud. The blade should
be shortened to 98% of its original span because the gap width is 2% of the total span, as specified in
the problem description.
4. Click Apply.
1. Right-click a blank area in the viewer and select Transformation > Cartesian (X-Y-Z) from the shortcut
menu.
This gives you an unobstructed view of the topology, and later the mesh.
By default, the Topology Set is suspended along with several other items in the object selector.
Turning off Suspend Object Updates activates these items and defines the mesh topology. ANSYS
TurboGrid takes a few moments to complete calculations, then displays the proposed topology in
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Generating the Mesh
the viewer. The total number of nodes and total number of elements are also displayed in the user
interface. These are updated automatically after the changes to the mesh topology are applied.
• Changing the edge refinement on a specific edge, including within the boundary layer.
We will demonstrate how to use the global size factor to change the overall mesh size and how to
change the refinement in the boundary layer, with and without proportional refinement.
An overall decrease in mesh size can be useful in reducing the computational resources required
for simulation. In other cases, to increase the resolution of the mesh, and effectively capture more
data, an overall increase in mesh size is useful.
4. Ensure that Boundary Layer Refinement Control > Method is set to Proportional to Mesh Size.
6. Click Apply.
Observe that the number of nodes has been reduced and the element size has increased in the
boundary layer mesh. With proportional refinement enabled, the relationship between the height
of the first element in the boundary layer and the global size factor should be approximately in-
versely proportional (that is, an increase in the global size factor will cause a decrease in the element
height). Right-click a blank area in the viewer, and select Predefined Camera > Isometric View
(X Up).
A K-Plane is displayed by default. This shows the 2D mesh on a layer. The plane can be moved in
the spanwise direction by holding Ctrl + Shift and dragging using the left mouse button.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Axial Fan
• HIGHBLADE
• HUB
• LOWBLADE
• SHROUD
• Show Mesh
Observe that the increase in mesh size near the boundary layer also occurs in the spanwise direction,
as can be seen in Figure 5.1: Snapshot of Mesh at Blade-Hub Intersection (p. 40).
The mesh size in the spanwise direction is automatically changed depending on the global size factor
and the mesh size at the boundary layer. It can also be specified. You are going to increase the mesh
size in the spanwise direction by a factor of 1.5:
2. On the Passage tab, set Spanwise Blade Distribution Parameters > Factor to 1.5.
Note that the disabled # of Elements field indicates a total of 45 elements in the spanwise direction.
This will now increase.
3. Click Apply.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
The Y+ Functionality
Note
This section is for information only. Do not use the locking feature in this tutorial.
When you are using ANSYS Workbench, ANSYS TurboGrid enables you to use the Lock mesh size feature.
Once activated, the total number of nodes and elements will remain constant. This holds true even if
the geometry of the blade is changed. The size of the mesh elements will be readjusted, but the total
number will not be changed. The feature can be found under the Mesh Size tab, under Mesh Data
in the object selector.
You will enable the option for y+, then set the offset to 15. You will also set the Reynolds number to
500,000.
2. On the Mesh Size tab, set Boundary Layer Refinement Control > Near Wall Element Size Specification
> Method to y+.
4. Change Boundary Layer Refinement Control > Method to First Element Offset.
6. Click Apply.
You should see an increase in the mesh size at the boundary layer. You will generate the mesh to
inspect your changes.
The latest mesh will have smaller elements near the boundary layer. This can be seen in Fig-
ure 5.2: Mesh at Blade-Hub Intersection After Y+ Settings (p. 42).
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Axial Fan
To be able to see which boundary to modify, it is best to hide the currently generated mesh. Ulti-
mately, only the topology will be visible when refinements are made.
2. Right-click a blank area in the viewer and select Predefined Camera > View from +X from the shortcut
menu.
4. Right-click the edge of the shroud tip layer, marked A in Figure 5.3: Edge to be Refined in Shroud Tip
Layer (p. 43), and select Increase Edge Refinement > 100%.
After a few seconds of processing, you should observe the mesh size increasing by a factor of 2 at
the edge you selected. Only topologically parallel edges will be affected by this change.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Using Local Mesh Refinement
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Axial Fan
The mesh statistics are acceptable based on the current quality criteria.
2. On the Mesh Size tab, select Inlet Domain and Outlet Domain.
3. Click Apply.
Note that the Maximum Edge Length Ratio mesh measure is extremely large. By displaying
this mesh measure, you will see that some of the mesh elements that exceed the criterion are at
the inlet where the mesh meets the rotation axis. This is to be expected wherever the hub reaches
the axis of rotation because at these locations the element edges have zero length.
2. View the mesh on the inlet and outlet (not the passage inlet and outlet, but the inlet and outlet of the
entire mesh) by turning on the visibility of the corresponding 3D Mesh objects.
6. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Saving the State (Optional)
3. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 6: Tandem Vane
This tutorial includes:
6.1. Preparing the Working Directory
6.2. Defining the Geometry
6.3. Defining the Topology
6.4. Setting the Mesh Density
6.5. Generating the Mesh
6.6. Saving the Mesh
6.7. Saving the State (Optional)
As you work through this tutorial, you will create a mesh for a blade set of a radial machine component
that has tandem vanes. A typical blade set is shown by the black outline in the figure below.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Tandem Vane
The component has 16 blade sets, each containing one main blade and one tandem vane. Within the
blade passages, the maximum diameter of the shroud is approximately 52.2 cm.
You will begin by loading the geometry from a BladeGen.inf file. You will then select a topology
template, set the mesh density, and generate the mesh.
If this is the first tutorial you are working with, it is important to review Introduction to the ANSYS
TurboGrid Tutorials (p. 1) before beginning.
ANSYS TurboGrid uses a working directory as the default location for loading and saving files for
a particular session or project.
2. Ensure the following tutorial input files are in your working directory:
• BladeGen.inf
• shroud.curve
• hub.curve
• profile.curve
The tutorial input files are available from the ANSYS Customer Portal. To access tutorials and their
input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.
For details, see Setting the Working Directory and Starting ANSYS TurboGrid (p. 1).
3. Click OK.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Saving the State (Optional)
7. Click Add .
8. Click Apply.
An error appears under Mesh Data in Main Blade Boundary Layer Control caused by the
near-wall expansion rates. This will be resolved in the next section.
4. Click Apply.
6. Click Save.
3. Click Save.
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.