Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

Chapter 7

Analysis and Optimization
14. 0 Release

Introduction to ANSYS
TurboGrid
1 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0
Mesh Analysis and Optimization

Import
Geometry
How to determine mesh quality and how 
Generate to improve mesh quality?
Topology
Improve Mesh

Generate Mesh

Analyze Mesh

2 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Measuring Mesh Quality

• After the mesh has been generated, 
the following mesh quality statistics 
are generated:
– Maximum Face Angle
– Minimum Face Angle
– Maximum Element Volume Ratio
– Minimum Volume
– Maximum Edge Length Ratio
– Maximum Connectivity Number

3 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Mesh Quality Statistics
• Maximum Face Angle
– greatest face angle for all faces that touch the node 
• Minimum Face Angle
– smallest face angle for all faces that touch the node 
• Maximum Element Volume Ratio
– Ratio of maximum volume to the minimum volume of an element that touches a node 
– Used to check local expansion factor
• Minimum Volume
– Minimum volume of element touching a given node
– Used to ensure no negative volumes
• Maximum Edge Length Ratio
– Longest edge of a face divided by the shortest edge of the face 
– Measure of aspect ratio
• Maximum Connectivity Number
– Number of elements that touch a node 
– Not important for unstructured solvers
– High Connectivity numbers can slow down structured solvers

4 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Mesh Analysis
• Double clicking Mesh Statistics will show the Mesh Statistics 
Panel
– Values shown in red violate max/min settings
– Double clicking a red mesh measure will display the elements in violation
– Can toggle Show Limits to turn elements on or off, and to change the 
display of the elements

5 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Mesh Statistics Panel

Can limit statistics to


passage, inlet, or
outlet domain

Percentage of
elements not meeting
criteria shown in %
Bad column
Click Display to show
elements violating Worst value shown in
mesh measure value column

6 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Mesh Analysis
• User can select the mesh limits
– Mesh statistics for volume mesh
– Mesh statistics on layers

7 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Measuring Mesh Quality: Mesh Quality 
Plots
• User can create any number of objects to help visualize mesh quality
– Right click anywhere in Objects tree
– Insert > USER DEFINED Object
• Can insert:
– Contour Plot ‐ Plane
– Isovolumes ‐ Turbo Surface
– Legends ‐ User Surface
– Text ‐ Isosurface
– Lines ‐ Points

8 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Measuring Mesh Quality: Mesh Quality 
Plots

9 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Troubleshooting
• If mesh quality is not met, some typical things to try:
– Refine geometry
• Inlet/outlet control curves
– Refine topology
• Try a different topoloy
• Modify control points
– Refine Mesh
• Edge splits
• Number of elements

10 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


State Files

• Can save state files (.tst)
– Contains text based CCL commands
– “Snap‐shot” of the current state is saved to a file 
– Useful for:
• Saving your work
• Applying template to new geometry
• Generating scripts

11 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Session Files

• Can save state files (.tse)
– Contains text based CCL commands
– Record the commands executed to a file for playback at a later date 
– Useful for:
• Automating actions
– ex. Printing out a number of screenshots for a report
• Applying template to new geometry
– Batch mode operations
• Generating scripts

12 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Batch mode Operations
• Can run TurboGrid in batch mode
• Typically a session file is created and modified
• Perl scripting language can be used to perform advance functions
• Examples
– Mesh refinement study
– Parametric blade study
• More information in help documentation

13 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Parameterization
If running TurboGrid from Workbench
• Can expose various input values as Workbench parameters

Clicking this checkbox


will make the value a
Workbench Parameter

14 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Parameterization

15 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Parameterization

16 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Parameterization

P in checkbox
indicates this
parameter is
exposed in
Workbench and
cannot be
modified in
TurboGrid any
longer

17 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0


Parameterization

Input parameters
• Can be used to quickly make changes without having to start TurboGrid
• Can be used to create multiple design points
– Example:  Parameterize number of nodes, make 3 design points 
varying this parameter to perform mesh independence study
• Can be used for DesignXplorer studies
– DOE
– Goal Driven Optimization
• Can be made a function of other parameters
– Example:  Y+ specification for TurboGrid could be based on value of 
Inlet Velocity in CFX Pre

18 © 2011 ANSYS, Inc. April 19, 2012 Release 14.0

You might also like