Professional Documents
Culture Documents
ANSYS, Inc.
Southpointe
275 Technology Drive
Canonsburg, PA 15317
ansysinfo@ansys.com
http://www.ansys.com
(T) 724-746-3304
(F) 724-514-9494
Release 12.1
November 2009
ANSYS, Inc. is
certified to ISO
9001:2008.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE
CONFIDENTIAL 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. is certified to ISO 9001:2008.
ANSYS UK Ltd. is a UL registered ISO 9001:2000 company.
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, please contact ANSYS, Inc.
Published in the U.S.A.
Table of Contents
1. Introduction to the ANSYS TurboGrid Tutorials ................................................................................................. 1
Preparing a Working Directory ........................................................................................................... 1
Setting the Working Directory and Starting ANSYS TurboGrid ................................................................ 1
Changing the Display Colors ............................................................................................................. 1
Editor Buttons ................................................................................................................................. 2
Using Help ..................................................................................................................................... 2
2. Rotor 37 ..................................................................................................................................................... 3
Overview of the Mesh Creation Process ............................................................................................... 4
Before You Begin ............................................................................................................................ 4
Starting ANSYS TurboGrid ............................................................................................................... 4
Defining the Geometry ..................................................................................................................... 5
Defining the Topology ...................................................................................................................... 6
Reviewing the Mesh Data Settings ...................................................................................................... 8
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers ............................................................... 8
Adding Intermediate Layers ............................................................................................................... 9
Generating the Mesh ........................................................................................................................ 9
Analyzing the Coarse Mesh ............................................................................................................. 10
Analyzing the Coarse Mesh Quality ................................................................................................... 10
Looking at Mesh Data Values ........................................................................................................... 11
Visualizing the Hub-to-Shroud Element Distribution ............................................................................. 11
Increasing the Mesh Density ............................................................................................................ 12
Regenerating the Mesh .................................................................................................................... 13
Analyzing the Fine Mesh ................................................................................................................. 13
Analyzing the Fine Mesh Quality ...................................................................................................... 13
Visualizing the Hub-to-Shroud Element Distribution in the Fine Mesh ..................................................... 14
Observing the Shroud Tip Mesh ........................................................................................................ 15
Examining the Mesh Qualitatively ..................................................................................................... 16
Creating a Legend .......................................................................................................................... 17
Saving the Mesh ............................................................................................................................ 17
Saving the State (Optional) .............................................................................................................. 17
3. Steam Stator .............................................................................................................................................. 19
Before You Begin ........................................................................................................................... 20
Starting ANSYS TurboGrid ............................................................................................................. 20
Defining the Geometry .................................................................................................................... 20
Loading the Curves ........................................................................................................................ 20
Modifying the Curve Type ............................................................................................................... 22
Defining the Topology .................................................................................................................... 23
Reviewing the Mesh Data Settings .................................................................................................... 23
Reviewing the Mesh Quality on the Hub and Shroud Layers ................................................................... 23
Modifying the Hub and Shroud Layers ............................................................................................... 24
Generating the Mesh ....................................................................................................................... 25
Analyzing the Mesh ....................................................................................................................... 25
Examining the Mesh Qualitatively ..................................................................................................... 26
Saving the Mesh ............................................................................................................................ 27
Saving the State (Optional) .............................................................................................................. 27
4. Radial Compressor ...................................................................................................................................... 29
Before You Begin ........................................................................................................................... 30
Starting ANSYS TurboGrid ............................................................................................................. 30
Defining the Geometry .................................................................................................................... 30
Defining the Machine Data .............................................................................................................. 31
Defining the Hub ........................................................................................................................... 31
Defining the Shroud ....................................................................................................................... 31
Defining the Blade ......................................................................................................................... 32
Defining the Topology .................................................................................................................... 33
Reviewing the Mesh Data Settings .................................................................................................... 34
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
iii
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
List of Figures
2.1. J-Grid Topology and 2D Mesh on the Hub ...................................................................................................... 8
2.2. Hub-to-Shroud Element Distribution ............................................................................................................ 12
2.3. Hub-to-Shroud Element Distribution in the Fine Mesh .................................................................................... 15
2.4. Surface Group: Tip Near Leading Edge ........................................................................................................ 15
3.1. Incorrect Hub and Shroud Representations .................................................................................................... 22
3.2. Modification near Shroud Trailing Edge ....................................................................................................... 24
4.1. Hub and Shroud of Radial Compressor ......................................................................................................... 32
4.2. Master Control Point Adjusted Near Hub Leading Edge ................................................................................... 35
4.3. Added Master Control Point Adjusted Near Hub O-Grid .................................................................................. 36
5.1. Effect of Moving Passage Outlet Towards Blade ............................................................................................ 42
5.2. Master Control Points Adjusted on Shroud Tip Layer ...................................................................................... 44
6.1. Master Control Point Adjusted Near Hub Leading Edge ................................................................................... 50
7.1. Moving a Control Point on the Hub Layer ..................................................................................................... 57
7.2. Inserting and Moving a Control Point on the Hub Layer .................................................................................. 58
7.3. Inserting and Moving Another Control Point on the Hub Layer ......................................................................... 59
7.4. Poor Face Angles ..................................................................................................................................... 60
7.5. Making Control Points Sticky .................................................................................................................. 61
7.6. Adding and Moving Control Points .............................................................................................................. 62
9.1. Blade Set Containing a Deformed Blade ....................................................................................................... 76
9.2. Adjusting the Inlet Points ........................................................................................................................... 77
9.3. Adjusting the Outlet Points ........................................................................................................................ 78
9.4. Hub Layer Changes .................................................................................................................................. 81
9.5. Shroud Tip Layer Changes - Control Point Movements .................................................................................... 82
9.6. Shroud Tip Layer Changes - New Control Point ............................................................................................. 83
9.7. Shroud Tip Layer Changes - A Second New Control Point ............................................................................... 84
9.8. Hub Layer Changes .................................................................................................................................. 90
10.1. Hub Layer Changes in Downstream End ..................................................................................................... 98
10.2. Hub Layer Changes in Upstream End ......................................................................................................... 99
10.3. Increasing Mesh Density Locally ............................................................................................................. 100
10.4. Shroud Layer Changes ........................................................................................................................... 101
vii
Note
These tutorials assume that you are using ANSYS TurboGrid in Standalone mode. If you would like to
attempt running one of these tutorials in ANSYS Workbench, you should first be familiar with ANSYS
Workbench and review the documentation in ANSYS TurboGrid in ANSYS Workbench (p. 9) in the
ANSYS TurboGrid Introduction.
You should review the following topics before attempting to start a tutorial for the first time:
2.
3.
2.
3.
Click OK.
Editor Buttons
Editor Buttons
The ANSYS TurboGrid interface uses editors to enter the data required to create a mesh. The editors have standard
buttons, which are described next:
Apply applies the information contained within all the tabs of an editor.
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.
Using Help
To invoke the help browser, select Help > Master Contents.
You may also try using context-sensitive help. 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 feature is active, place the mouse pointer over it, then press F1. Not every area of the interface supports
context-sensitive help. If context-sensitive help is not available for the feature of interest, select Help > Master
Contents and try using the search or index features in the help browser.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2. Rotor 37
This tutorial includes:
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers (p. 8)
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.
Regardless of whether you use the object selector or the toolbar, you should generally follow this sequence when
creating a mesh:
1.
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.
4.
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.
6.
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.
8.
Prepare the working directory using the files in the examples/rotor37 directory.
For details, see Preparing a Working Directory (p. 1).
2.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
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).
Examine the geometry:
1.
To understand the correlation between the geometry objects listed in the object selector and the locations in
the geometry, toggle the visibility check box next to each object in the object selector and observe the change
in the viewer. In order to avoid cluttering the view, ensure that only the Hub, Shroud, Blade 1, and
Outline objects have visibility turned on before continuing to the next step.
2.
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 appears.
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.
3.
4.
5.
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.
1.
2.
3.
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.
2.
3.
4.
5.
6.
7.
Click Apply.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
8.
9.
Click Freeze.
It is recommended that you freeze the topology after you specify and generate it. This prevents the settings on
the Advanced Parameters tab of Topology Set > Blade 1 from inadvertently changing. Without freezing
the topology, unwanted changes to the topology block counts might occur as a result of making small adjustments
to the topology (for example, moving a control point).
Estimates of the total number of nodes and elements are displayed at the bottom left of the screen. These estimates
are based on the default Mesh Data settings.
Change the view to clearly show the topology on the hub:
.
1.
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 Towards +X from the shortcut
menu.
The heavy lines in Figure 2.1, J-Grid Topology and 2D Mesh on the Hub (p. 8) indicate the (master) topology
lines; the thinner lines show the 2D mesh for the hub. Note that the 3D mesh does not yet exist.
The mesh wraps around the blade at the leading and trailing edges. This is the main characteristic of the J-Grid
topology.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Note
The quality criterion for the Maximum Aspect Ratio mesh measure is controlled by the Edge Length
Ratio setting in the Mesh Analysis > Mesh Limits object.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
8
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Turn on the visibility of Layers > Shroud Tip to show the shroud layer, then right-click in the viewer
and click Predefined Camera > Isometric View (Y up).
By viewing the hub and shroud layers from this angle, you can see where the new layers are added.
2.
Open Layers.
ANSYS TurboGrid adds additional layers as required; in this case, 1 layer is added.
4.
Turn on the visibility of Layers > Layer 1 to see the new layer in the viewer.
5.
To check the mesh quality on the new layer, open Layers > Layer 1, select Refined Mesh Visibility, and
click Apply.
Note that the face angles are acceptable on the new layer.
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.
Before proceeding to the next section, turn off the visibility of 3D Mesh > Show Mesh so that you can see
the mesh without obstruction.
Note
In some cases, the mesh quality can be adversely affected by increasing the mesh density, making further
adjustments necessary.
For a visual frame of reference, ensure that Layers > Hub and Layers > Shroud Tip are visible.
2.
In this case, Maximum Element Volume Ratio and Maximum Edge Length Ratio do not meet
the criteria. Not all of the mesh statistics 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 Maximum Edge Length
Ratio and Maximum Element Volume Ratio values should be judged based on your requirements.
3.
Double-click Maximum Element Volume Ratio to display the elements that have an element volume
ratio greater than 2 (the default criterion). Alternatively, you can select Maximum Element Volume
Ratio and then click Display.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
10
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Double-click Maximum Edge Length Ratio to display the elements that have an edge length ratio
greater than 100 (the default criterion).
The Mesh Analysis > Show Limits object appears mainly on the blade, hub and shroud surfaces. This
is normal.
5.
Click Close.
6.
2.
3.
1.
2.
3.
4.
Observe the element distribution from hub to shroud tip and from shroud tip to shroud.
See Figure 2.2, Hub-to-Shroud Element Distribution (p. 12).
11
2.
On the Mesh Size tab, leave Method set to Target Passage Mesh Size.
3.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
4.
Click Apply.
Visualizing the Hub-to-Shroud Element Distribution in the Fine Mesh (p. 14)
13
You can see that, in this case, after increasing the mesh density, the Maximum Element Volume Ratio
mesh statistic has improved.
2.
3.
Click Close.
4.
Turn off the visibility of Mesh Analysis (Error) > Show Limits.
On the Passage tab for the Mesh Data object, compare the number of elements from hub to shroud tip (66)
with the value obtained for the coarse mesh (20). The number of elements has risen.
2.
Look at the Shroud Tip tab to verify that more elements now exist between the shroud tip and shroud (11
before, now 16).
3.
See Figure 2.3, Hub-to-Shroud Element Distribution in the Fine Mesh (p. 15), and compare it with Figure 2.2,
Hub-to-Shroud Element Distribution (p. 12).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
4.
2.
3.
Figure 2.4, Surface Group: Tip Near Leading Edge (p. 15) shows this mesh at the leading 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.
15
5.
2.
3.
4.
Set Value to 1.
This will cause the turbo surface to appear on the hub.
5.
6.
7.
8.
9.
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.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Creating a Legend
Creating a Legend
In the previous section, you modified a turbo surface by coloring it according to Edge Length Ratio. To reveal
the color map used to match values of Edge Length Ratio with particular colors, create a legend for the turbo
surface:
1.
2.
3.
4.
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.
2.
3.
4.
5.
6.
Click Save.
2.
3.
Click Save.
17
Reviewing the Mesh Quality on the Hub and Shroud Layers (p. 23)
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.
19
Prepare the working directory using the files in the examples/stator directory.
For details, see Preparing a Working Directory (p. 1).
2.
Click File > Load Curves to open the Load TurboGrid Curves dialog box.
The Load TurboGrid Curves dialog box appears. ANSYS 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.
2.
3.
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.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
6.
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. 22).
21
As shown in Figure 3.1, Incorrect Hub and Shroud Representations (p. 22), 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.
2.
3.
Click Apply.
4.
5.
6.
7.
When you are notified that intermediate points will be deleted, click Yes to continue.
Note
Note that the intermediate outlet points disappear. This happens because the regenerated set of
outlet points happens to contain no intermediate points.
This completes the geometry definition.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
1.
2.
3.
4.
5.
6.
7.
8.
It is recommended that you freeze the topology after you specify and generate it. This prevents the settings on the
Advanced Parameters tab of Topology Set > Blade 1 from inadvertently changing due to changes to the
geometry or the topology distribution. For example, an adjustment to the position of an inlet point could cause a
change to the number of topology blocks from the blade to the inlet.
1.
Open Topology Set > Blade 1, visit the Advanced Parameters tab, and observe that no overrides exist
for any of the settings.
2.
Note
Note that the Freeze button has the same function whether you are on the Advanced Parameters
tab or the Definition tab.
This completes the topology definition.
23
Zoom in on the region of the shroud layer shown in Figure 3.2, Modification near Shroud Trailing
Edge (p. 24). If you are not sure which layer is the shroud layer, try toggling the visibility of Layers >
Shroud.
2.
Hold Ctrl+Shift and drag the control point as indicated by the displacement vector. The length of the
displacement vector is a general guide for where to position the control point. Precise positioning of the point
is unnecessary.
Note
To select and drag control points without holding down Ctrl+Shift, you can click the Select
icon, then select and drag control points with the left mouse button.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Right-click Layers > Shroud and select Copy Control Points to Hub.
This causes the corresponding control point on the hub to move in a similar way.
Note
In a case that has more than two layers, you can modify the control points on the intermediate layers,
but this is discouraged unless you intend to make no further changes to the hub and shroud layers.
Note
You can change visibility settings for a layer using the object editor for that layer. By default, the master
topology and refined mesh are visible. You can also make the (entire) topology visible. You can choose
to work with any combination of the visibility settings.
ANSYS 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.
2.
Double-click Maximum Element Volume Ratio to display the elements that have an element volume
ratio greater than 2 (the default criterion set in the Mesh Analysis > Mesh Limits object).
25
Double-click Maximum Edge Length Ratio to display the elements that have an edge length ratio
greater than 100 (the default criterion).
The Mesh Analysis > Show Limits object appears mainly on the blade, hub and shroud surfaces. This
is normal.
4.
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.
5.
6.
2.
3.
4.
5.
6.
7.
8.
Creating a Legend
To illustrate the scale of the Minimum Face Angle variable, create a legend for the turbo surface:
1.
2.
3.
4.
5.
6.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
4.
5.
6.
Click Save.
2.
3.
Click Save.
27
Reviewing the Mesh Quality on the Hub and Shroud Layers (p. 34)
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.
29
The blade row contains 9 blades that revolve about the negative Z-axis. The blades are flank milled, and have cut-off
trailing edges. Within the blade passage, the maximum diameter of the shroud is approximately 125 mm.
Prepare the working directory using the files in the examples/radcomp directory.
For details, see Preparing a Working Directory (p. 1).
2.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
Set # of Bladesets to 9.
3.
4.
2.
3.
Ensure that File Name is set to ./hub.curve from your working directory.
4.
Click Apply.
2.
3.
Ensure that File Name is set to ./shroud.curve 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 12.1 - 2009 ANSYS, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
31
2.
3.
4.
5.
6.
Click Apply.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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).
2.
3.
4.
5.
33
7.
8.
Right-click a blank area in the viewer, and click Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
This causes the viewer to use blade-to-blade coordinates instead of Cartesian coordinates, making it easier to
see the mesh topology. This coordinate system is angle-preserving and minimizes the effect of changing radius
on viewing and manipulation.
2.
3.
4.
5.
6.
Move the master control point as indicated by the displacement vector in Figure 4.2, Master Control Point
Adjusted Near Hub Leading Edge (p. 35).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Figure 4.2. Master Control Point Adjusted Near Hub Leading Edge
7.
Create a new control point by right-clicking the location shown in Figure 4.3, Added Master Control Point
Adjusted Near Hub O-Grid (p. 36) and selecting Control Point > Insert Master.
35
Figure 4.3. Added Master Control Point Adjusted Near Hub O-Grid
8.
Move the new control point as indicated by the displacement vector in Figure 4.3, Added Master Control
Point Adjusted Near Hub O-Grid (p. 36).
This helps to reduce the skew of elements in the passage.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
4.
5.
6.
Click Save.
2.
3.
Click Save.
37
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers (p. 43)
Change the shape and position of the Inlet and Outlet geometry objects which bound the blade passage in
the streamwise direction.
Specify the use of a General Grid Interface on the periodic surfaces of the blade passage.
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.
39
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 5% of the total span. The shroud diameter is approximately 26.4 cm.
Let the mesh contain an inlet domain and an outlet domain.
Prepare the working directory using the files in the examples/fan directory.
For details, see Preparing a Working Directory (p. 1).
2.
2.
3.
Right-click a blank area in the viewer, and click Transformation > Meridional (A-R) from the shortcut menu.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
40
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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.
The outlet points should also be repositioned; they should be moved closer to the blade to reduce the aspect ratio
of mesh elements immediately downstream of the blade trailing edge, as shown in Figure 5.1, Effect of Moving
Passage Outlet Towards Blade (p. 42).
41
Reposition the inlet and outlet points as follows, and observe the movement of the inlet and outlet points in the
viewer:
1.
2.
Select Low Hub Point, then set Method to Set A and Location to -0.008.
3.
Click Apply.
4.
Select Low Shroud Point, then set Method to Set A and Location to 0.002.
5.
Click Apply.
6.
7.
Select Low Hub Point, then set Method to Set A and Location to 0.03.
8.
Click Apply.
9.
Select Low Shroud Point, then set Method to Set A and Location to 0.03.
2.
3.
4.
Click Apply.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
4.
5.
6.
7.
8.
9.
Right-click a blank area in the viewer, and click Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
This causes the viewer to use blade-to-blade coordinates, making it easy to see the mesh topology. This
coordinate system is angle-preserving and minimizes the effect of changing radius on viewing and manipulation.
2.
3.
4.
43
6.
Move the master control point as indicated by the displacement vector in Figure 5.2, Master Control Points
Adjusted on Shroud Tip Layer (p. 44).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Right-click a blank area in the viewer, and click Transformation > Cartesian (X-Y-Z) from the shortcut
menu.
You can double-click one of the items in red to see the locations in the mesh where the statistics fail to meet the
criteria set in Mesh Analysis > Mesh Limits. Further improvements to the mesh are possible, but are beyond
the scope of this tutorial.
2.
On the Mesh Size tab, select Inlet Domain and Outlet Domain.
3.
Click Apply.
Open Mesh Analysis. 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 those at the inlet where the mesh meets the rotation axis. This is expected, since the element edges at this
location have zero length. This is normal and expected wherever the hub reaches the axis of rotation.
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.
2.
3.
45
5.
6.
Click Save.
2.
3.
Click Save.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Reviewing the Mesh Quality on the Hub and Shroud Layers (p. 49)
As you work through this tutorial, you will create a mesh for a blade set of a centrifugal compressor that has splitter
blades. A typical blade set is shown by the black outline in the figure below.
47
The blade row contains 7 blade sets, each containing one main blade and one splitter blade. The blade row revolves
about the negative Z-axis. The blades are flank milled and have cut-off trailing edges. Within the blade passage,
the maximum diameter of the shroud is approximately 13 cm.
Prepare the working directory using the files in the examples/splitter directory.
For details, see Preparing a Working Directory (p. 1).
2.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
2.
3.
4.
5.
6.
7.
8.
Open Topology Set > Main Blade and click the Advanced Parameters tab.
Note that ANSYS TurboGrid has selected a J-Grid topology for the leading edge, and an H-Grid topology for
the trailing edge. The J-Grid is more suitable than the H-Grid for the leading edge because of the higher blade
angle.
2.
Open Topology Set > Splitter Blade 1 and click the Advanced Parameters tab.
Note that ANSYS TurboGrid has selected an H-Grid topology for both ends of the splitter blade.
Right-click a blank area in the viewer, and click Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
49
2.
3.
4.
5.
6.
Move the master control point as indicated by the displacement vector in Figure 6.1, Master Control Point
Adjusted Near Hub Leading Edge (p. 50).
Figure 6.1. Master Control Point Adjusted Near Hub Leading Edge
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
4.
5.
6.
Click Save.
2.
3.
Click Save.
51
Reviewing the Mesh Quality on the Hub and Shroud Layers (p. 56)
Copy control points and their custom positional offsets from one topology layer to another.
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.
53
The component has 16 blade sets, each containing one main blade and one tandem vane. A clearance gap exists
between each blade and the shroud. Within the blade passages, the maximum diameter of the shroud is approximately
52.2 cm.
You will begin by loading the geometry from a CFG file. You will define the mesh topology with settings that help
to reduce mesh skew by making the mesh around each blade more independently-controlled. Finally, you will adjust
the topology and generate a fine (high-resolution) mesh.
In order to avoid long processing times, you will establish a reasonable topology before specifying a fine mesh
density.
Prepare the working directory using the files in the examples/tandem directory.
For details, see Preparing a Working Directory (p. 1).
2.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
In the top-right corner of the Load CFG File dialog box, set Length Units to cm.
ANSYS TurboGrid will interpret the numerical data in the CFG file using these units.
3.
2.
3.
4.
5.
6.
7.
8.
9.
55
Open Topology Set > Main Blade and click the Advanced Parameters tab.
Note that ANSYS TurboGrid has selected a J-Grid topology for both ends of the main blade.
2.
Open Topology Set > Blade Blade 1 and click the Advanced Parameters tab.
Note that ANSYS TurboGrid has selected a J-Grid topology for the leading edge, and an H-Grid topology for
the trailing edge. The H-Grid is more suitable than the J-Grid for the trailing edge because of the lower blade
angle.
2.
Right-click a blank area in the viewer, and select Predefined Camera > View Towards +Z from the shortcut
menu.
3.
4.
5.
Observe the areas that are marked as red. These areas have face angles that are too small.
6.
Zoom in on the area shown in Figure 7.1, Moving a Control Point on the Hub Layer (p. 57).
7.
Move the master control point as indicated by the displacement vector in Figure 7.1, Moving a Control Point
on the Hub Layer (p. 57).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
8.
Double-click Minimum Face Angle to refresh the display of areas that still require adjustments.
9.
Insert a master control point at the top of the red area, then move it as indicated by the displacement vector in
Figure 7.2, Inserting and Moving a Control Point on the Hub Layer (p. 58):
1.
2.
57
Figure 7.2. Inserting and Moving a Control Point on the Hub Layer
10. Double-click Minimum Face Angle and then Maximum Face Angle to see which area of the hub
requires improvement.
There is an area of high skew, shown in the left side of Figure 7.3, Inserting and Moving Another Control
Point on the Hub Layer (p. 59), that may or may not be shown in red (because the face angles are near the
limit established in the Mesh Analysis > Mesh Limits object).
11. Insert a master control point and move it as shown in Figure 7.3, Inserting and Moving Another Control Point
on the Hub Layer (p. 59).
The control point is on the interface between blades and belongs to the tandem vane blade passage. You may
need to zoom in and turn on the topology visibility (in the Layers > Hub object) to insert the point at the
desired location. The desired location of the point to be inserted is at the intersection of the topology line that
you want to move and the topology line on the interface between the adjacent passages. If you have chosen
the correct location, a red line that shows the range of influence of the new control point will stretch into the
passage for the tandem vane; if the red line stretches downward into the main blade passage, click Edit > Undo
and try again.
Note that you are moving the new control point past a control point in the main passage. This is possible
because One-to-one Interface Ranges > Passage is set to None, meaning that the interface is a GGI interface.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Figure 7.3. Inserting and Moving Another Control Point on the Hub Layer
12. Confirm that the mesh statistics have improved for the Hub layer.
Make further adjustments as necessary in order to achieve an acceptable range of face angles. Confirm that
the only elements that exceed the maximum aspect ratio are those next to the blade surfaces.
2.
3.
4.
5.
6.
Right-click the Hub layer object in the object selector, then select Copy Control Points to Shroud.
icon.
The control point adjustments you made to the hub layer, and the newly-created control point, are copied to
the shroud tip layer. The mesh statistics improve on the shroud tip layer as a result of this operation.
59
2.
On the Mesh Size tab, leave Method set to Target Passage Mesh Size.
3.
4.
Click Apply.
2.
3.
4.
5.
Examine the mesh statistics and note the area with bad face angles downstream of the main blade, as shown
in Figure 7.4, Poor Face Angles (p. 60).
6.
In preparation for the next step, make the two control points that are located slightly downstream of the main
blade sticky by right-clicking each one and selecting Sticky.
These two points are circled in Figure 7.5, Making Control Points Sticky (p. 61).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
7.
Add two master control points further downstream on the same master topology lines, then move them as
shown in Figure 7.6, Adding and Moving Control Points (p. 62).
As you move these control points, the other control points that you previously made sticky remain stationary
because they are sticky. If they were not sticky, they would move because they are on the line of influence of
the added master control points.
Note
A sticky control point will not remain stationary if you move a pre-defined master control point on
the same master topology line.
61
2.
3.
4.
5.
6.
Click Save.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
Click Save.
63
Part 1 of this tutorial demonstrates one basic way of performing a parametric study using ANSYS TurboGrid in
batch mode: using a script loop to repeatedly modify and run a session file with ANSYS TurboGrid. Each modified
session file loads a baseline state file, reloads the blade geometry from a different file, and generates and saves
output (including a mesh).
Part 2 of this tutorial demonstrates a grid refinement study using a method similar to part 1. The main difference in
part 2 is the use of the end ratio option throughout the mesh data specification to allow the grid refinement to
occur evenly through the mesh.
Variations of the algorithm described in this tutorial are possible. For example:
You could modify the state file instead of the session file.
You could use a loop within a session file (written in Perl) to avoid loading and closing ANSYS TurboGrid
repeatedly, which should improve efficiency.
Such variations are beyond the scope of this tutorial. You are encouraged to try the algorithm used in this tutorial
and then explore other methods as required in order to meet your specific requirements.
Prepare the working directory using the files in the examples/rotor37 directory.
For details, see Preparing a Working Directory (p. 1).
2.
2.
3.
4.
65
6.
Edit Geometry > Blade Set > Shroud Tip to use the Constant Span tip option and leave Span
set to the default value.
7.
Click Apply.
2.
3.
4.
5.
6.
Double-click Mesh Data to open it for editing. All settings will be changed to use explicit node counts.
7.
Option
Value
Mesh Size
Method
Passage
Shroud Tip
8.
Click Apply.
9.
2.
Select Session > New Session from the menu bar to create a new session named generate_mesh.tse.
3.
4.
The session is now at the point where you would typically make a change to the state. In this case, the change
will be to select a new blade curve file. To be able to load a new file, the CCL (CFX Command Language)
block responsible for loading the geometry will be included in the session file at this point; you will create this
CCL block in the next step. With that block created, you can create a script to control which blade geometry
file is loaded by changing the name of the file within the CCL block. (The script creation is in the next section.)
5.
Open Geometry > Blade Set > Blade 1 for editing and click Apply without changing any settings.
6.
7.
Select File > Save Mesh As and save the mesh with filename mesh.1.gtm with File type set to ANSYS
CFX and Export Units set to cm.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
66
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Select Tools > Command Editor and enter the following lines in the Command Editor dialog box:
!
!
!
!
9.
Click Process, then Close. This adds Power Syntax commands that cause Minimum Face Angle to be
written to a file.
Using a basic text editor, write a script that, in a loop, modifies the blade file name in the session file, and runs
each modified session file using ANSYS TurboGrid in batch mode. You may give this file any name. The
script shown here is written in Perl:
Note
This script defines and uses a variable, turbogrid, which must be defined as the full path name
to the cfxtg.exe in the bin directory of the ANSYS TurboGrid installation.
#!/usr/bin/perl
# Point to the location of the cfxtg.exe (full pathname),
# usually in <CFXROOT>/bin/
$turbogrid = "C:/Program Files/ANSYS Inc/v121/TurboGrid/bin/cfxtg.exe";
# Initialize the input and output session filenames.
$base_tse = "generate_mesh.tse";
$output_tse = "gen_mesh.tse";
# Get the baseline session file data.
open(BASE_FH, "<$base_tse")
or die "Can't open file (${base_tse}) for input: $!";
@session_data = <BASE_FH>;
close(BASE_FH);
# Loop over each blade geometry file.
foreach $loopindex(1,2){
# Make a copy of the baseline session file
# so we don't destroy the original template.
@copy_data = @session_data;
# Write a session file (based on the original session file) that is
# customized to use the blade associated with this loop.
open(OUTPUT_FH, ">$output_tse")
or die "Can't open file (${output_tse}) for output: $!";
foreach $line (@copy_data) {
chomp($line);
$line =~ s/\.1\./\.${loopindex}\./g;
print OUTPUT_FH "$line\n";
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
67
Run the script shown above by opening a command prompt from the launcher (with the correct working
directory set) and entering the line:
perl <scriptname>
where <scriptname> represents the name of the script file.
The script will take a few minutes to run. When it completes, it will have written two .gtm files to your working
directory, as well as two text files containing the value of the minimum face angle.
Prepare the working directory using the files in the examples/rotor37 directory.
For details, see Preparing a Working Directory (p. 1).
2.
2.
3.
Edit Geometry > Blade Set > Shroud Tip to use the Constant Span tip option and leave Span
set to the default value. Remember to click Apply when finished.
4.
5.
6.
7.
8.
9.
Option
Value
Mesh Size
Method
68
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Passage
Shroud Tip
Option
Value
Node Count
Specify
End Ratio
End Ratio
2.
3.
4.
The session is now at the point where you would typically make a change to the state. In this case, the change
will be to select a different target mesh node count. To be able to change the target mesh node count, the CCL
(CFX Command Language) block responsible for specifying the mesh data settings will be included at this
point in the session file; you will do this in the next step. With that block created, you can create a script to
control the target mesh node count by changing the Target Mesh Node Count CCL parameter in the
CCL block. (The script creation is in the next section.)
5.
Double-click Mesh Data to open it and click Apply without changing any settings.
6.
7.
Select File > Save Mesh As and save the mesh as outputmesh.1.gtm with File type set to ANSYS CFX
and Export Units set to cm.
8.
Select Tools > Command Editor and enter the following lines in the Command Editor dialog box:
!
!
!
!
!
!
9.
Click Process, then Close. This adds Power Syntax commands that cause Minimum Face Angle and the
node count to be written to a file.
69
Write a script that, in a loop, modifies the target passage node count in the session file, and runs each modified
session file using ANSYS TurboGrid in batch mode. The script shown here is written in Perl:
Note
In the following script, the two lines following the commented line #### The next two lines
... #### are meant to be entered as a single line. Also, this script defines and uses a variable,
turbogrid, which must be defined as the full pathname to the cfxtg (cfxtg.exe) file in the
bin directory of the installation.
#!/usr/bin/perl
# Point to the location of the cfxtg.exe (full pathname),
# usually in <CFXROOT>/bin/cfxtg.exe
$turbogrid = "C:/Program Files/ANSYS Inc/v121/TurboGrid/bin/cfxtg.exe";
# Initialize the input and output session filenames.
$base_tse = "generate_mesh.tse";
$output_tse = "gen_mesh.tse";
# This is a list of the target node values to be used.
@target_nodes = (50000, 100000, 200000);
# Get the baseline session file data.
open(BASE_FH, "<$base_tse")
or die "Can't open file (${base_tse}) for input: $!";
@session_data = <BASE_FH>;
close(BASE_FH);
# Loop over each target node value.
$loopindex = 1;
foreach $target (@target_nodes) {
# Make a copy of the baseline session file
# so we don't destroy the original template.
@copy_data = @session_data;
# Write a session file (based on the original session file) that is
# customized to use the target node count associated with this loop.
open(OUTPUT_FH, ">$output_tse")
or die "Can't open file (${output_tse}) for output: $!";
foreach $line (@copy_data) {
chomp($line);
$line =~ s/\.1\./\.${loopindex}\./g;
#### The next two lines should be combined into one single line. ####
$line =~ s/Target Mesh Node Count =
[0-9][0-9]*/Target Mesh Node Count = ${target}/g;
print OUTPUT_FH "$line\n";
}
close(OUTPUT_FH);
# Run TurboGrid in batch mode with the customized session file.
(system("\"${turbogrid}\" -batch \"${output_tse}\"") == 0)
or die "Batch run of TurboGrid failed ($?): $!";
# Prepare for next loop iteration.
$loopindex++;
}
exit 0;
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Run the script shown above by opening a command prompt from the launcher (with the correct working
directory set) and entering the line:
perl <scriptname>
where <scriptname> represents the name of the script file.
The script will take a few minutes to run. When it completes, it will have written some .gtm files to your working
directory, as well as some text files containing the value of the minimum face angle and the number of nodes in the
mesh.
71
Build a blade set by loading blades separately from files and rotating them into position.
Make separate and different meshes that are designed to fit together in a CFD simulation.
As you work through this tutorial, you will create meshes for modeling an axial turbine blade row that has a deformed
blade. The technique learned here can be extended to model a blade row with several deformed blades. A blade can
become deformed after being damaged, for example by the passage of a foreign object.
The blade row contains 71 blades, one of which is deformed. The blade row revolves about the Z-axis. A clearance
gap exists between the blades and the shroud, with a width of 0.05 cm. Within the blade passage, the maximum
diameter of the shroud is approximately 56 cm.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
73
Prepare the working directory using the files in the examples/deformed directory.
For details, see Preparing a Working Directory (p. 1).
2.
2.
2.
3.
4.
Click Apply.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Right-click Geometry > Blade Set and click Insert > Blade.
2.
The tree view displays Deformed Blade in a bold, italic, blue font (white when selected). This indicates
that the object requires more information. In particular, the file name reference and/or the position of the blade
must be changed so that the new blade is different from the original blade.
2.
Setting
Value
Blade
File Name
deformed.curve
(Selected)
Click Apply.
The tree view now displays Deformed Blade in plain black text. This indicates that the object now has all
the required information.
4.
5.
Setting
Value
Blade
File Name
profile.curve
(Selected)
Click Apply.
You now have a blade set with three blades, as shown in Figure 9.1, Blade Set Containing a Deformed Blade (p. 76).
75
2.
Setting
Value
Normal Distance
Click Apply.
ANSYS TurboGrid requires, and uses, the same shroud tip clearance for all blades in the blade set. The shroud tips
of all blades in the blade set lie on the same surface of revolution when revolved about the axis of rotation.
Right-click a blank area in the viewer, and click Transformation > Meridional (A-R) from the shortcut menu.
With the inlet points in their initial positions, the inlet domain (the portion of the mesh upstream of the inlet points)
is much larger at the shroud than at the hub, as measured in the axial direction. To reduce this variation, move the
inlet points closer to the blade:
Move the inlet points as shown in Adjusting the Inlet Points (p. 77):
1.
2.
Value
Inlet Curve
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Value
The word Low in Low Hub Point refers to the side of the passage in terms of the Theta coordinate. The Low Hub Point inlet
point is at the intersection of the hub and the inlet curve on the low-Theta side of the passage. Note that the Theta coordinate cannot
be seen in the Meridional (A-R) transform.
3.
Click Apply.
4.
Value
Inlet Curve
Click Apply.
Move the outlet points as shown in Adjusting the Outlet Points (p. 78):
1.
2.
77
Setting
Outlet Curve
Value
Low Hub Point
Click Apply.
4.
Setting
Outlet Curve
Value
Low Shroud Point
Click Apply.
2.
78
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
4.
5.
Click Choose.
Description
Blade_1_LP.crv
2.
3.
4.
2.
3.
4.
5.
6.
79
Reviewing the Mesh Data Settings for the Deformed Blade Group
This setting forces the periodic surfaces of the topology (and ultimately the mesh) to lie on the periodic surfaces
that were defined as part of the geometry. This constraint is necessary to ensure that the mesh you are currently
making will fit properly with the mesh you will make later in this tutorial.
The default setting, Float on Surface, is not suitable in this case, since it allows the periodic surfaces
of the topology to deviate from the geometric periodic surfaces as a way of improving mesh quality.
7.
8.
9.
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers
of the Deformed Blade Group
The Layers > Hub and Layers > Shroud Tip objects are colored red in the tree view, indicating that there
are problems with mesh quality that should be resolved.
Right-click a blank area in the viewer, and select Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
2.
3.
4.
2.
3.
Move master control points as shown in Hub Layer Changes (p. 81).
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers of the Deformed Blade Group
After each change, you can update the display of problem areas in the mesh by double-clicking Minimum
Face Angle and Maximum Face Angle.
2.
3.
2.
3.
Move master control points as shown in Shroud Tip Layer Changes - Control Point Movements (p. 82).
81
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers of the Deformed Blade Group
2.
Add a master control point at the location shown in Shroud Tip Layer Changes - New Control Point (p. 83):
1.
2.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers of the Deformed Blade Group
3.
4.
Restrict the freedom of movement of the added control point to movement along the O-Grid curve:
1.
Open Layers.
2.
On the Advanced Parameters tab, set Leading And Trailing Edge O-Grid Control Points > Method
to Curve.
3.
Click Apply.
Move the control point as indicated in Shroud Tip Layer Changes - New Control Point (p. 83).
If the movement of the control point were much larger, the mesh density in front of the blade would need to
be increased. In such a situation, you could use an edge split control to locally increase the mesh density.
5.
Improve mesh orthogonality near the deformed blade by adding and moving a master control point, and moving
another control point, as shown in Shroud Tip Layer Changes - A Second New Control Point (p. 84).
83
Figure 9.7. Shroud Tip Layer Changes - A Second New Control Point
2.
Setting
Value
Target Passage Mesh Size
Node Count
Specify
Target
750000
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
84
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Setting
Value
Inlet Domain
(Selected)
Click Apply.
As a result of choosing the mesh size in the previous step, ANSYS TurboGrid has re-calculated the number of
elements along various topological paths. In order to provide higher mesh resolution near the walls, set the size for
mesh elements touching the hub, blade, shroud tip, and shroud to a y+ value of 1. These changes can cause the
mesh density to become too sparse in some locations. In this case, the density across the O-Grid would be too sparse
if left unchanged. To compensate, increase the number of elements across the O-Grid from 9 to 18.
1.
Setting
Value
Mesh
Size
y+
Reynolds No.
1.0e6
66
33
(Selected)
18
Apply O-Grid Parameters To All Blades > Size of Elements Next to Wall 1
(y+ ) > Blade
Shroud Shroud Tip Distribution Parameters > Method
Tip
Shroud Tip Distribution Parameters > # of Elements
2.
Click Apply.
At the interface between the passage and the inlet domain, spanwise node alignment is adversely affected by the
high curvature of the leading edge of the deformed blade. To improve this node alignment, change a certain setting
that affects the spanwise distribution of nodes in the passage mesh:
1.
2.
3.
4.
Click Close.
85
Revisiting the Mesh Quality on the Hub and Shroud Tip Layers of the Deformed Blade Group
Revisiting the Mesh Quality on the Hub and Shroud Tip Layers
of the Deformed Blade Group
After changing the mesh size, it is possible for the mesh quality to change. You can quickly confirm that the face
angles are acceptable by verifying that all layers are shown in black text in the tree view. To see the exact values
of the minimum and maximum face angles, open each layer in the object editor:
1.
2.
3.
4.
2.
3.
2.
3.
4.
5.
6.
Click Save.
2.
86
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Click Save.
2.
3.
Use the same file, Blade_1_LP.crv, to define both periodic surfaces, and apply a (360/71) rotation for
the high periodic surface:
1.
2.
Value
Data Method
From File
File Name
Blade_1_LP.crv
Click Apply.
4.
5.
Value
Data Method
From File
File Namea
Blade_1_LP.crv
6.
Click Apply.
87
Load the inlet and outlet curve files inlet.crv and outlet.crv:
1.
Right-click a blank area in the viewer, and click Transformation > Meridional (A-R) from the shortcut
menu so that you can better see the effect of loading the inlet and outlet curve files.
2.
3.
Select inlet.crv.
5.
Click Open.
6.
Open Geometry > Outlet and load outlet.crv in the same way.
2.
Setting
Value
Normal Distance
Click Apply.
Right-click a blank area in the viewer, and select Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
2.
3.
4.
5.
6.
Click Apply.
Constrain the topology so that the resulting mesh has periodic surfaces that fall exactly on the geometric periodic
surfaces. This will ensure that the periodic surfaces of the present mesh will fit with those of the mesh you created
earlier for the deformed blade group.
1.
2.
3.
4.
88
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Reviewing the Mesh Quality on the Hub and Shroud Tip Layers
of the Undeformed Blade
The Layers > Hub object is colored red in the tree view, indicating that there are problems with mesh quality that
should be resolved.
1.
2.
3.
2.
3.
Move master control points as shown in Hub Layer Changes (p. 90).
After each change, you can update the display of problem areas in the mesh by double-clicking Minimum
Face Angle and Maximum Face Angle.
89
2.
Setting
Value
Target Passage Nodes
Node Count
Specify
Target
250000
Inlet Domain
(Selected)
Click Apply.
To further improve similarity with the mesh for the deformed blade group, use the same y+ values and element
counts as for that mesh:
1.
Setting
Value
Mesh
Size
y+
Reynolds No.
1.0e6
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Revisiting the Mesh Quality on the Hub and Shroud Tip Layers of the Undeformed Blade
Tab
Setting
Value
33
Shroud
Tip
2.
18
Click Apply.
Revisiting the Mesh Quality on the Hub and Shroud Tip Layers
of the Undeformed Blade
After changing the mesh size, it is possible for the mesh quality to change. You can quickly confirm that the face
angles are acceptable by verifying that all layers are shown in black text in the tree view. To see the exact values
of the minimum and maximum face angles, open each layer in the object editor:
1.
2.
3.
4.
2.
3.
2.
3.
4.
91
6.
Click Save.
2.
3.
Click Save.
Summary
In this tutorial, you created two meshes for modeling an axial turbine blade row with one deformed blade. The first
mesh, DeformedSection.gtm, models one deformed blade between a pair of undeformed blades. The second
mesh, UndeformedSection.gtm, models one undeformed blade.
The complete blade row contains 71 blades. To model the complete blade row using CFX-Pre, you could begin a
new simulation using Turbo mode to define a set of 68 blades based on UndeformedSection.gtm, then you
could enter General mode and add DeformedSection.gtm.
This technique for modeling a single deformed blade can be extended to model multiple deformed blades by creating
a larger blade group for the deformed section.
Further Exercise
As a further exercise, you can try creating single-blade meshes for each blade in the blade group. You can do this
by creating a mesh for a single blade, using the Blade_1_Deformed_Blade_interface.crv and
Deformed_Blade_Blade_3_interface.crv files for the periodic surfaces as appropriate. This arrangement
allows you to modify the mesh for the deformed blade without involving other blades.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Reviewing the Mesh Quality on the Hub and Shroud Layers (p. 97)
Use edge split controls to increase the mesh density at specific locations.
As you work through this tutorial, you will create a mesh for a blade passage of a Francis water turbine. A typical
blade passage is shown by the black outline in the figure below.
93
The turbine contains 13 blades that revolve about the X-axis. Within the blade passage, the maximum diameter of
the shroud is approximately 4.23 m.
The mesh density should be set appropriately for using the SST turbulence model in a CFD simulation.
Prepare the working directory using the files in the examples/francis directory.
For details, see Preparing a Working Directory (p. 1).
2.
2.
Right-click a blank area in the viewer, and click Transformation > Meridional (A-R) from the shortcut menu.
Release 12.1 - 2009 ANSYS, Inc. All rights reserved.
94
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Right-click Geometry > Machine Data and click Edit in Command Editor.
2.
Change Turbo Transform Background Mesh Size For Topology from 2000 to 80000.
3.
4.
Click Close.
2.
3.
4.
Click Apply.
5.
6.
7.
Click Apply.
8.
9.
A message box warns you that the intermediate points will be deleted. Click Yes to delete the existing
intermediate points and replace them with new ones.
Looking at the intermediate point distribution in the viewer, you can see that adding more points would significantly
improve the smoothness of the curve. Add two more points to Geometry > Outlet using one of the following
procedures:
Under Curve, right-click Point 3 in the list and click New from the shortcut menu.
Alternatively, select Point 3 then, beside the list of points, click New
2.
Select the newly-added point, point 5, and set its location to (1.51, 1.10) so that it is at about the same
distance from the trailing edge as the other points.
These coordinates were originally determined by moving point 5 using the mouse.
3.
Click Apply.
4.
Right-click Point 4 in the list and click New from the shortcut menu.
5.
Set the location of the newly created point, point 6, to (1.73, 1.73) and click Apply.
Under Curve, right-click Point 2 in the list and click New from the shortcut menu.
95
Alternatively, select Point 2 then, beside the list of points, click New
2.
Select the newly-added point, point 4, and set its location to (1.51, 1.10) so that it is at about the same
distance from the trailing edge as the other points.
These coordinates were originally determined by moving point 4 using the mouse.
3.
Click Apply.
4.
Right-click Point 3 in the list and click New from the shortcut menu.
5.
Set the location of the newly created point, point 5, to (1.73, 1.73) and click Apply.
Before continuing, ensure that the outlet points are on a relatively smooth curve at a uniform distance from the
blade.
Right-click a blank area in the viewer, and click Transformation > Cartesian (X-Y-Z) from the shortcut
menu.
2.
3.
4.
5.
6.
Set One-to-one Interface Ranges > Periodic to Between Blades & Upstream.
The high blade stagger angle in the downstream end of the passage makes the J-Grid and L-Grid topologies
good candidates for the downstream end of the passage. In order to make an L-Grid topology possible in the
downstream end, there must not be one-to-one node periodicity along the periodic interface in that end of the
passage.
7.
8.
Click Apply.
9.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Right-click a blank area in the viewer, and click Transformation > Blade-to-Blade (Theta-M') from the
shortcut menu.
2.
3.
4.
5.
2.
3.
Insert a master control point and move it as shown in Hub Layer Changes in Downstream End (p. 98):
1.
2.
97
2.
Move a master control point as shown in Hub Layer Changes in Upstream End (p. 99).
The minimum face angle should now be approximately 35.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
3.
For better mesh resolution along the periodic interface, use an edge split control to double the mesh density at
the lower location indicated in Increasing Mesh Density Locally (p. 100):
1.
Right-click the master topology line marked A in Figure 10.3, Increasing Mesh Density Locally (p. 100)
and select Insert Edge Split Control from the shortcut menu.
2.
3.
Click Apply.
This causes more elements to be placed along the topology line marked A in the figure.
Note that edge split controls act on all layers.
99
4.
In order to reduce the aspect ratio of mesh elements downstream of the blade, use edge split controls to double
the mesh density along the topology lines marked B and C in Increasing Mesh Density Locally (p. 100).
2.
3.
2.
3.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Move master control points as shown in Shroud Layer Changes (p. 101).
After each change, you can update the display of problem areas in the mesh by double-clicking Minimum
Face Angle and Maximum Face Angle.
Moving the right-most control point will not improve the mesh immediately, but will avoid small minimum
face angles when a mesh is generated later on in the tutorial.
In anticipation of using the SST turbulence model, increase the mesh density and set the near-wall y+ values
for the hub, shroud, and blade to 1. Also add an outlet block and set its mesh type to H-Grid in
Parametric Space in order to better capture the change in radius of the hub in the outlet region.
1.
2.
Setting
Value
Target Passage Mesh Size
Specify
101
Passage
Setting
Value
Target
750000
y+
Outlet Domain
(Selected)
80
25
20
(Selected)
30
In order to set the y+ value on the hub and shroud, you could use either the Element Count and
Size method or the Boundary Layer method. In this case, the Element Count and Size
option was arbitrarily chosen. As a result, the number of elements from hub to shroud, and the number
of constant-size elements in the middle section (away from the hub and shroud) were required. The values
given here were found, by trail and error, to produce a good mesh.
Similarly, to set the y+ value on the blade, you could use either the Element Count and Size
method or the Expansion Rate method. The Element Count and Size method was arbitrarily
chosen. As a result, the number of elements across the O-Grid was required. The value given here was
found, by trail and error, to produce a good mesh.
The number of elements in the outlet domain and in the O-Grid were changed to values that were found,
by trail and error, to produce a good mesh.
3.
Click Apply.
2.
3.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
2.
3.
4.
5.
6.
Click Save.
2.
3.
Click Save.
103