ANSYS AIM Documentation
ANSYS AIM Documentation
ANSYS AIM Documentation
ANSYS, Inc
Southpointe
2600 ANSYS Drive
Canonsburg, PA 15317
ansysinfo@ansys.com
(T) 724-746-3304
(F) 724-514-9494
Release 16.2
April 2015
Table of Contents
Table of Contents
1. Overview.................................................................................................................................1
1.1. Simulation Templates..........................................................................................................2
1.1.1. Structural Template................................................................................................2
1.1.2. Fluid Flow Template................................................................................................3
1.1.3. Thermal Template..................................................................................................3
1.1.4. Electric Conduction Template..................................................................................4
1.1.5. Fluid-Structure Interaction Template........................................................................5
1.1.6. Fluid-Solid Heat Transfer Template..........................................................................6
1.1.7. User Defined Template............................................................................................6
1.1.8. ACT Custom Template............................................................................................7
1.2. Project File Management.....................................................................................................7
1.2.1. Project Unlocking...................................................................................................7
1.2.2. Project Recovery....................................................................................................7
1.2.3. User_Files Folder....................................................................................................8
1.2.4. Imported Files........................................................................................................8
1.2.5. Sharing or Archiving Projects..................................................................................8
1.3. Workspace Overview...........................................................................................................9
1.4. Choosing a Display Mode...................................................................................................10
1.5. Defining Locations.............................................................................................................12
1.6. Defining Selection Sets......................................................................................................12
1.7. Stopping an Update...........................................................................................................13
2. Geometry..............................................................................................................................15
2.1. Import..............................................................................................................................15
2.1.1. Usage Notes for Import Tasks................................................................................15
2.1.2. Geometry Import Source.......................................................................................15
2.1.2.1. Specifying a Geometry Import Source by Browsing....................................16
2.1.2.2. Specifying a Geometry Import Source by Active CAD Attach.......................16
2.1.2.3. Geometry Preferences..............................................................................16
2.1.2.4. Geometry Dimensions..............................................................................17
2.2. Configuration....................................................................................................................17
2.2.1. Usage Notes for Configuration Task.......................................................................17
2.2.2. Suppress Controls.................................................................................................18
2.2.2.1. Creating a Suppress Control.....................................................................18
2.2.3. Move/Rotate Controls...........................................................................................18
2.2.3.1. Creating a Move/Rotate Control................................................................18
2.3. Construction Geometry......................................................................................................19
2.3.1. Reference Frames.................................................................................................19
2.3.1.1. Creating Reference Frames.......................................................................19
2.3.1.2. Coordinate Systems.................................................................................20
2.3.2. Points..................................................................................................................21
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
Table of Contents
2.3.2.1. Specifying a Point by Entry.......................................................................21
2.3.2.2. Specifying a Point by Selection..................................................................22
2.3.3. Planes.................................................................................................................22
2.3.3.1. Creating Planes.......................................................................................22
2.3.4. Box.....................................................................................................................23
2.3.4.1. Creating a Box.........................................................................................23
2.3.5. Capping Surfaces..................................................................................................24
2.3.5.1. Creating Capping Surfaces........................................................................24
3. Meshing................................................................................................................................25
3.1. Overview of Meshing.........................................................................................................25
3.1.1. Extracted Volume Workflow...................................................................................26
3.1.2. Geometry Simplification Workflow..........................................................................27
3.1.3. Flow Volume Meshing Workflow.............................................................................27
3.1.4. Part-based Meshing Workflow................................................................................28
3.2. Best Practices...................................................................................................................29
3.2.1. Structural Meshing Best Practices..........................................................................29
3.2.2. Fluid Flow Meshing Best Practices..........................................................................29
3.3. Mesh Size and Distribution.................................................................................................31
3.3.1. Proximity Size Function.........................................................................................33
3.3.2. Curvature Size Function........................................................................................34
3.3.3. Fixed Size Function...............................................................................................34
3.3.4. Adaptive Size Function..........................................................................................35
3.3.5. Reuse of Computed Size Functions........................................................................35
3.4. Volume Creation................................................................................................................35
3.4.1. Volume Creation Limitations..................................................................................36
3.4.2. Setting Defaults for Volume Creation......................................................................37
3.4.2.1. Setting Optional Defaults for Volume Creation............................................37
3.4.2.2. Setting Mesh Resolution...........................................................................45
3.4.3. Global Sizing for Volume Creation..........................................................................45
3.4.3.1. Global Sizing for Volume Creation with the Curvature and Proximity Size
Function Method.............................................................................................46
3.4.3.2. Global Sizing for Volume Creation with the Curvature Size Function
Method...........................................................................................................50
3.4.3.3. Global Sizing for Volume Creation with the Proximity Size Function
Method...........................................................................................................51
3.4.3.4. Global Sizing for Volume Creation with the Fixed Size Function Method........55
3.4.4. Additional Settings for Volume Creation..................................................................55
3.4.5. Troubleshooting Volume Creation Problems............................................................56
3.5. Flow Volume Meshing........................................................................................................60
3.5.1. Common Inflation Settings for Flow Volume Meshing..............................................60
3.5.1.1. Optional Inflation Settings for Flow Volume Meshing..................................62
3.6. Part-based Meshing...........................................................................................................65
3.6.1. Usage Notes for Part-based Meshing......................................................................65
3.6.2. Setting Defaults for Part-based Meshing.................................................................65
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
II
Table of Contents
3.6.3. Parallel Part Meshing Best Practices.......................................................................66
3.6.4. Global Sizing for Part-based Meshing.....................................................................67
3.6.4.1. Global Sizing for Part-based Meshing with the Curvature and Proximity Size
Function Method.............................................................................................67
3.6.4.2. Global Sizing for Part-based Meshing with the Curvature Size Function
Method...........................................................................................................72
3.6.4.3. Global Sizing for Part-based Meshing with the Proximity Size Function
Method...........................................................................................................73
3.6.4.4. Global Sizing for Part-based Meshing with the Fixed Size Function
Method...........................................................................................................77
3.6.4.5. Global Sizing for Part-based Meshing with the Adaptive Size Function
Method...........................................................................................................78
3.6.5. Common Inflation Settings for Part-based Meshing.................................................79
3.6.5.1. Optional Inflation Settings for Part-based Meshing.....................................81
3.6.6. Additional Settings for Part-based Meshing.............................................................84
3.6.7. Troubleshooting Part-based Meshing Problems........................................................88
3.7. Local Mesh Sizing..............................................................................................................88
3.7.1. Defining Sizing on a Body......................................................................................89
3.7.2. Defining Sizing on a Face......................................................................................90
3.7.3. Defining Sizing on an Edge....................................................................................91
3.7.4. Local Mesh Sizing Control Options..........................................................................91
3.7.4.1. Local Element Size and the Size Function...................................................93
3.7.4.2. Behavior of Soft and Hard Settings............................................................93
3.8. Volume Definitions............................................................................................................94
3.8.1. Defining a Volume - Extracted Volume...................................................................94
3.8.2. Defining a Volume - Geometry Simplification..........................................................95
3.8.3. Extracted Volume Properties..................................................................................95
3.8.4. Geometry Simplification Properties.........................................................................96
3.9. Local Inflation...................................................................................................................97
3.9.1. Defining Inflation Boundaries................................................................................97
3.9.2. Local Inflation Control Options..............................................................................98
3.10. Protected Topologies in a Mesh.......................................................................................102
3.10.1. Creating a Selection Set to Preserve Topologies in the Mesh................................102
3.10.2. Protected Topologies and Mesh State.................................................................102
3.11. Element Shape..............................................................................................................103
3.11.1. Defining the Element Shape of a Mesh...............................................................103
3.11.2. Element Shape Settings.....................................................................................104
3.11.2.1. Optional Element Shape Settings...........................................................105
3.12. Evaluating Mesh Quality.................................................................................................105
3.12.1. Viewing Mesh Diagnostics..................................................................................105
3.12.2. Element Quality................................................................................................106
3.12.3. Aspect Ratio Calculation for Triangles.................................................................106
3.12.4. Aspect Ratio Calculation for Quadrilaterals..........................................................107
3.12.5. Jacobian Ratio..................................................................................................108
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
III
Table of Contents
3.12.6. Warping Factor.................................................................................................109
3.12.7. Parallel Deviation..............................................................................................111
3.12.8. Maximum Corner Angle.....................................................................................112
3.12.9. Skewness.........................................................................................................112
3.12.10. Orthogonal Quality..........................................................................................114
3.12.11. Size Change....................................................................................................116
4. Physics Solution.................................................................................................................117
4.1. Physics Regions...............................................................................................................117
4.1.1. Structural Physics Regions...................................................................................117
4.1.2. Fluid Flow Physics Regions..................................................................................118
4.1.2.1. Compressible Fluid Flows........................................................................118
4.1.3. Thermal Physics Regions.....................................................................................119
4.1.4. Electric Conduction Physics Regions.....................................................................119
4.1.5. Multiple Physics Regions......................................................................................120
4.1.5.1. Adding Physics Regions..........................................................................120
4.1.5.2. Physics Regions and Associations............................................................120
4.1.6. Summary of Objects and Compatible Physics Region and Calculation Types............120
4.2. Material Assignment........................................................................................................121
4.2.1. Assigning Materials.............................................................................................121
4.2.1.1. Zero-Thermal-Strain Reference Temperature............................................122
4.2.1.2. Ideal Gas Law........................................................................................122
4.2.2. Creating Materials...............................................................................................123
4.2.3. Exporting Materials.............................................................................................123
4.2.4. Adding a Library.................................................................................................123
4.2.5. Defining Material Properties.................................................................................124
4.2.5.1. Alternating Stress..................................................................................124
4.2.5.2. Density.................................................................................................124
4.2.5.3. Isotropic Elasticity..................................................................................125
4.2.5.4. Isotropic Resistivity................................................................................125
4.2.5.5. Isotropic Seebeck Coefficient..................................................................125
4.2.5.6. Molar Mass............................................................................................125
4.2.5.7. Specific Heat Capacity............................................................................125
4.2.5.8. Tensile Ultimate Strength........................................................................125
4.2.5.9. Tensile Yield Strength.............................................................................126
4.2.5.10. Thermal Conductivity............................................................................126
4.2.5.11. Thermal Expansion...............................................................................126
4.2.5.12. Viscosity..............................................................................................126
4.2.6. Defining Material Properties using Tabular Data....................................................126
4.2.6.1. Tabular Data in Expressions....................................................................127
4.3. Physics Options...............................................................................................................128
4.3.1. Flow Physics Options..........................................................................................128
4.3.1.1. Viscous vs. Inviscid Flows.......................................................................128
4.3.1.2. Setting Operating Conditions..................................................................128
4.3.1.3. Buoyancy-Driven Flows..........................................................................129
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
IV
Table of Contents
4.3.2. Turbulence Physics Options.................................................................................131
4.3.2.1. Reynolds Averaged Navier-Stokes (RANS) Turbulence Models....................131
4.3.2.2. Turbulence Model Options......................................................................133
4.3.3. Solid Physics Options..........................................................................................135
4.3.3.1. Setting Solid Physics Options..................................................................136
4.4. Boundary Conditions........................................................................................................136
4.4.1. Fluid Boundary Conditions...................................................................................136
4.4.1.1. Inlets....................................................................................................137
4.4.1.2. Outlets..................................................................................................140
4.4.1.3. Openings...............................................................................................143
4.4.1.4. Walls.....................................................................................................145
4.4.1.5. Symmetry..............................................................................................148
4.4.1.6. Turbulence Specification Methods............................................................148
4.4.2. Structural Boundary Conditions............................................................................149
4.4.2.1. Displacement.........................................................................................149
4.4.2.2. Inertia Load...........................................................................................150
4.4.2.3. Force....................................................................................................151
4.4.2.4. Moment................................................................................................152
4.4.2.5. Pressure................................................................................................152
4.4.2.6. Support.................................................................................................153
4.4.2.7. Temperature Condition...........................................................................153
4.4.3. Thermal Boundary Conditions..............................................................................153
4.4.3.1. Convection............................................................................................154
4.4.3.2. Heat Flow..............................................................................................155
4.4.3.3. Heat Flux..............................................................................................155
4.4.3.4. Heat Generation.....................................................................................155
4.4.3.5. Radiation...............................................................................................156
4.4.3.6. Temperature..........................................................................................156
4.4.3.7. Insulated...............................................................................................157
4.4.4. Steady-State Electric Conduction Boundary Conditions..........................................157
4.4.4.1. Current.................................................................................................157
4.4.4.2. Equipotential.........................................................................................157
4.4.4.3. Temperature Condition...........................................................................158
4.4.4.4. Voltage..................................................................................................158
4.5. Initial Conditions for Fluid Flow Simulations.......................................................................158
4.6. Interface Conditions........................................................................................................159
4.6.1. Specifying Contacts.............................................................................................160
4.6.1.1. Automatically Generating Contacts..........................................................160
4.6.1.2. Manually Setting Up a Contact................................................................161
4.6.1.3. Defining Contact Behavior Properties.......................................................162
4.6.2. Setting Up a Joint...............................................................................................173
4.6.2.1. Specifying Joint Behaviors......................................................................173
4.6.3. Region Interface Conditions.................................................................................178
4.6.3.1. Adding Region Interface Conditions ........................................................179
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
Table of Contents
4.6.3.2. Region Interface Statistics .....................................................................180
4.6.4. Physics Coupling Interface...................................................................................181
4.6.4.1. Transfer Force Data using the Physics Coupling Interface..........................181
4.6.4.2. Transfer Temperature Data using the Physics Coupling Interface...............182
4.6.4.3. Physics Coupling Transcript.....................................................................183
4.6.4.4. Mapping................................................................................................185
4.7. Solver and Solution Settings.............................................................................................188
4.7.1. Fluids Solver Options...........................................................................................188
4.7.1.1. Launching the Solver on Multiple Processes..............................................189
4.7.1.2. Choosing a Gradient Method...................................................................189
4.7.1.3. Choosing an Advection Scheme...............................................................189
4.7.1.4. Choosing a Pressure Scheme..................................................................190
4.7.1.5. Choosing a Pressure-Velocity Coupling Scheme........................................190
4.7.1.6. Controlling Advancement........................................................................191
4.7.1.7. Setting Explicit Relaxation Factors............................................................193
4.7.1.8. Applying High Order Term Relaxation.......................................................193
4.7.1.9. Using the Linear Solver...........................................................................193
4.7.1.10. Setting Solution Limits..........................................................................195
4.7.1.11. Controlling Residuals............................................................................195
4.7.1.12. Solving the Physics...............................................................................196
4.7.1.13. Monitoring Solution Quality...................................................................197
4.7.1.14. Judging Convergence............................................................................199
4.7.2. Static Structural Solver Options............................................................................204
4.7.2.1. Configuring the Solver for Static Structural...............................................205
4.7.2.2. Setting Solver Launch Options for Static Structural...................................207
4.7.2.3. Controlling Output Data for Static Structural.............................................208
4.7.2.4. Solution Progression for Nonlinear Controls in a Static Structural
Simulation.....................................................................................................208
4.7.3. Modal Structural Solver Options...........................................................................211
4.7.3.1. Configuring the Solver for Modal Structural..............................................212
4.7.3.2. Setting Solver Launch Options for Modal Structural...................................213
4.7.3.3. Controlling Output Data for Modal Structural............................................214
4.7.3.4. Eigenvalues for a Modal Solution.............................................................215
4.7.4. Steady-State Thermal Solver Settings...................................................................215
4.7.4.1. Configuring the Solver for Steady-State Thermal......................................215
4.7.4.2. Setting Solver Launch Options for Steady-State Thermal...........................216
4.7.4.3. Controlling Output Data for Steady-State Thermal....................................217
4.7.4.4. Solution Progression for Nonlinear Controls in a Steady-State Thermal
Simulation.....................................................................................................218
4.7.5. Steady-State Electric Conduction Solver Options....................................................221
4.7.5.1. Configuring the Solver for Steady-State Electric Conduction.......................222
4.7.5.2. Setting Solver Launch Options for Electric Conduction...............................222
4.7.5.3. Controlling Output Data for Steady-State Electric Conduction....................223
VI
Table of Contents
4.7.5.4. Solution Progression for Nonlinear Controls in a Steady-State Electric
Conduction Simulation...................................................................................224
4.7.6. User Commands for the MAPDL Solver.................................................................227
4.7.6.1. Specifying User Commands Options.........................................................227
4.7.6.2. User Commands Settings........................................................................228
5. Results................................................................................................................................229
5.1. Contours.........................................................................................................................229
5.1.1. Specifying a Contour...........................................................................................230
5.1.2. Adding a New Contour........................................................................................231
5.1.3. Contact Results..................................................................................................232
5.2. Vectors...........................................................................................................................233
5.2.1. Specifying a Vector.............................................................................................233
5.2.2. Adding a New Vector..........................................................................................234
5.2.3. Choosing a Vector Distribution Type.....................................................................235
5.3. Isosurface.......................................................................................................................236
5.3.1. Specifying an Isosurface.....................................................................................237
5.3.2. Adding a New Isosurface.....................................................................................238
5.3.3. Choosing an Isovalue Specification.......................................................................238
5.4. Streamlines.....................................................................................................................239
5.4.1. Specifying a Streamline.......................................................................................239
5.4.2. Adding a New Streamline....................................................................................240
5.4.3. Choosing a Streamline Distribution Type...............................................................241
5.5. Calculated Value..............................................................................................................242
5.5.1. Specifying a Calculated Value..............................................................................242
5.5.2. Adding a New Calculated Value............................................................................243
5.5.3. Choosing a Calculated Value Method....................................................................244
5.6. Appearance.....................................................................................................................244
5.6.1. Specifying a Variable Range.................................................................................244
5.6.2. Specifying a Color Distribution.............................................................................245
5.7. Graphics Control..............................................................................................................246
5.7.1. Specifying Deformation Scaling............................................................................246
5.7.2. Specifying a Surface Mesh...................................................................................246
5.8. Summary........................................................................................................................247
5.9. Fatigue Analysis..............................................................................................................248
5.9.1. Computing Fatigue Results Using a Template........................................................248
5.9.2. Defining S-N Curve Values on Materials................................................................249
5.9.3. Defining S-N Curve Values for All Materials...........................................................251
5.9.4. Fatigue Settings..................................................................................................252
5.9.5. Fatigue Variables for Contour Results...................................................................253
6. Parameters and Design Points...........................................................................................255
6.1. Parameters.....................................................................................................................255
6.1.1. Defining Parameters...........................................................................................255
6.2. Design Points..................................................................................................................256
7. Expressions and Other Operations.....................................................................................257
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
VII
Table of Contents
7.1. Expressions.....................................................................................................................257
7.1.1. Basic Expressions................................................................................................257
7.1.2. Constants...........................................................................................................258
7.1.3. Variables............................................................................................................258
7.1.3.1. Variable Tensor Types.............................................................................258
7.1.4. Units..................................................................................................................259
7.1.5. Single-Valued Expressions and Variables...............................................................263
7.1.6. Quantity Functions..............................................................................................264
7.1.7. Location References............................................................................................264
7.1.7.1. Referencing Locations of Objects.............................................................264
7.1.7.2. Using Selection Sets as Location References.............................................265
7.1.7.3. About Location Functions........................................................................265
7.1.8. Expression Composition.......................................................................................270
7.1.9. Reuse of Expressions and Values..........................................................................271
7.1.9.1. Named Expressions and Values...............................................................272
7.1.9.2. Navigation to Named Expressions and Named Values ..............................273
7.1.9.3. Creation of Named Expressions and Named Values ..................................273
7.1.9.4. Editing a Named Expression Object.........................................................275
7.1.9.5. Copying a Named Expression or its Value.................................................275
7.1.9.6. Duplication of Named Expressions...........................................................275
7.1.9.7. Deleting a Named Expression or Named Value..........................................276
7.1.9.8. Named Expressions and Named Values in the Construction of New
Expressions...................................................................................................276
7.1.10. Mathematical Constants.....................................................................................276
7.1.11. Mathematical Operators and Functions...............................................................276
7.1.12. Quantity Functions............................................................................................279
7.1.13. Object Retrieval Functions.................................................................................281
7.1.14. Fluid Variables..................................................................................................281
7.1.15. Structural Variables...........................................................................................285
7.1.16. Electric Conduction Variables.............................................................................289
7.1.17. Thermal Variables..............................................................................................291
7.2. ANSYS AIM Journaling and Scripting Overview...................................................................292
VIII
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
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.
U.S. Government Rights
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, please contact ANSYS, Inc.
Published in the U.S.A.
1: Overview
Overview
Numerical simulations of real-world multiphysics engineering problems are often comprised of distinct, but
connected, steps that cover everything required for a complete investigation: from importing data, to defining
physical models, to analyzing the results. A simulation process is a collection of these connected steps that
define a complete, end-to-end physics simulation.
ANSYS AIM provides a convenient workspace called a "study" for creating and defining one or more simulation
processes. Many of the steps in a simulation process correspond to a "task" in ANSYS AIM. Each task is a
container for everything involved within the step. Once a task is completed and up-to-date, the task generates
data that is transferred to the next task in the process. The following figure shows an example of a simulation
process with four tasks:
The following table illustrates the general steps in a simulation and the corresponding task in an ANSYS AIM
study:
General Steps for a Simulation
2. Creating a mesh.
3. Setting up the physical constraints, and generating The Physics Solution task (displayed as Physics by
a solution.
default) is where you define such things as the
material properties, boundary conditions, and solution
settings.
4. Examining and saving the results.
5. Considering revisions to the physics solution setup, Re-evaluate and edit your simulation process settings
if necessary.
to refine your results.
Get started by using templates for common engineering physics simulations, such as structural or fluid flow
simulation processes. Your work within the ANSYS AIM workspace is preserved in a project for future use.
There are several common operations used throughout ANSYS AIM, including setting locations, and setting
selection sets.
Before you begin working in ANSYS AIM, carefully consider your goals, such as obtaining a rough initial
solution, obtaining a refined solution, or exploring design alternatives. Reviewing your goals will contribute
significantly to the success of your simulation.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
Overview
Structural
Fluid flow
Thermal
Electric conduction
Fluid-structure interaction (FSI)
Fluid-Solid Heat Transfer
User Defined
Overview
Examples:
Overview
Select Thermal and electric conduction when you want to model joule heating for resistive materials
and contact electric conductance as well as Seebeck, Peltier, and Thomson effects for thermoelectricity.
Select Thermal, electric conduction, and structural when you need to model situations where
electric effects create thermal effects, and, in turn, thermal effects cause structural strains and
deformations.
Select Thermal and flow when you want to simulate temperatures, thermal gradients, heat flow rates,
and heat fluxes in the flow.
Geometry, when Thermal and flow is selected:
Select Represents the flow volume(s) when the geometry you will import already corresponds to a
fluid region. For example, a geometry that represents the interior of a pipe, but not the pipe itself.
Select Requires the flow volume(s) to be extracted when the geometry you will import still requires
changes in order to define a fluid region. For example, a geometry that represents a pipe, but not the
interior flow region.
Flow physics, when Thermal and flow is selected:
Select Incompressible flow when you want to ignore the effects of density in the flow field.
Select Compressible flow (ideal gas) when you want to account for the effects of gas flow density
in the flow field.
Options:
Select Detect contact automatically when your simulation requires automatic detection of structural
contacts.
Select Allow configuration when your simulation requires geometric transformation (such as rotation
or translation) or suppression of portions of the geometry. Available when Thermal and flow and when
Represents the flow volume(s) are selected.
Select Allow configuration / bounding box for external flow when your simulation requires
geometric transformation (such as rotation or translation), suppression of portions of the geometry, or
the creation of an exterior bounding region for an external fluid flow simulation. Available when Thermal
and flow and when Requires the flow volume(s) to be extracted are selected.
When you select Create Simulation Process, you will be prompted to import the geometry file.
Examples:
Overview
Select Electric conduction and structural when your simulation requires electric conduction and
structural loads.
Select Electric conduction, thermal, and structural when you need to model situations where electric
effects create thermal effects, and where thermal effects cause structural strains and deformations.
Options:
Select Detect contact automatically when your simulation requires automatic detection of structural
contacts.
Select Allow configuration when your simulation requires geometric transformation (rotation or
translation) or suppression of portions of the geometry.
When you select Create Simulation Process, you will be prompted to import the geometry file.
Example:
Overview
Overview
Overview
Therefore, if an exceptional circumstance occurs (for example, a power outage) that prevents you from
saving the current project but leaves some project files in a modified state, youll be presented with the
following options regarding recovering a backup version when you next open ANSYS AIM:
Revert to the last saved project.
Make a copy of the last saved project before continuing with the partially saved project. The project will
be copied into a new location that you specify.
Exit ANSYS AIM and decide later. Use this option if you wish to handle the save failure manually. As a
result, the backup folder will not be cleared so that you can manually recover files from that folder later.
Continue with the partially saved project, discarding the last saved project (not recommended). This option
results in the backup folder being cleared. Use this option with caution, as it could result in corrupt project
files.
Overview
To restore an archived file, select File > Restore Archive . You will be prompted for a project path to a
folder where the archive will be extracted, and then that project will be opened.
Quick Tour
Overview
Translucent display
This mode enables you to see the interior of a model, which can be very useful for picking interior locations.
In the model below, picking the interior coil would be easier with translucency enabled.
10
Overview
Enhanced display
This mode applies more realistic lighting and shadows, providing more emphasis to surface shapes, especially
when viewing the model or Results. It can also be useful to produce renderings for reports and presentations.
For best results, hide edges when using the Enhanced display mode.
11
Overview
Defining Locations
12
Overview
Note that in the some tasks within ANSYS AIM (such as the Model Configuration task), you have the
ability to hide or suppress objects in the graphics view. If a selection set has objects that belong to a
body that is suppressed, the selection set will still be available elsewhere in the simulation process. If you
use the selection set, references to any suppressed objects will be ignored
So, if the selection set has objects that belong to both body A and body B, and body A is suppressed, if
you use the selection set later, it will ignore objects in body A and use the objects in body B. If A and B
are both suppressed, you can use the selection later, but an error will appear because the selection set
does not contain any usable objects
13
2: Geometry
Geometry
A simulation process typically requires a geometry that represents a physical object that you want to apply
to your engineering simulation. ANSYS AIM enables you to import various geometric and CAD file types. The
geometry you provide will be used as the basis for the subsequent assignment of mesh generation, physics,
and results properties and tasks.
Geometry
Meshing
You can import one or more geometry files into your study, or configure various aspects of the simulation
ahead of time.
For instance, you can import a single geometry that represents both a fluid and structural region, or you can
import more than one geometry file: one that represents a fluid flow region, and the other that represents
a structural region.
2.1. Import
Import tasks are used to import one or more geometric or CAD file types for use in downstream Meshing,
Volume Creation, or Configuration tasks.
15
Geometry
Active CAD Attach: Assigns the source Location property to an Active CAD Attach document source
selected from the list of the Active CAD Attach document sources.
The Geometry Import Source can be Imported, Updated, and Synchronized according to its status.
Import: Available prior to executing the source Import for the first time.
Update: Available once the source Import has been executed and a dependent property invalidates the
source's status. Executing this action pushes any changed Dimensions to the source's originating
application/CAD System.
Synchronize: Available once the source Import has been executed and the import source's status is
up-to-date. Executing this action pulls all geometry and Dimension changes from the source's originating
application/CAD System to the Import task.
2.1.2.1. Specifying a Geometry Import Source by Browsing
To specify a Geometry Import Source by browsing for the source:
1.
2.
3.
4.
5.
For Import Sources, select Next Step > Geometry Import Source
Under Source Selection Type the option will be set to Browse Source
Select the "..." file browse button for the Location property to launch the file browser dialog
Select the supported geometry file from the provided file filter types
Update the Geometry Import Source object or Import task object to complete the import and generate
the Model graphics
For Import Sources, select Next Step > Active CAD Attach
Under Source Selection Type the option will be set to Active CAD Attach
Select an active/running CAD document from the Location property
Update the Geometry Import Source object or Import task object to complete the import and generate
the Model graphics
16
Geometry
Import Dimensions: Enables Dimension processing. Dimension processing can slow down overall import
performance. The default is Yes.
Dimension Option : Allows the specification of a key that is used to filter processed CAD System
Parameters during import. The key must be present at the beginning or the end of a CAD Parameter's
name to be valid for import. The Dimension Key supports multiple prefixes/suffixes with each value separated
by a semicolon. If the value is empty, all Dimensions are imported. The default key is "DS".
Import Selection Sets: Enables processing of CAD System Named Selections that result in the creation
of Selection Sets. The default is No.
Selection Set Option: Allows the specification of a key that is used to filter processed CAD System
Named Selections during import. The key must be present at the beginning or end of a CAD Named
Selection's name to be valid for import. The Selection Set Key supports multiple prefixes/suffixes with each
value separated by a semicolon. If the value is empty, all Selection Sets are imported. The default key is
"NS".
Import Coordinate Systems: Specifies whether coordinate systems created in the CAD System are
imported as Reference Frame objects. The default is No.
Process Associativity: Indicates if action should be taken to allow associativity. Associativity processing
can have a negative impact on import performance. The default is Yes.
Import Using Instances: Recognizes a geometry import's part instances during processing to produce
faster import times and allow smaller database sizes. The default is Yes.
Reader Mode Saves Updated Files: Enables saving of the internal part files generated from the
geometry import during the import/update action. The default is No.
Enclosure and Symmetry Processing: Enables the processing of enclosure and symmetry CAD System
Named Selections. The default is Yes.
Decompose Disjoint Faces: Enables the decomposition of disjoint faces into separate face entities. The
default is No.
2.1.2.4. Geometry Dimensions
Any CAD System Parameters imported as ANSYS AIM Dimensions using the Import Dimensions and
Dimension Key Geometry Preferences are shown from the Geometry Import Source object. The imported
Dimensions can be found in a separate Dimensions group along-side all other Geometry Import Source
properties.
Note: Geometry parameters containing a period in their names will not be imported into ANSYS AIM. Only
parameters with unique names formed of alphanumerical and the underscore characters are permitted. The
parameters in the geometry file must be renamed and then they can be re-imported.
Modification of an imported Dimension will invalidate the Geometry Input Source and require an Update of
either the source or the Import task. The changed dimension values are pushed to the geometry import's
originating application, modifying the geometry. The Geometry Import Source's model is then updated with
the modified data.
For fluid flow simulations, independent points can be used to identify flow volumes within a geometry that
need to be extracted.
2.2. Configuration
Configuration tasks allow the modification of input Part components to produce a new output configuration.
The output configuration can be used in downstream Meshing or Volume Creation.
17
Geometry
Configure Controls available for addition:
Suppress Controls
Move/Rotate Controls
18
Geometry
19
Geometry
position (i.e. Local) (default), or relative to the Parent Frame. The rotation direction is such that,
from the perspective of the Reference Frames origin looking in the direction of the rotation axis,
the frame will rotate clockwise. Rotating about the local origin means the Reference Frames location
will not change, only its orientation.
Rotating about the Parents origin means the Reference Frame will rotate as if the origins were
connected by a straight rod, so the origin changes as well as the orientation. If the Reference Frames
origin is coincident with the Parent, the origin will not change.
Reverse about X - rotate the frame 180 degrees about the X axis
Reverse about Y - rotate the frame 180 degrees about the Y axis
Reverse about Z - rotate the frame 180 degrees about the Z axis
One or more transforms can be added (stacked) onto the Reference Frame to alter the location and
orientation. After the definition method has been applied, the stacked transforms are applied in order.
There is no limit to the number of stacked transforms. By default, one stacked transform is provided
with the type set to None, meaning it has no effect on the Reference Frames location and orientation.
If the type of the last transform is changed from None to anything else, another transform set to None
is added at the end. A stacked transform can also be suppressed so that it has no effect on the
Reference Frames location and orientation, but the information is preserved so that the operation can
be easily undone.
You have now defined a reference frame. Reference frames can be used elsewhere in your simulation
process, such as when coordinates are defined with respect to another frame of reference (e.g., points,
vectors, etc.).
2.3.1.2. Coordinate Systems
A reference frame is essentially a local Cartesian coordinate system. However, in addition to the standard
Cartesian coordinates ANSYS AIM also provides you with cylindrical and spherical coordinate systems in every
frame. The additional cylindrical and spherical coordinate systems are related to the Cartesian coordinates
in accordance with ISO 8000-2.
Coordinate systems are illustrated below with the definition of a position vector and its differential.
Figure Element
X,
Y,
Definition
These are the axes of the underlying reference frame, relative to which coordinates
are defined in the Cartesian, spherical and cylindrical coordinate systems.
Z
Position vector. From the origin of a reference frame, the position vector defines the
location of a point relative to the reference frame's origin.
20
Geometry
x, y, z
Distance (magnitude) from the origin measured parallel to the X, Y, and Z axis,
respectively of the reference frame. Alternatively, can be viewed as the distance
measured perpendicular to the YZ, ZX, and XY planes respectively.
(rho) Distance from the z axis (or the radius of a cylinder about which the z axis the
point lies.
(phi) Angular distance in the xy plane, starting from the positive x axis towards the
positive y axis
Distance from the origin. This is the magnitude of the position vector,
Direction vectors. These are unit vectors (for example, dimensionless) indicating the
direction of greatest increase (for example, gradient) of each coordinate variable.
Cartesian direction vectors are not position dependent; they are parallel throughout
a reference frame. However, direction vectors in cylindrical and spherical coordinate
systems are position dependent.
Unit direction vectors parallel to the +ve x, y, and z axes, respectively. These may
also be viewed as the directions normal or perpendicular to the yz, zx, and xy planes.
Unit vector directed towards the point starting from the nearest point on the z axis or
normal to the surface of a cylinder about the z axis.
Unit vector directed about the z axis, perpendicular to the
plane
Unit vector directed about the origin and parallel to the -z axis. This can also be viewed
as being normal to a cone created by revolving the position vector about the Z axis,
with the +ve direction of the normal pointing away from the Z axis.
Unit vector pointing from the origin to the point, or normal to the surface of a sphere
about the origin.
2.3.2. Points
Points provide a method of abstraction between a model and a point in space that is external to the geometry
or mesh in your simulation process.
For fluid flow simulations, independent points can be used to identify flow volumes within a geometry that
need to be extracted.
2.3.2.1. Specifying a Point by Entry
To specify a point through entry:
1. For Construction Geometry, select Next Step > Point.
2. For Relative To, leave the default Global Reference Frame, or click to select or define a coordinate
system.
3. Under Local coordinates, for Coordinate type, select the type of coordinate system you want to
use to define the point.
4. Specify the coordinates of the point.
For the Cartesian Coordinate type, specify the coordinates in X, Y, and Z.
For the Cylindrical Coordinate type, specify the coordinates in Radius, Azimuth angle, and Height.
For the Spherical Coordinate type, specify the coordinates in Radius, Azimuth angle, and Polar angle.
21
Geometry
You have now defined a point. Points can be used in structural simulations as part of remote application
of boundary conditions. Points can also be used in fluid flow simulations as part of flow volume
identification.
2.3.2.2. Specifying a Point by Selection
To specify a point by selection:
1. For Construction Geometry, select Next Step > Point.
2. For Define by, select Location based.
The Location field is activated.
3. Select a topology and then click Add selected entities or Replace with selected entities.
4. For Calculation method, leave the default method of Centroid, or click to select the Hit Point
method by which the point is calculated.
You have now defined a point. Points can be used in structural simulations as part of remote application
of boundary conditions. Points can also be used in fluid flow simulations as part of flow volume
identification.
Note: A geometry selection with a logical center point, such as a circular edge or cylindrical face, will
use the center point of the geometry even if the geometry is not complete (for example, a circular arc).
2.3.3. Planes
Planes are abstract geometry constructs, separate from an imported geometry or mesh, that can be created
and used at various points of a simulation process. For example, a plane can be constructed and used to
visualize the results of a simulation.
2.3.3.1. Creating Planes
To specify an independent plane:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
22
Geometry
1. For Construction Geometry, select Next Step > Plane. A plane is automatically created in the
x-y plane. You need to specify additional details of its position and orientation according to your
requirements.
2. For Scoped bodies, leave the default: AllBodies(), or select specific bodies.
3. Under Construction method, choose from the following:
Origin and orientation exposes additional controls to specify the origin and orientation of the
plane.
From Plane exposes additional controls to specify new or existing planes to apply to your plane.
From Reference Frame exposes additional controls to specify new or existing planes from other
defined reference frames.
4. Under Transformation, offset and rotational transformations can also be applied to the plane.
You have now defined a plane. Planes can be used elsewhere in any type of simulation process. For
example, planes can be used to display the results of your simulation.
2.3.4. Box
Boxes are employed to enclose an imported geometry or part of it. They are required for extracting a flow
volume for fluid flow simulation processes.
2.3.4.1. Creating a Box
To construct a new box:
1. For Construction Geometry, select Next Step > Box
2. For Selection Method, choose from By Entity Selection or By Coordinates
3. Create Selection Sets is enabled by default; this option is necessary to properly scope physics
conditions in downstream tasks.
2.3.4.1.1. Creating a Box by Entity Selection
Single or multiple entities can be directly enclosed within a box with provided cushion values.
1. Under Location, select the entities to be enclosed within a box with provided cushion values
2. For Type, choose from Uniform or Non-Uniform to set the respective cushion values
3. Create Selection Sets is enabled by default; this option is necessary to properly scope physics
conditions in downstream tasks
2.3.4.1.2. Creating a Box by Coordinates
Boxes can be created by specifying Point1 & Point2 as its diagonal coordinates.
1. Under Define by choose from Entry or Location based to specify Point1 or Point2
2. For Entry:
For Relative To, leave the default Global Reference Frame, or click to select or define a reference
frame
Under Local coordinates, for Coordinate Type, select the type of coordinate system you want
to use to define the point
For the Cartesian Coordinate type, specify the coordinates in X, Y, and Z
For the Cylindrical Coordinate type, specify the coordinates in Radius, Azimuth angle, and Height
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
23
Geometry
For the Spherical Coordinate type, specify the coordinates in Radius, Azimuth angle, and Polar angle
3. Under Define by for Location based, the location field is activated.
Select a topology and then click Add selected entities or Replace with selected entities
For Calculation method, leave the default method of Centroid or click to select the method by
which the point is calculated
4. Create Selection Sets is enabled by default; this option is necessary to properly scope physics
conditions in downstream tasks.
3. After selecting a construction algorithm (or keeping the default: Automatic), add/replace any particular
Faces, Edges, or Edge Loop or Vertices selections.
To cap multiple openings in a geometry, you can create a single capping surface by selecting multiple
Faces, Edges, or Edge Loops. Each opening is patched with a unique surface.
4. Create Selection Set is enabled by default; this option is necessary to properly scope physics
conditions in downstream tasks. In case of multiple openings in a geometry, in addition to creation of
Selection Sets scoped to all openings, a separate Selection Set for each opening is created.
You have now defined a capping surface. Capping surfaces are required for flow volume extraction with
fluid flow simulations.
24
3: Meshing
Meshing
Geometry
Meshing
Physics Solution
When the imported geometry represents solid parts and a flow volume needs to be extracted, use a volume
creation task, along with flow volume meshing, to create a mesh. In this case, meshing the flow volume
involves identifying the location of the flow volume, generating a surface wrap mesh for the extracted volume,
and then meshing the volume itself. When the imported geometry represents multiple solid parts that you
want to unite to create a single flow region, or if you want to simplify a body with many surface patches,
use a volume creation task to simplify the geometry and generate the surface mesh, and then use flow
volume meshing to create the volume mesh.
Geometry
Volume Creation
Meshing
Physics Solution
25
Meshing
Meshing task to create a flow volume mesh for the wrapped geometry. The generated flow volume mesh
consists of tetrahedral and prism elements.
on the graphics
4. On the Volume Creation panel, enable Use predefined settings to automatically set the fineness of
the mesh and optionally adjust the Mesh resolution, or disable Use predefined settings to set
individual Global Sizing properties manually. In either case, set the Global Sizing > Size function
method according to your preference. All of these controls affect how the mesh size will be distributed
on the surface mesh when the wrap mesh is generated, as well as mesh size distribution within the volume
when the flow volume mesh is generated. For more information, refer to Global Sizing for Volume Creation
on page 45.
5.
On the Volume Creation panel, specify
Additional Settings to control the wrap mesh generation.
For more information, refer to Additional Settings for Volume Creation on page 55.
6. To define the mesh size at specified locations, add local mesh sizing controls (Objects > Size Controls >
Add, and then choose face or edge sizing). For more information, refer to Local Mesh Sizing on page 88.
7. To preserve topologies in the mesh, add Selection Sets to create groupings of entities that will be protected
by the mesher (Objects > Selection Sets > Add > Selection Set).
8. Click Create Volumes.
Generating the mesh results in a well-connected surface mesh, which you can use as input to a Meshing
task for meshing the flow volume.
After meshing, you can evaluate the mesh quality (Output > Metrics > Add > Mesh Diagnostics).
26
Meshing
27
Meshing
Selection Sets, or disable it and use the Location field to select the desired faces manually. For more
information, refer to Local Inflation Control Options on page 98.
4. On the Mesh panel, click Generate Mesh.
After meshing, you can evaluate the mesh quality (Output > Metrics > Add > Mesh Diagnostics).
28
Meshing
After meshing, you can evaluate the mesh quality (Output > Metrics > Add > Mesh Diagnostics).
29
Meshing
An alternative to defining Selection Sets is to use the value of the Edge extraction angle option. When no
Selection Sets are defined, the value of the Edge extraction angle option determines which CAD features
are captured in the mesh. An important distinction between the use of Selection Sets and the use of the
Edge extraction angle option is that Selection Sets provide greater control over which specific topology
is preserved, whereas the Edge extraction angle option has a global effect; any CAD features in the model
that meet its criteria are captured in the mesh. The smaller the angle, the higher the number of features
that are captured. In the figure below, the default Edge extraction angle of 40 degrees is retained for the
mesh on the left, but it is set to 10 to obtain the mesh on the right. Because the angle between surfaces is
approximately 16 degrees, the setting of 10 captures the edges in the mesh.
30
Meshing
31
Meshing
The final edge mesh is then passed into a least-squares fit size function, which guides face and volume
meshing.
For all other size function methods, the mesher examines the size sources and, based on the smallest size
obtained at the location of the sources, the distance to each source, and the growth rate, the smallest size
at each point is selected and stored in a background grid. The mesher uses the sizes from the background
grid to generate a mesh. The background grid is refined automatically to provide size distribution to the
mesher.
The following factors contribute to the final mesh distribution:
The size source, which can be any of the following:
Edge and face curvature, based on the normal angle variation between adjacent mesh elements in 2D
(edge) or 3D (face)
Edge and face proximity, based on the number of element layers created in a gap between edges in 2D
or between faces in 3D
Local element sizing on selected edges, faces, or bodies
Influence of a swept body
The values of size function options, including Minimum size/Proximity minimum size, Maximum
size, Growth rate, and Maximum face size (part-based meshing only)
The Minimum size/Proximity minimum size and Maximum size specifications represent, respectively,
the global minimum and global maximum allowable element size. The Maximum face size specification
represents the global maximum allowable size of the elements created by the free surface meshers when
generating a part-based mesh. The Growth rate represents the increase in element edge length with each
succeeding layer of elements from the edge or face. For example, a growth rate of 1.2 results in a 20%
increase in element edge length with each succeeding layer of elements.
Note:
The influences of scoped local element sizing and existing meshes are always active, but you have explicit
control over whether to activate the influences of curvature, proximity, both, or neither (fixed).
ANSYS AIM saves the computed size functions to a size field file for reuse in certain meshing tasks.
For part-based meshing, the size function works within parts, but not across parts. For volume creation
and flow volume meshing, the size function takes the entire assembly into account.
32
Meshing
cases, the size function will automatically reduce the minimum size locally to ensure that the size transition
between the scoped entity and the surrounding mesh follows the prescribed size function Growth rate.
However, there are times in which the size function will not reduce the minimum size locally:
If a case involves a geometric feature (edge, face) that is smaller than the minimum size, you must either
remove the small features or assign scoped sizes to them to ensure a smooth size transition.
If a case involves a swept mesh in a multibody part where the boundary of the swept mesh is smaller than
the minimum size due to a reduction of cross-sectional size in the swept region, you must add additional
sizing controls to ensure a smooth size transition between swept regions.
Similarly, you can scope a Hard size that is larger than the values that are specified by the size functions
Maximum face size and Maximum size options, as long as the size function produces a smooth size
transition away from the scoped entity.
For all size function methods except Adaptive, Hard edge size information is injected into the background
grid during the meshing process. Transitions may be abrupt between Hard edges (or any edge to which
Bias type/Bias growth rate has been applied) and adjacent edges and face meshes. Edges with Hard
edge sizing or bias will also override the Maximum face size and Maximum size properties.
33
Meshing
Global
Global
Global
Global
Sizing
Sizing
Sizing
Sizing
for
for
for
for
Volume Creation with the Curvature and Proximity Size Function Method on page 46
Volume Creation with the Proximity Size Function Method on page 51
Part-based Meshing with the Curvature and Proximity Size Function Method on page 67
Part-based Meshing with the Proximity Size Function Method on page 73
Global
Global
Global
Global
Sizing
Sizing
Sizing
Sizing
for
for
for
for
Volume Creation with the Curvature and Proximity Size Function Method on page 46
Volume Creation with the Curvature Size Function Method on page 50
Part-based Meshing with the Curvature and Proximity Size Function Method on page 67
Part-based Meshing with the Curvature Size Function Method on page 72
34
Meshing
With the fixed size function, you must use size controls to mesh sizes locally, as opposed to the curvature
and proximity size functions, which refine the sizes locally based on curvature and proximity of features in
the geometry. Even if the specified local sizes are Soft sizes, they may override the global sizes when the
fixed size function is used.
For more information, refer to the appropriate topic:
Global Sizing for Volume Creation with the Fixed Size Function Method on page 55
Global Sizing for Part-based Meshing with the Fixed Size Function Method on page 77
35
Meshing
Note: Shrink wrap approximates the geometry using a stairstep-like Cartesian grid. It requires finer cells
to resolve thin gaps. In cases where a gap area is not curved and not aligned to the Cartesian axes, you
may need to refine 3-4 times finer than the gap thickness. Take this into account when setting global
and local minimum size values and the number of cells to be generated across gaps for the proximity size
function.
3. Extracts the interface on the boundary of the non-intersecting Cartesian volume region. When you create
an extracted volume, this region encloses the point that identifies the flow region.
4. Projects the extracted interface onto the geometry.
5. Deletes degenerate and island regions, and intersects and remeshes them appropriately.
6. Imprints edges of the wrapped boundary region (which is a closed domain) and preserves the faces in
the Selection Sets based on the original geometry.
7. Remeshes surfaces based on the size functions/size field.
Note:
By default, the model that results from generating the Volume Creation task contains faces that reflect
the bodies from the input model, but not the individual faces of those bodies. Adding Selection Sets to the
Volume Creation task protects topology and obtains more topology granularity. For an example of
protected topology and volume creation, see Fluid Flow Meshing Best Practices on page 29.
For both types of volume creation, you need to define the volume that you want to extract or the bodies
that you want to group, as appropriate. For related information, see Extracted Volume Workflow on page
26 and Geometry Simplification Workflow on page 27.
36
Meshing
It does not support zero-thickness baffles. We recommend that you add thickness to any baffles in your
model before attempting to wrap.
It does not resolve acute interior angles (such as sharp corners) well. It usually skips the imprinting onto
the edges at angles of less than 30 degrees. This imprinting is controlled by an internal relative imprinting
threshold parameter. The parameter's value defaults to 2, which means it tries to imprint onto edges that
are closer than two times the local size.
37
Meshing
When Reassociate reference IDs to current output model is disabled, no reassociation occurs. New
reference IDs are generated and associated to the model each time you update the Volume Creation
task.
Reassociation Limitations
Reassociation has the following limitations:
In some cases, considerable complexity in geometry and large variation in sizing controls or other settings
between subsequent updates may cause inconsistency or inconstancy of reference IDs, which may lead
to generation of new reference IDs. For example, a single face representing a topology in the previous
output model may be broken down into multiple faces representing the same topology in the current output
model or vice versa (n-to-1 or 1-to-n association).
To ensure controls (such as inflation controls or boundary conditions assigned to faces) remain persistent
and valid throughout task updates, we strongly recommend you define Selection Sets for entities to which
you want to apply controls before initial generation of the Volume Creation task. Then when assigning
a control to a Location, select a Selection Set rather than selecting topological entities directly. This
practice protects the topological entities and keeps the entities and their reference IDs consistent throughout
the simulation. For related information, see Ensuring Topology Is Preserved in a Wrap Mesh on page 29.
Reference IDs of bodies that represent the output of Volume Creation and Meshing tasks may also be
affected by updates. For example, if you directly selected a body as the Location for a physics region or
results contour, you may need to redefine the Location after an update.
Reassociation Example
The following example uses this geometric model of a T-junction with a bent pipe to illustrate reassociation.
38
Meshing
39
Meshing
40
Meshing
41
Meshing
42
Meshing
43
Meshing
Figure 3.4.2.1.7. Existing Reference IDs Are Reassociated to the Inflation Boundaries
The Meshing task is updated.
44
Meshing
45
Meshing
the fineness of the mesh, or disable it to set individual Global Sizing properties manually. In either case,
you can set the Global Sizing > Size function method control according to your preference for mesh
size distribution calculations. You determine which refinement mechanisms are activated by selecting
Curvature and proximity, Proximity, Curvature, or Fixed.
The Size function method for Volume Creation tasks is set to Curvature and proximity by default.
We recommend that you retain this setting because it works best for preserving protected topologies.
For details about the properties you can set for each size function method, refer to the appropriate topic:
Global
Global
Global
Global
Sizing
Sizing
Sizing
Sizing
for
for
for
for
Volume
Volume
Volume
Volume
Creation
Creation
Creation
Creation
with
with
with
with
the
the
the
the
3.4.3.1. Global Sizing for Volume Creation with the Curvature and Proximity Size Function
Method
The size function controls how the mesh size is distributed on a surface or within a volume. The properties
described here provide more precise control over mesh size distribution during Volume Creation tasks
when Size function method is set to Curvature and proximity, which is the default. We recommend
that you retain this setting because it works best for preserving protected topologies.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Proximity Size Function Sources
Proximity size function sources determines whether regions of proximity between faces and/or edges
are considered when proximity size function calculations are performed. Choose one of the following:
Edges Considers edge-edge proximity. Face-face and face-edge proximity are not considered.
Faces This is the default. Considers face-face proximity between faces. Face-edge and edge-edge
proximity are not considered (that is, the trailing edge of fluid around wings will not be captured with this
setting).
Faces and edges Considers face-face and edge-edge proximity. Face-edge proximity is not considered.
Note:
In cases involving face-face proximity, the face normal orientation is ignored during the proximity calculation.
In cases involving edge-edge proximity, edges across voids in a model are refined by wrapping because
the volume exists at the time the refinement occurs.
For many models, the Edges setting may be sufficient to resolve all proximity situations. For large complex
models, using either the Faces and edges or Faces setting may result in longer computation time.
The figures below illustrate the effect of each Proximity size function sources setting.
46
Meshing
47
Meshing
48
Meshing
49
Meshing
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Curvature Normal Angle
Curvature normal angle is the maximum allowable angle that one element edge is allowed to span. Enter
a positive value of up to 180 degrees or 3.14 radians, or accept the default. The default is 18 degrees or
0.3142 radians.
Number of Cells Across Gap
Number of cells across gap is the minimum number of layers of elements to be generated in the gaps.
You can specify a value from 1 to 100 or accept the default. The default is 3.
The value of Number of cells across gap is an approximation:
If you specify 3 cells per gap on a narrow face, the final mesh may contain from 24 cells across the gap,
depending on the orientation in relation to the global X, Y, Z axis.
You must define minimum size such that it allows the specified Number of cells across gap to be
achieved. For example, if you have a gap of 1 mm, the minimum size is 0.5 mm, and the value of Number
of cells across gap is 3, only 2 cells can be generated in the gap.
3.4.3.2. Global Sizing for Volume Creation with the Curvature Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. The properties
described here provide more precise control over mesh size distribution during Volume Creation tasks
when Size function method is set to Curvature.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Minimum Size
Minimum size is the minimum size that the size function returns to the mesher. Some element sizes may
be smaller than this based on local feature sizes or other geometric anomalies. Specify a value greater than
0 or accept the default.
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
50
Meshing
Curvature Normal Angle
Curvature normal angle is the maximum allowable angle that one element edge is allowed to span. Enter
a positive value of up to 180 degrees or 3.14 radians, or accept the default. The default is 18 degrees or
0.3142 radians.
3.4.3.3. Global Sizing for Volume Creation with the Proximity Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. The properties
described here provide more precise control over mesh size distribution during Volume Creation tasks
when Size function method is set to Proximity.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Proximity Size Function Sources
Proximity size function sources determines whether regions of proximity between faces and/or edges
are considered when proximity size function calculations are performed. Choose one of the following:
Edges Considers edge-edge proximity. Face-face and face-edge proximity are not considered.
Faces This is the default. Considers face-face proximity between faces. Face-edge and edge-edge
proximity are not considered (that is, the trailing edge of fluid around wings will not be captured with this
setting).
Faces and edges Considers face-face and edge-edge proximity. Face-edge proximity is not considered.
Note:
In cases involving face-face proximity, the face normal orientation is ignored during the proximity calculation.
In cases involving edge-edge proximity, edges across voids in a model are refined by wrapping because
the volume exists at the time the refinement occurs.
For many models, the Edges setting may be sufficient to resolve all proximity situations. For large complex
models, using either the Faces and edges or Faces setting may result in longer computation time.
The figures below illustrate the effect of each Proximity size function sources setting.
51
Meshing
52
Meshing
53
Meshing
54
Meshing
Number of Cells Across Gap
Number of cells across gap is the minimum number of layers of elements to be generated in the gaps.
You can specify a value from 1 to 100 or accept the default. The default is 3.
The value of Number of cells across gap is an approximation:
If you specify 3 cells per gap on a narrow face, the final mesh may contain from 24 cells across the gap,
depending on the orientation in relation to the global X, Y, Z axis.
You must define minimum size such that it allows the specified Number of cells across gap to be
achieved. For example, if you have a gap of 1 mm, the minimum size is 0.5 mm, and the value of Number
of cells across gap is 3, only 2 cells can be generated in the gap.
3.4.3.4. Global Sizing for Volume Creation with the Fixed Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. The properties
described here provide more precise control over mesh size distribution during Volume Creation tasks
when Size function method is set to Fixed.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Minimum Size
Minimum size is the minimum size that the size function returns to the mesher. Some element sizes may
be smaller than this based on local feature sizes or other geometric anomalies. Specify a value greater than
0 or accept the default.
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Definition
Tessellation
refinement
55
Meshing
Option
Definition
Off - Uses the geometry tessellation, which may not accurately capture curved areas.
This is the fastest option because no tessellation processing occurs.
Edge
extraction
angle
Determines which CAD features are captured. Specify a value from 0 to 90 degrees or
accept the default. The smaller the angle, the higher the number of features that are
captured. If you specify a value greater than 90, an edge extraction angle of 90 is used.
Setting the value to 0 captures all features, while removing any value reinitializes the
default. The default is 40, such that if the shared faces on an edge form an angle smaller
than (180 - 40) degrees, the edge is selected for meshing.
Create
intersecting
edges for
overlapping
bodies
Determines whether the intersection between faces is computed in cases where two
parts/bodies overlap in space. When activated (set to Yes), computes additional feature
edges to be respected during the snapping that occurs within wrapping. Activating this
feature is very useful for avoiding zigzag boundaries at an intersection, because it ensures
that the "real" intersection lines are respected. However, this operation can be
computationally expensive, so you should deactivate it if you have many non-intersecting
bodies in the model.
56
Meshing
57
Meshing
Finer sizing is specified for the grid in the figure below. There are three elements across the thin section,
which in this case is preserved.
Figure 3.4.5.3. Finer Grid and Wrapping
After the shrink wrap method refines the background Cartesian grid based on the size function, it scales the
grid according to the value of the Feature resolution option, which is set to 0.75 by default. You can set
a smaller value for Feature resolution to adjust the background grid to preserve the thin sections. Use
caution though, as a smaller value will generate more elements and impact memory. For example, changing
the value from its default of 0.75 to 0.5 generates four times as many elements.
Repairing Leaks
When the mesh for a Volume Creation task is generated, holes or gaps in surfaces or between bodies may
result in leaks to the outside of a flow volume, such that the extracted flow volume would not be watertight.
When a leak is present, the Volume Creation task may fail to extract the flow volume region for the specified
Point inside flow region.
Leak tracing occurs from the bounding box to the Point inside flow region. When ANSYS AIM detects a
leak, it displays the leak path in the graphics view, an error message is issued, and the mesh is considered
invalid. The leak path should indicate the leaks location.
Note: If a message indicates there is a leak but the leak path does not appear in the graphics view, you
may need to click View task input to see the leak path.
You must repair the leak before you can generate the mesh successfully. Common causes of leaks and
recommended actions to repair them include:
A capping surface is missing. Use Objects > Construction Geometry > Add > Capping Surface to
add a capping face.
There is a gap between bodies or faces. Return the model to the ANSYS DesignModeler application or your
CAD package to close the gap (for example, by moving a body or adding a face).
Low facet quality introduces a higher probability for leaking. Increasing facet quality may help reduce
leakage.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
58
Meshing
Leak paths are displayed graphically as line bodies, as illustrated by the figure below.
59
Meshing
Deletion, suppression, or unsuppression of a body or part that is a member of a Selection Set
Updates to geometry from source
A warning message is issued if a geometry change results in invalid scope.
60
Meshing
The option that you choose for Collision avoidance is used only in areas of proximity. In areas of proximity,
if the option is set to Layer compression, layer compression is performed; if it is set to Stair stepping,
stair stepping is performed; if it is set to None, no collision checking is performed. However, in all other
problematic scenarios (for example, invalid normals, quality failure, bad surface mesh, and so on), local stair
stepping is performed regardless of which option you choose.
Note:
When Collision avoidance is set to Layer compression and local stair stepping occurs after compression,
poor quality pyramids may be introduced into the mesh. Because of this possibility, a warning message will
appear whenever stair stepping occurs after compression.
Choose one of the following:
None The None option does not check for layer collisions. Selecting this option speeds up inflation layer
computation time; however, it can result in an invalid mesh and mesh failures. For these reasons, this
option is not recommended.
Layer compression The Layer compression option compresses inflation layers in areas of collision.
In these areas, the defined heights and ratios are reduced to ensure the same number of layers throughout
the entire inflation region. Generally, this option is best for avoiding the creation of pyramids in the mesh.
Stair stepping This is the default. Rather than compressing the prism layers, with Stair stepping the
prism layers are stair stepped in the proximity region to avoid collision and to maintain the gap defined
by the Gap factor control. The Stair stepping approach to inflation growth locally reduces inflation layers
to avoid collisions, as well as bad quality elements in sharp or tight corners. The term stair stepping
refers to the steps created between one layer and the next. Using this approach, special logic is used to
fill the steps with pyramid and tetrahedron elements for prism steps, or prism, pyramid, and tetrahedron
elements for hex steps. This special logic helps the mesher obtain a high-quality transition to the tetrahedral
mesh.
The graphics below illustrate how Layer compression and Stair stepping differ.
61
Meshing
Figure 3.5.1.1. Layer Compression vs. Stair Stepping (View of Entire Mesh)
Figure 3.5.1.2. Layer Compression vs. Stair Stepping (View of Details in Mesh)
3.5.1.1. Optional Inflation Settings for Flow Volume Meshing
These settings are available if you turn Filtering off. For a Meshing task that is being used to mesh
the output of a Volume Creation task, these settings provide greater control over all inflation boundaries.
Fix First Layer
The Fix first layer control determines whether the heights or ratios of the first inflation layer will be modified
to avoid collision. Valid values are Yes and No. The default is No. This option will not allow the value that
is set for the First layer height control to be changed.
The Fix first layer control is applicable only when Collision avoidance is set to Layer compression.
62
Meshing
Gap Factor
The Gap factor control enables maintenance of the gap between intersecting prisms. Valid values are from
0 to 2. The default is 0.5. A value of 1 means a gap equal to the ideal tet cell height based on base face
size in proximity to each other is maintained.
The Gap factor control is applicable only when Collision avoidance is set to Layer compression or
Stair stepping.
Maximum Height Over Base
The Maximum height over base control sets the maximum allowable prism aspect ratio (that is, the ratio
of height over base of the base triangle). When the prism aspect ratio reaches this value, the height of the
prisms stops growing. That is, new prisms continue to form, but the heights of the prisms will not increase.
Valid values are from 0.1 to 5. The default is 1.
Growth Rate Type
The Growth rate type control determines the height of the inflation layers given the initial height and
height ratio. Choose one of the following:
Geometric This is the default. With this option, the prism height of a particular layer is defined by
(n-1)
h*r
, where h = initial height, r = height ratio, and n = layer number. The total height at layer n is:
n
h(1-r )/(1-r).
(n-1)p
Exponential With this option, the prism height of a particular layer is defined by h*e
initial height, p = exponent, and n = layer number.
, where h =
Linear With this option, the prism height of a particular layer is defined by h(1+(n-1)(r-1)), where h =
initial height, r = height ratio, and n = layer number. The total height at layer n is nh((n-1)(r-1)+2)/2.
Maximum Angle
The Maximum angle control determines prism layer growth around angles and when prisms will adhere
(project) to adjacent surfaces/walls. If the inflated mesh involves extruding from one surface and not its
neighbor, and the angle between the two surfaces is less than the specified value, the prisms (sides) will
adhere (project) to the adjacent wall. Valid values are from 90 to 180 (degrees). Typically, a value between
120 and 180 is desirable. The default is 140 degrees or 2.44 radian. Refer to the figures below for examples
of maximum angle.
In the figure below, the angle between the planes is 158.2 (21.8) degrees. Since the maximum angle is less
than the angle between the walls, the prism layers are capped with pyramids.
63
Meshing
64
Meshing
and elements. Valid values are Yes and No. The default is Yes. When this control is set to Yes, the Number
of iterations control appears.
Number of Iterations
The Number of iterations control determines the number of post-inflation smoothing iterations that will
be performed to improve the mesh. Valid values are from 1 to 20. The default is 5.
Number of iterations appears only when Use post smoothing is set to Yes.
65
Meshing
Use Predefined Settings
If you enable Use predefined settings, you can use the Mesh resolution slider to set the fineness of
the mesh for the model. You can set the slider toward lower resolution (Low) or higher resolution (High).
A higher resolution provides more accuracy but uses more elements, more time, and more system resources.
The Mesh resolution automatically sets all the Global Sizing controls except Size function method.
Therefore, when Use predefined settings is enabled, the Global Sizing controls become read-only and
cannot be set as parameters. If you subsequently disable Use predefined settings, the settings are initially
preserved but can be changed.
Engineering Intent
You must set the Engineering intent before you can generate the mesh for the Meshing task.
Note:
The Structural and Flow templates for simulation processes are populated with physics and solver settings
appropriate for the simulation type. If you start your Simulation Process by selecting one of these templates,
the Shape checking, Midside nodes, and Size function methods controls for your Meshing task are
set accordingly.
Choose one of the following:
Structural, thermal or electric conduction
Defaults are optimized for a structural, thermal, or electric conduction simulation. The default for Shape
checking is Standard mechanical, the default for Midside nodes is Kept, and the default for Size
function method is Adaptive.
Fluid flow or fluid-solid heat transfer
Defaults are optimized for a fluid flow or fluid-solid heat transfer simulation. The default for Shape checking
is Fluid flow, the default for Midside nodes is Dropped, and the default for Size function method
is Curvature.
Retry on Mesh Failures
If Use predefined settings is enabled, you can also enable Retry on mesh failures to instruct the mesher
to retry mesh generation automatically if there is a failure due to poor mesh quality. With each retry, the
mesher increases the fineness of the mesh in an effort to obtain a good mesh.
66
Meshing
3.6.4.1. Global Sizing for Part-based Meshing with the Curvature and Proximity Size Function
Method
The size function controls how the mesh size is distributed on a surface or within a volume. When you mesh
the output of an import or configuration task, the default Size function method is based on the value of
the Engineering intent control. These properties provide more precise control over mesh size distribution
during Meshing tasks when Size function method is set to Curvature and proximity.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Proximity Size Function Sources
Proximity size function sources determines whether regions of proximity between faces and/or edges
are considered when proximity size function calculations are performed. Choose one of the following:
Edges Considers edge-edge proximity. Face-face and face-edge proximity are not considered.
Faces This is the default. Considers face-face proximity between faces. Face-edge and edge-edge
proximity are not considered (that is, the trailing edge of fluid around wings will not be captured with this
setting).
Faces and edges Considers face-face and edge-edge proximity. Face-edge proximity is not considered.
Note:
In cases involving face-face proximity, the face normal orientation is ignored during the proximity calculation.
In cases involving edge-edge proximity, edges across voids in a model are not refined by part-based
meshing.
For many models, the Edges setting may be sufficient to resolve all proximity situations. For large complex
models, using either the Faces and edges or Faces setting may result in longer computation time.
The figures below illustrate the effect of each Proximity size function sources setting.
67
Meshing
68
Meshing
69
Meshing
70
Meshing
Maximum Face Size
Maximum face size is the maximum size that the size function will return to the surface mesher. Element
faces may be larger than this size based on hard edge sizes or floating point arithmetic. Specify a value
greater than 0 or accept the default.
Note:
If you parameterize the Maximum size or Maximum face size control and then change the Size function
method from Adaptive to any other method (or vice versa), the parameterization of one control will have
no effect on the other. However, if you have modified the default size value, your user-defined value will be
copied to the other control.
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Curvature Normal Angle
Curvature normal angle is the maximum allowable angle that one element edge is allowed to span. Enter
a positive value of up to 180 degrees or 3.14 radians, or accept the default. The default is 18 degrees or
0.3142 radians.
Number of Cells Across Gap
Number of cells across gap is the minimum number of layers of elements to be generated in the gaps.
You can specify a value from 1 to 100 or accept the default. The default is 3.
The value of Number of cells across gap is an approximation:
The value may not be satisfied exactly in every gap. When sweeping, interval assignment may change the
number of divisions (that is, elements or cells) in a gap.
You must define minimum size such that it allows the specified Number of cells across gap to be
achieved. For example, if you have a gap of 1 mm, the minimum size is 0.5 mm, and the value of Number
of cells across gap is 3, only 2 cells can be generated in the gap.
Note:
In cases involving patch conforming tetra meshing and swept meshing, the proximity size function drives
the surface mesh size distribution as follows. The value of Number of cells across gap is applicable to
both 3D proximity (that is, the number of 3D elements/cells between two faces in a body) and 2D proximity
(that is, the number of 2D elements/cells between two edges on a face), and the global Growth rate value
is taken into account in the gap automatically. However, the 3D proximity size function affects only the
surface mesh in the gap, and assumes the volume mesh will use the global settings. Hence, if you define
local mesh sizing on a body and specify local Element size or local Growth rate settings that differ
drastically from the global size function settings (or if inflation is specified in conjunction with patch conforming
tetra meshing), the final number of cells across a 3D gap may deviate from the specified Number of cells
across gap value.
71
Meshing
Smoothing
Smoothing attempts to improve element quality by moving locations of nodes with respect to surrounding
nodes and elements. The Low, Medium, or High option controls the number of smoothing iterations along
with the threshold metric where the mesher will start smoothing. The default is Medium.
3.6.4.2. Global Sizing for Part-based Meshing with the Curvature Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. When you mesh
the output of an import or configuration task, the default Size function method is based on the value of
the Engineering intent control. The properties described here provide more precise control over mesh size
distribution during Meshing tasks when Size function method is set to Curvature.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Minimum Size
Minimum size is the minimum size that the size function returns to the mesher. Some element sizes may
be smaller than this based on local feature sizes or other geometric anomalies. Specify a value greater than
0 or accept the default.
Maximum Face Size
Maximum face size is the maximum size that the size function will return to the surface mesher. Element
faces may be larger than this size based on hard edge sizes or floating point arithmetic. Specify a value
greater than 0 or accept the default.
Note:
If you parameterize the Maximum size or Maximum face size control and then change the Size function
method from Adaptive to any other method (or vice versa), the parameterization of one control will have
no effect on the other. However, if you have modified the default size value, your user-defined value will be
copied to the other control.
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Curvature Normal Angle
Curvature normal angle is the maximum allowable angle that one element edge is allowed to span. Enter
a positive value of up to 180 degrees or 3.14 radians, or accept the default. The default is 18 degrees or
0.3142 radians.
Smoothing
Smoothing attempts to improve element quality by moving locations of nodes with respect to surrounding
nodes and elements. The Low, Medium, or High option controls the number of smoothing iterations along
with the threshold metric where the mesher will start smoothing. The default is Medium.
72
Meshing
3.6.4.3. Global Sizing for Part-based Meshing with the Proximity Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. When you mesh
the output of an import or configuration task, the default Size function method is based on the value of
the Engineering intent control. The properties described here provide more precise control over mesh size
distribution during Meshing tasks when Size function method is set to Proximity.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Proximity Size Function Sources
Proximity size function sources determines whether regions of proximity between faces and/or edges
are considered when proximity size function calculations are performed. Choose one of the following:
Edges Considers edge-edge proximity. Face-face and face-edge proximity are not considered.
Faces This is the default. Considers face-face proximity between faces. Face-edge and edge-edge
proximity are not considered (that is, the trailing edge of fluid around wings will not be captured with this
setting).
Faces and edges Considers face-face and edge-edge proximity. Face-edge proximity is not considered.
Note:
In cases involving face-face proximity, the face normal orientation is ignored during the proximity calculation.
In cases involving edge-edge proximity, edges across voids in a model are not refined by part-based
meshing.
For many models, the Edges setting may be sufficient to resolve all proximity situations. For large complex
models, using either the Faces and edges or Faces setting may result in longer computation time.
The figures below illustrate the effect of each Proximity size function sources setting.
73
Meshing
74
Meshing
75
Meshing
76
Meshing
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Number of Cells Across Gap
Number of cells across gap is the minimum number of layers of elements to be generated in the gaps.
You can specify a value from 1 to 100 or accept the default. The default is 3.
The value of Number of cells across gap is an approximation:
The value may not be satisfied exactly in every gap. When sweeping, interval assignment may change the
number of divisions (that is, elements or cells) in a gap.
You must define minimum size such that it allows the specified Number of cells across gap to be
achieved. For example, if you have a gap of 1 mm, the minimum size is 0.5 mm, and the value of Number
of cells across gap is 3, only 2 cells can be generated in the gap.
Note:
In cases involving patch conforming tetra meshing and swept meshing, the proximity size function drives
the surface mesh size distribution as follows. The value of Number of cells across gap is applicable to
both 3D proximity (that is, the number of 3D elements/cells between two faces in a body) and 2D proximity
(that is, the number of 2D elements/cells between two edges on a face), and the global Growth rate value
is taken into account in the gap automatically. However, the 3D proximity size function affects only the
surface mesh in the gap, and assumes the volume mesh will use the global settings. Hence, if you define
local mesh sizing on a body and specify local Element size or local Growth rate settings that differ
drastically from the global size function settings (or if inflation is specified in conjunction with patch conforming
tetra meshing), the final number of cells across a 3D gap may deviate from the specified Number of cells
across gap value.
Smoothing
Smoothing attempts to improve element quality by moving locations of nodes with respect to surrounding
nodes and elements. The Low, Medium, or High option controls the number of smoothing iterations along
with the threshold metric where the mesher will start smoothing. The default is Medium.
3.6.4.4. Global Sizing for Part-based Meshing with the Fixed Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. When you mesh
the output of an import or configuration task, the default Size function method is based on the value of
the Engineering intent control. The properties described here provide more precise control over mesh size
distribution during Meshing tasks when Size function method is set to Fixed.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Minimum Size
Minimum size is the minimum size that the size function returns to the mesher. Some element sizes may
be smaller than this based on local feature sizes or other geometric anomalies. Specify a value greater than
0 or accept the default.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
77
Meshing
Maximum Face Size
Maximum face size is the maximum size that the size function will return to the surface mesher. Element
faces may be larger than this size based on hard edge sizes or floating point arithmetic. Specify a value
greater than 0 or accept the default.
Note:
If you parameterize the Maximum size or Maximum face size control and then change the Size function
method from Adaptive to any other method (or vice versa), the parameterization of one control will have
no effect on the other. However, if you have modified the default size value, your user-defined value will be
copied to the other control.
Maximum Size
Maximum size is the maximum size that the size function returns to the mesher. Specify a value greater
than 0 or accept the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.2.
Smoothing
Smoothing attempts to improve element quality by moving locations of nodes with respect to surrounding
nodes and elements. The Low, Medium, or High option controls the number of smoothing iterations along
with the threshold metric where the mesher will start smoothing. The default is Medium.
3.6.4.5. Global Sizing for Part-based Meshing with the Adaptive Size Function Method
The size function controls how the mesh size is distributed on a surface or within a volume. When you mesh
the output of an import or configuration task, the default Size function method is based on the value of
the Engineering intent control. The properties described here provide more precise control over mesh size
distribution during Meshing tasks when Size function method is set to Adaptive.
For information about overriding size function sizes, refer to Setting Mesh Sizes to Optimize Performance on
page 32.
Element Seed Size
Element seed size determines the starting point of the mesh size. Specify a value greater than 0 or accept
the default.
Growth Rate
Growth rate represents the increase in element edge length with each succeeding layer of elements. For
example, a growth rate of 1.2 results in a 20% increase in element edge length with each succeeding layer
of elements. Specify a value from 1.0 to 5.0 or accept the default. The default is 1.5.
Adaptive Resolution
The Adaptive resolution is a scaling value for various functions defined in the adaptive size function
method. Specify a value from 0.0 to 2.0 or accept the default. The default is 1.0.
78
Meshing
79
Meshing
Figure 3.6.5.1. Layer Compression vs. Stair Stepping (View of Entire Mesh)
80
Meshing
Figure 3.6.5.2. Layer Compression vs. Stair Stepping (View of Details in Mesh)
3.6.5.1. Optional Inflation Settings for Part-based Meshing
These settings are available if you turn Filtering off. For a Meshing task that is being used to mesh
the output of an import or configuration task, these settings provide greater control over all inflation
boundaries.
Fix First Layer
The Fix first layer control determines whether the heights or ratios of the first inflation layer will be modified
to avoid collision. Valid values are Yes and No. The default is No. This option will not allow the value that
is set for the First layer height control to be changed.
The Fix first layer control is applicable only when Collision avoidance is set to Layer compression.
81
Meshing
Gap Factor
The Gap factor control enables maintenance of the gap between intersecting prisms. Valid values are from
0 to 2. The default is 0.5. A value of 1 means a gap equal to the ideal tet cell height based on base face
size in proximity to each other is maintained.
The Gap factor control is applicable only when Collision avoidance is set to Layer compression or
Stair stepping.
Maximum Height Over Base
The Maximum height over base control sets the maximum allowable prism aspect ratio (that is, the ratio
of height over base of the base triangle). When the prism aspect ratio reaches this value, the height of the
prisms stops growing. That is, new prisms continue to form, but the heights of the prisms will not increase.
Valid values are from 0.1 to 5. The default is 1.
Growth Rate Type
The Growth rate type control determines the height of the inflation layers given the initial height and
height ratio. Choose one of the following:
Geometric This is the default. With this option, the prism height of a particular layer is defined by
(n-1)
h*r
, where h = initial height, r = height ratio, and n = layer number. The total height at layer n is:
n
h(1-r )/(1-r).
(n-1)p
Exponential With this option, the prism height of a particular layer is defined by h*e
initial height, p = exponent, and n = layer number.
, where h =
Linear With this option, the prism height of a particular layer is defined by h(1+(n-1)(r-1)), where h =
initial height, r = height ratio, and n = layer number. The total height at layer n is nh((n-1)(r-1)+2)/2.
Maximum Angle
The Maximum angle control determines prism layer growth around angles and when prisms will adhere
(project) to adjacent surfaces/walls. If the inflated mesh involves extruding from one surface and not its
neighbor, and the angle between the two surfaces is less than the specified value, the prisms (sides) will
adhere (project) to the adjacent wall. Valid values are from 90 to 180 (degrees). Typically, a value between
120 and 180 is desirable. The default is 140 degrees or 2.44 radian. Refer to the figures below for examples
of maximum angle.
In the figure below, the angle between the planes is 158.2 (21.8) degrees. Since the maximum angle is less
than the angle between the walls, the prism layers are capped with pyramids.
82
Meshing
83
Meshing
and elements. Valid values are Yes and No. The default is Yes. When this control is set to Yes, the Number
of iterations control appears.
Number of Iterations
The Number of iterations control determines the number of post-inflation smoothing iterations that will
be performed to improve the mesh. Valid values are from 1 to 20. The default is 5.
Number of iterations appears only when Use post smoothing is set to Yes.
Standard mechanical
Aspect Ratio
Element Volume
<0
<0
< 10 ; a warning is
delivered
Face Angle
Face Warping
-32
84
Meshing
Criterion
Standard mechanical
Jacobian Ratio
> 40 for 3D and > 10 for > 40 for both 3D and 2D; Quality metric not used
2D; computed at element computed at element
integration points
nodal points
Orthogonal Quality
< 10 for
three-dimensional
elements
Midside Nodes
The global Midside nodes control determines whether meshes are created with midside nodes (quadratic
elements) or without midside nodes (linear elements). Reducing the number of midside nodes reduces the
number of degrees of freedom. Choose one of the following:
Use engineering intent This is the default. The mesher determines whether to create quadratic or
linear elements based on the value of the Engineering intent control.
Dropped No elements have midside nodes.
Kept All elements have midside nodes.
The figures below illustrate the difference between the Dropped and Kept options. These examples are
for a solid body. The heavy vertical line in each figure represents the body boundary.
85
Meshing
Patch Conforming Triangular Surface Mesher
The Patch conforming triangular surface mesher control determines which triangle surface meshing
strategy is used by patch conforming meshers. In general, the advancing front algorithm provides a smoother
size variation and better results for skewness and orthogonal quality. Choose one of the following:
Automatically determined This is the default. The mesher determines whether to use the Delaunay
or advancing front algorithm based on a variety of factors such as surface type, face topology, and
defeatured boundaries.
Advancing front The mesher uses advancing front as its primary algorithm, but switches to the Delaunay
algorithm if problems occur.
Note: If the mesher switches to Delaunay, the edge mesh from the advancing front algorithm may still
be used and in some rare cases may lead to meshing failures. Changing your setting to Automatically
determined may result in a successful mesh because the initial edge mesh may be better.
The figures below illustrate the difference between the Automatically determined and Advancing front
options.
86
Meshing
87
Meshing
When specifying a value for Defeaturing tolerance, do not specify a value greater than the value of
Minimum size.
If you add a hard size that is smaller than the Minimum size, you must further reduce the Defeaturing
tolerance with respect to the specified hard size (essentially, the hard size becomes the new Minimum
size).
Use All Processors
When set to Yes (the default), all available processors will be used for parallel part meshing. Using multiple
processors enhances meshing performance. When set to No, the Processor limit option appears, where
you can specify a number of processors to use. The Use all processors option is applicable to shared
memory parallel (SMP) meshing (not distributed memory parallel). For related information, refer to Parallel
Part Meshing Best Practices on page 66.
Processor Limit
Available only when Use all processors is set to No. Specify a value from 1 to 256 (the default).
88
Meshing
available for selection is filtered appropriately (that is, you can only scope a body sizing control to bodies,
you can only scope a face sizing control to faces, and so on).
Example:
The following figures illustrate a sizing control applied to a face. For the first figure, the element size
was set to 0.5 on one face; for the second figure, the default element size was retained.
89
Meshing
Mesh > Objects > Size Controls > Add > Body Sizing
To define mesh sizing on a body, you must create a body sizing control by performing these steps. For
descriptions of the options mentioned below, refer to Local Mesh Sizing Control Options on page 91.
Note: When you define an Extracted Volume interactively, the Body Sizing option is unavailable
from the Volume Creation panel. In addition, any Body Sizing control that is previously defined will
have no effect on the mesh generated for a volume extraction. For example, if you define a Body Sizing
control for a Geometry Simplification, you cannot reuse that control for an Extracted Volume; the
control will have no effect on the Extracted Volume mesh. Similarly, a Body Sizing control in a journal
file will have no effect on a volume extraction.
1. Select the Location (bodies) in your geometry for which you want to define the body sizing.
2. Specify the Element size.
3. Additionally, in the Body Sizing panel, you can make modifications to the following settings:
a)
Choose the
Behavior.
b)
Specify the
Curvature normal angle. Curvature normal angle appears only if Behavior
is set to Soft and Size function method is set to either Curvature and proximity or Curvature.
c)
Specify the
Growth rate. Growth rate appears only if Behavior is set to Soft and Size
function method is not Adaptive.
d)
Specify the
Local minimum size. Local minimum size appears only if Behavior is set
to Soft and Size function method is not Adaptive.
Behavior.
b)
Specify the
Curvature normal angle. Curvature normal angle appears only if Behavior
is set to Soft and Size function method is set to either Curvature and proximity or Curvature.
c)
Specify the
Growth rate. Growth rate appears only if Behavior is set to Soft and Size
function method is not Adaptive.
90
Meshing
d)
Specify the
Local minimum size. Local minimum size appears only if Behavior is set
to Soft and Size function method is not Adaptive.
Select the Location (edges) in your geometry for which you want to define the edge sizing.
Choose the Edge sizing method (Element size or Edge divisions).
Depending on the Edge sizing method , specify the Element size or the number of Edge divisions.
Additionally, in the Edge Sizing panel, you can make modifications to the following settings:
a)
Choose the
Behavior.
b)
Specify the
Curvature normal angle. Curvature normal angle appears only if Behavior
is set to Soft and Size function method is set to either Curvature and proximity or Curvature.
c)
Specify the
Growth rate. Growth rate appears only if Behavior is set to Soft and Size
function method is not Adaptive.
d)
Specify the
Local minimum size. Local minimum size appears only if Behavior is set
to Soft and Size function method is not Adaptive.
5. Additionally, for part-based meshing, continue with the remaining steps. Otherwise, you are done with
the Edge Sizing panel:
a)
Bias option is always set to Smooth transition.
b)
Choose a
Bias type.
c)
If you set Bias type to anything other than Constant, specify a
accept the default of 1.2.
Location
Body
Face
91
Meshing
Option
Edge sizing
method
Edge
Edge
divisions
Edge
Specify the number of divisions that should occur along the edge.
Body
Face
Edge
Choose Soft (default) or Hard. The Hard setting places more constraints
on the mesher.
Body
Face
Edge
This is the maximum allowable angle that one element edge is allowed to
span. Enter a positive value of up to 180 degrees or 3.14 radians to override
the global setting. If you enter 0, the global setting is used. Appears only
if Behavior is Soft and Size function method is set to either Curvature
and proximity or Curvature.
Body
Face
Edge
This represents the increase in element edge length with each succeeding
layer of elements. For example, a growth rate of 1.2 results in a 20%
increase in element edge length with each succeeding layer of elements.
Enter a value from 1 to 5 or accept the default. If you enter 0, the global
setting is used. This local Growth rate is similar to the global Growth
rate. However, the value you specify for Growth rate on a local sizing
control must always be smaller than or equal to the specified global Growth
rate. Specifying a growth rate for a face or body affects the growth on the
face or on the boundary of the body, and its effect continues outside of
the selected entity as well. Appears only if Behavior is Soft and Size
function method is not Adaptive.
Body
Face
Edge
Use Local minimum size to override the global Minimum size on local
entities. If you enter 0, the mesher uses either the global Minimum size
or the local Element size, whichever is smaller. This setting is useful where
you want a different local mesh control than the global setting. For example,
you can set a larger global minimum/maximum size, then use a smaller
Local minimum size to obtain a finer mesh on some of the smaller parts.
Appears only if Behavior is Soft and Size function method is not
Adaptive. Hard sizes (Behavior = Hard) essentially mean an edge has
a fixed size function. Thus, in cases where an edge is hard, the Local
minimum size is hidden because its use does not make sense.
(Optional)
Behavior
(Optional)
Curvature
normal angle
(Optional)
Growth rate
(Optional)
Local
minimum
size
Refer to Local Element Size and the Size Function on page 93.
Note:
Local minimum size may not be respected in swept meshes due to the
interval assignment used to generate structured meshes.
92
Meshing
Option
Bias option is always set to Smooth transition. When Bias type is set
to the default setting of Constant, the value of Smooth transition is
1.2. If the Bias type is anything other than Constant, the prescribed
growth rate = Bias growth rate^(1/n-1)) where n is the number of Edge
divisions.
Edge
Use Bias type to adjust the spacing ratio of nodes on an edge. Bias type
is useful for any engineering problem where nodes need to be clustered
on an edge or group of edges, or if there is a need to bias the mapped
mesh of a face towards a specific direction with respect to the edges of
the face. Choose Constant (the default), Right, Left, Center In, or
Center Out.
Edge
The ratio of the largest edge to the smallest edge. If you set Bias type to
anything other than Constant, specify a Bias growth rate or accept the
default of 1.2.
(Optional)
Bias option
(Optional)
Bias type
(Optional)
Bias growth
rate
93
Meshing
If a hard size is specified on an entity, the Growth rate is not respected; the mesher will try to maintain
a uniform size on the entity. If two entities with hard sizes of different values are adjacent to one another,
no growth occurs and there will be an abrupt size change between them. However, growth will occur on
all entities without hard size constraints that are adjacent to a hard size entity, even if the hard size applied
is smaller than Minimum size/Proximity minimum size.
Avoid applying local hard size controls on faces and bodies if the specified local size falls between the
values of the size function's minimum size (Minimum size) and maximum size (Maximum face size or
Maximum size, as applicable) options. In such cases use soft size controls instead, and the soft controls
will act like a maximum size.
If an entity has a local soft size defined on it, the local control is used in place of the global Maximum
size. However, the global Minimum size is still used. If instead the entity has a local hard size defined
on it, the global Minimum size is ignored and the whole entity would be meshed at the size of the local
control.
The smallest size that the last size control specifies for the entity overrides all other size controls. In this
way, the smallest size will be the maximum size on the entity. This is true unless a hard size control is
used. When size controls are applied to entities of differing dimensions (for example, a face and an edge),
a hard size control will override all others and the sizing will propagate from the hard size outward.
Adaptive Size Function Method
Choosing Hard on a face or body means curvature pre-refinement is not performed on the edges of the
face or body, but an edge can be split by the mesher.
Additional Usage Notes
If multiple sizing controls are scoped to the same entity and the specified element size is the same for all
of them, the last sizing control that was created is respected.
For a slender body, specifying hard local mesh sizing on the body might result in a mesh containing elements
that are much larger than the specified size. To work around this, either use soft local mesh sizing on the
body instead of hard sizing, or apply hard local mesh sizing to the faces of the body.
94
Meshing
To extract a volume for a Volume Creation task, you must define the volume by performing these steps.
For descriptions of the options mentioned below, refer to Extracted Volume Properties on page 95. Also
see Extracted Volume Workflow on page 26.
1. For Bodies bounding flow region, select the bodies that bound the volume to be extracted.
2. For Point inside flow region, select or create a point to identify the wetted region that will make
up the flow volume.
3.
For
Merge bodies.
3.
For
Definition
Bodies
Scope the Bodies bounding flow region to the solid bodies that bound the volume to
bounding flow be extracted.
region
Note:
The capping faces that are associated with the selected bodies are collected automatically
for meshing. You do not need to select them.
There are several scenarios involving Extracted Volume in which you can scope the
same topological entity to multiple volume definitions, but a software check may determine
the setup is invalid and require you to make adjustments. These scenarios include:
You may scope an internal volume definition (Extracted Volume) and an external
volume definition (Geometry Simplification) to the same topological entity within a
single Volume Creation task.
You may scope two volume definitions that are being used for Extracted Volume to
the same topological entity within a single Volume Creation task as long as the volume
definitions specify different points. Do not define multiple volumes that are scoped to
the same topological entity and the same point.
You may scope two volume definitions (regardless of whether they are being used for
Extracted Volume or Geometry Simplification) to the same topological entity in
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
95
Meshing
Option
Definition
different (that is, parallel) Volume Creation tasks that are connected to the same
import task.
When you generate the mesh for the Volume Creation task in these cases, the software
checks your setup to determine whether it is valid and reports any issues it finds.
Point inside
flow region
Select a Point inside flow region to identify the wetted region that will make up the
flow volume.
Specify the sampling size to be used by the wrapper. A value greater than 1 indicates
(Optional) that the sampling size is coarser while a value less than 1 indicates that the sampling size
is finer than the sizes for remeshing. All Cartesian meshes are scaled by this factor. For
Feature
example, if you set Feature resolution to 0.5, this factor reduces the mesh sizes
resolution
throughout the domain by half. If you set Feature resolution to 2.0, the mesh sizes
are doubled, which is useful if you want the mesher to ignore some features. Specify a
value from 0.5 to 2.0; the default is 0.75.
Definition
Bodies to
simplify
For Bodies to simplify, select the solid bodies that you want to unite.
There are several scenarios involving Geometry Simplification in which you can scope
the same topological entity to multiple volume definitions, but a software check may
determine the setup is invalid and require you to make adjustments. These scenarios
include:
You may scope an internal volume definition (Extracted Volume) and an external
volume definition (Geometry Simplification) to the same topological entity within a
single Volume Creation task.
You may scope two volume definitions (regardless of whether they are being used for
Extracted Volume or Geometry Simplification) to the same topological entity in
different (that is, parallel) Volume Creation tasks that are connected to the same
import task.
When you generate the mesh for the Volume Creation task in these cases, the software
checks your setup to determine whether it is valid and reports any issues it finds.
If more than one body is selected for Bodies to simplify and the selected bodies are in
(Optional) different parts, choose one of these options:
Merge bodies To simplify the geometry by unifying multiple solid surfaces into one and ignoring any
interior voids and faces, enable Merge bodies.
To create a conformal, well-connected surface mesh for each of the selected bodies,
disable Merge bodies.
If the bodies selected for Bodies to simplify are members of the same multibody part,
all selected bodies are merged regardless of the Merge bodies setting.
96
Meshing
Option
Definition
Specify the sampling size to be used by the wrapper. A value greater than 1 indicates
(Optional) that the sampling size is coarser while a value less than 1 indicates that the sampling size
is finer than the sizes for remeshing. All Cartesian meshes are scaled by this factor. For
Feature
example, if you set Feature resolution to 0.5, this factor reduces the mesh sizes
resolution
throughout the domain by half. If you set Feature resolution to 2.0, the mesh sizes
are doubled, which is useful if you want the mesher to ignore some features. Specify a
value from 0.5 to 2.0; the default is 0.75.
97
Meshing
6. Specify the Transition ratio.
The Transition ratio control is applicable only when Inflation option is Smooth transition.
7. Specify the Number of layers.
The Number of layers control is applicable only when Inflation option is Total thickness.
8. Specify the Growth rate.
The Growth rate control is applicable only when Inflation option is Smooth transition, First
layer thickness, Total thickness, or First aspect ratio.
9. Specify the Aspect ratio (base/height).
The Aspect ratio (base/height) control is applicable only when Inflation option is Last aspect
ratio.
10. Specify the Maximum thickness.
The Maximum thickness control is applicable only when Inflation option is Total thickness.
For detailed descriptions of the local inflation controls, refer to Local Inflation Control Options on page
98.
If a selected face is not shared, the disambiguate face sides feature is unavailable and inflation layers are
generated in one direction only.
Location and Inflation Layer Growth in Flow Volume Meshing
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
98
Meshing
The figure below shows a model of fluid flow in a pipe. Geometry simplification was used to create a volume
for the solid pipe, and volume extraction was used to create a volume for the fluid flowing inside it. In each
volume, there is a distinct face in the overlapping region; it is not a shared face. If you select FACE14 as the
Location, inflation layers are generated into the simplified volume only. If you select FACE22, inflation layers
are generated into the extracted volume only. To generate inflation layers in both directions, define a Selection
Set on the face during the Volume Creation task, and select that Selection Set as the Location of the
inflation control in the Meshing task.
Inflation Option
The Inflation option determines the heights of the inflation layers. Choose one of the following:
Smooth Transition This is the default. The Smooth transition option uses the local tetrahedral
element size to compute each local initial height and total height so that the rate of volume change is
smooth. Each triangle that is being inflated will have an initial height that is computed with respect to its
area, averaged at the nodes. This means that for a uniform mesh, the initial heights will be roughly the
same, while for a varying mesh, the initial heights will vary.
The computations used for prism growth are as follows:
The following value is computed at each node on the prism base:
Height of last prism (H) = Transition ratio * average_edge_length
The height of the first layer (h) is computed using the following formula, where g = Growth rate and
n = Number of layers:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
99
Meshing
H = h * (g ^ (n-1))
Increasing the value of Growth rate reduces the total height of the inflation layer. The total height
approaches an asymptotic value with respect to the number of inflation layers.
For details about the additional controls that appear when Smooth transition is selected, refer to the
descriptions of the Transition ratio, Maximum layers, and Growth rate controls.
Total Thickness The Total thickness option creates constant inflation layers using the values of the
Number of layers and Growth rate controls to obtain a total thickness as defined by the value of the
Maximum thickness control. Unlike inflation with the Smooth transition option, with the Total
thickness option the thickness of the first inflation layer and each following layer is constant.
For details about the additional controls that appear when Total thickness is selected, refer to the
descriptions of the Number of layers, Growth rate, and Maximum thickness controls.
First Layer Thickness The First layer thickness option creates constant inflation layers using the
values of the First layer height, Maximum layers, and Growth rate controls to generate the inflation
mesh. Unlike inflation with the Smooth transition option, with the First layer thickness option the
thickness of the first inflation layer and each following layer is constant.
For details about the additional controls that appear when First layer thickness is selected, refer to the
descriptions of the First layer height, Maximum layers, and Growth rate controls.
First Aspect Ratio The First aspect ratio option creates inflation layers using the values of the First
aspect ratio, Maximum layers, and Growth rate controls to generate the inflation mesh.
For details about the additional controls that appear when First aspect ratio is selected, refer to the
descriptions of the First aspect ratio, Maximum layers, and Growth rate controls.
Last Aspect Ratio The Last aspect ratio option creates inflation layers using the values of the First
layer height, Maximum layers, and Aspect ratio (base/height) controls to generate the inflation
mesh.
The figure below illustrates this option. Using the First layer height control, you can specify the height
of the first inflation layer. Local base mesh size is used to find the offset height for the last layer. For
example, if you specify 20 for Aspect ratio (base/height), the offset height of the last layer will be 0.2
times the local base mesh size. Local growth rate is used to calculate the other intermediate offset heights
exponentially.
For details about the additional controls that appear when Last aspect ratio is selected, refer to the
descriptions of the First layer height, Maximum layers, and Aspect ratio (base/height) controls.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
100
Meshing
First Layer Height
The First layer height control determines the height of the first inflation layer. This first inflation layer
consists of a single layer of prism elements that is formed against the faces of the inflation boundary. You
must enter a value for this control, and it must be greater than 0.
The First layer height control is applicable only when Inflation option is First layer thickness or Last
aspect ratio.
First Aspect Ratio
By choosing the First aspect ratio option for the Inflation option control, you can control the heights of
the inflation layers by defining the aspect ratio of the inflations that are extruded from the inflation base.
The aspect ratio is defined as the ratio of the local inflation base size to the inflation layer height. Use the
First aspect ratio control to specify the first aspect ratio to be used. Enter a value greater than 0. The
default is 5.
The First aspect ratio control is applicable only when Inflation option is First aspect ratio.
Transition Ratio
In basic terms, the Transition ratio control determines the rate at which adjacent elements grow. It is the
volume-based size change between the last layer of elements in the inflation layer and the first elements in
the tetrahedron region. The value of Transition ratio is an ideal value and should produce accurate size
change for inflation from a planar boundary. However, be aware that areas of strong curvature will introduce
an inaccuracy into the size change. If a proximity-based size function is being used, elements in proximity
and elements with prism aspect ratios meeting the value defined by the Maximum height over base
control will ignore this transition ratio.
The Transition ratio control is applicable only when Inflation option is Smooth transition. Valid values
for Transition ratio are from 0 to 1. The default is 0.272.
Number of Layers
The Number of layers control determines the actual number of inflation layers in the mesh, except in
places where layers are removed locally for reasons of improving mesh quality (for example, in areas where
inflation layers would otherwise collide with each other). Valid values are from 1 to 1000. The default is 3.
The Number of layers control is applicable only when Inflation option is Total thickness.
Maximum Layers
The Maximum layers control determines the maximum number of inflation layers to be created in the
mesh. Enter a positive integer. The default is 3.
The Maximum layers control is applicable only when Inflation option is Smooth transition, First layer
thickness, First aspect ratio, or Last aspect ratio.
Growth Rate
The Growth rate control determines the relative thickness of adjacent inflation layers. As you move away
from the face to which the inflation control is applied, each successive layer is approximately one growth
rate factor thicker than the previous one. Valid values are from 1.0 to 5.0. The default is 1.2.
The Growth rate control is applicable only when Inflation option is Smooth transition, First layer
thickness, Total thickness, or First aspect ratio.
101
Meshing
Aspect Ratio (Base/Height)
By choosing the Last aspect ratio option for the Inflation option control, you can control the heights of
the inflation layers by defining the aspect ratio of the inflations that are extruded from the inflation base.
The aspect ratio is defined as the ratio of the local inflation base size to the inflation layer height. Use the
Aspect ratio (base/height) control to specify the aspect ratio to be used. Enter a value between 0.5 and
20. The default is 3.
The Aspect ratio (base/height) control is applicable only when Inflation option is Last aspect ratio.
Maximum Thickness
The Maximum thickness control determines the desired thickness of the inflation layer. You must enter
a value for this control, and it must be greater than 0.
The Maximum thickness control is applicable only when Inflation option is Total thickness.
102
Meshing
Changes to protected topologies in any next connected task do not affect the mesh state of the task. As
long as the mesh is up-to-date, the Topology Protections list is not updated. Once the mesh state
becomes underdefined, the list is updated automatically and the task requires a remesh.
If Source face(s) is left blank, ANSYS AIM determines the source faces automatically.
103
Meshing
If the model contains multiple bodies and mesh generation fails on some bodies, the mesher returns as
much mesh as it can. In such cases, the graphics view shows the mesh for the bodies where mesh
generation was successful but shows no mesh for any failed bodies.
Description
Considerations
Automatic
Tetrahedrons
Hexahedrons
Note:
The mesh includes prism elements if inflation layers are generated.
Midside Nodes
The Element Shape feature includes support for mixed order meshing. When you specify an element shape
on a body in a multibody part, you can set the Midside nodes option to Kept for some bodies (resulting
in higher order elements) and to Dropped for other bodies (resulting in lower order elements).
The order in which bodies are meshed is determined internally. Midside node handling on the body that is
meshed first affects elements at the interface between bodies. This means that if you specify Kept on one
body and Dropped on the adjacent body and the higher order body is meshed first, one layer of higher
order elements is generated at the interface, with mixed order elements transitioning away from the interface
on the second body.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
104
Meshing
Choose one of the following:
Use engineering intent - This is the default. The mesher determines whether to create quadratic or
linear elements for the body based on the value of the Engineering intent control.
Dropped - No elements in the body have midside nodes. Overrides the setting of the Engineering intent
control.
Kept - All elements in the body have midside nodes. Overrides the setting of the Engineering intent
control.
3.11.2.1. Optional Element Shape Settings
These settings are available for specifying Element Shape on a body if you turn Filtering off.
Source Face(s)
If you set Shape to Hexahedrons and you want to scope Source face(s) manually, select the source
faces in the graphics view.
Note:
If Source face(s) is left blank, ANSYS AIM determines the source faces automatically.
Element quality
Aspect ratio calculation for triangles
Aspect ratio calculation for quadrilaterals
Jacobian ratio
Warping factor
Parallel deviation
Maximum corner angle
Skewness
Orthogonal quality
105
Meshing
1. If your Meshing task was used to mesh the output of an import or configuration task, you may scope
the Location on the Mesh Diagnostics panel to an individual body or part whose diagnostics you
want to view. If you are working in a Volume Creation task or a Meshing task that was used to
mesh the output of a Volume Creation task, you cannot scope a Location.
2. On the Mesh Diagnostics panel, choose the metric of interest from the Mesh metric drop-down
menu.
The available metrics depend on which type of task you are working in.
The minimum, maximum, average, and standard deviation values are reported for the selected metric
type. If you select a different metric type (or change the scope for a Meshing task), the data is
updated automatically.
Note: If Shape checking is set to Aggressive mechanical and the Jacobian ratio is less than zero,
an error occurs.
For three-dimensional brick elements:
(3.12.2.2)
The following table lists the value of C for each type of element:
Element
Value of C
Triangle
6.92820323
Quadrangle
4.0
Tetrahedron
124.70765802
Hexagon
41.56921938
Wedge
62.35382905
Pyramid
96
106
Meshing
107
Meshing
3. Rectangles are constructed centered about each of the two lines, with edges passing through the element
edge midpoints. The aspect ratio of the quadrilateral is the ratio of a longer side to a shorter side of
whichever rectangle is most stretched.
The best possible aspect ratio, for a square, is 1. A quadrilateral having an aspect ratio of 20 is shown in the
figure below.
RJ Sampling Locations
10-node tetrahedra
corner nodes
8-node quadrilaterals
20-node bricks
corner nodes
2. The Jacobian ratio of the element is the ratio of the maximum to the minimum sampled value of RJ. If
the maximum and minimum have opposite signs, the Jacobian ratio is arbitrarily assigned to be -100 (and
the element is clearly unacceptable).
3. If the element is a midside-node tetrahedron, an additional RJ is computed for a fictitious straight-sided
tetrahedron connected to the four corner nodes. If that RJ differs in sign from any nodal RJ (an extremely
rare occurrence), the Jacobian ratio is arbitrarily assigned to be -100.
4. If the element is a line element having a midside node, the Jacobian matrix is not square (because the
mapping is from one natural coordinate to 2D or 3D space) and has no determinant. For this case, a
vector calculation is used to compute a number which behaves like a Jacobian ratio. This calculation has
the effect of limiting the arc spanned by a single element to about 106.
108
Meshing
A triangle or tetrahedron has a Jacobian ratio of 1 if each midside node, if any, is positioned at the average
of the corresponding corner node locations. This is true no matter how otherwise distorted the element may
be. Hence, this calculation is skipped entirely for such elements. Moving a midside node away from the edge
midpoint position will increase the Jacobian ratio. Eventually, even very slight further movement will break
the element. Refer to the figure below. We describe this as breaking the element because it suddenly
changes from acceptable to unacceptable (that is, broken).
109
Meshing
diagnostics in ANSYS AIM and the warping factor value reported by the FE Modeler Mesh Metrics tool will
differ.
1. An average element normal is computed as the vector (cross) product of the two diagonals.
110
Meshing
111
Meshing
product of the two vertical vectors is 0.342, and acos (0.342) = 70. Therefore, this elements parallel
deviation is 70.)
3. The best possible deviation, for a flat rectangle, is 0. The figure below shows quadrilaterals having
deviations of 0, 70, 100, 150, and 170.
100
70
170
150
3.12.9. Skewness
Skewness is one of the primary quality measures for a mesh. Skewness determines how close to ideal (that
is, equilateral or equiangular) a face or cell is.
112
Meshing
Cell Quality
degenerate
0.9 < 1
bad (sliver)
0.75 0.9
poor
0.5 0.75
fair
0.25 0.5
good
> 0 0.25
excellent
equilateral
According to the definition of skewness, a value of 0 indicates an equilateral cell (best) and a value of 1
indicates a completely degenerate cell (worst). Degenerate cells (slivers) are characterized by nodes that
are nearly coplanar (collinear in 2D).
Highly skewed faces and cells are unacceptable because the equations being solved assume that the cells
are relatively equilateral/equiangular.
Two methods for measuring skewness are:
Based on the equilateral volume (applies only to triangles and tetrahedra).
Based on the deviation from a normalized equilateral angle. This method applies to all cell and face shapes,
for example, pyramids and prisms.
Equilateral-Volume-Based Skewness
In the equilateral volume deviation method, skewness is defined as
113
Meshing
where, the optimal cell size is the size of an equilateral cell with the same circumradius.
Quality meshes have a skewness value of approximately 0.1 for 2D and 0.4 for 3D. The table above provides
a general guide to the relationship between cell skewness and quality.
In 2D, all cells should be good or better. The presence of cells that are fair or worse indicates poor boundary
node placement. You should try to improve your boundary mesh as much as possible, because the quality
of the overall mesh can be no better than that of the boundary mesh.
In 3D, most cells should be good or better, but a small percentage will generally be in the fair range and
there are usually even a few poor cells.
Note:
The Equilateral-Volume-Based Skewness quality metric applies to any mesh element that includes a triangular
face. For triangular and tetrahedral elements, all faces of which are strictly triangular, the
Equilateral-Volume-Based Skewness metric applies directly. For wedge or pyramidal elements, which include
combinations of triangular and quadrilateral faces, the software computes both Equilateral-Volume-Based
Skewness metrics (for the triangular faces) and Normalized Equiangular Skewness metrics (for the quadrilateral
faces and 3D element, itself) and reports the maximum computed metric as the element skewness. As a
result, Equilateral-Volume-Based Skewness metrics reported for meshes that contain wedge and/or pyramidal
elements may include skewness values attributable to Normalized Equiangular Skewness computations.
Normalized Equiangular Skewness
In the normalized angle deviation method, skewness is defined (in general) as
where
max = largest angle in the face or cell
min = smallest angle in the face or cell
e = angle for an equiangular face/cell (for example, 60 for a triangle, 90 for a square)
For a pyramid, the cell skewness will be the maximum skewness computed for any face. An ideal pyramid
(skewness = 0) is one in which the four triangular faces are equilateral (and equiangular) and the quadrilateral
base face is a square. The guidelines in the table above apply to the normalized equiangular skewness as
well.
114
Meshing
where
is a vector from the centroid of the cell to the centroid of that face.
and
(3.12.10.2)
where
is the face normal vector and
adjacent cell that shares the face.
When the cell is separated from the adjacent cell by and internal wall (for example, a baffle), the vector
across the internal boundary face is ignored during the quality computation.
115
Meshing
The orthogonal quality for faces is computed using the edge normal vector and the vector from the face
centroid to the centroid of each edge. The figure below illustrates the vectors used to determine the orthogonal
quality for a face.
where
edge.
Note:
Orthogonal quality in ANSYS AIM (and ANSYS Fluent) is equivalent to orthoskew in ANSYS Fluent Meshing,
except that the scale is reversed:
Orthoskew = 1 - Orthogonal Quality
The orthoskew values may not correspond exactly with the orthogonal quality values as the computation
depends on boundary conditions on internal surfaces (WALL vs. INTERIOR/FAN/RADIATOR/POROUS-JUMP).
ANSYS Fluent may return different results which reflect the modified mesh topology on which fluid flow
simulations are performed.
116
4: Physics Solution
Physics Solution
Define your physics and solution settings of your simulation, including setting:
Physics Regions
Material Assignments
Physics Options
Boundary Conditions
Initial Conditions (for fluid flow simulations)
Interface Conditions (for structural simulations)
Solver Options
Meshing
Physics Solution
Results Evaluation
Physics Regions
Material Assignment
Physics Options
Boundary Conditions
Interface/Initial Conditions
Solver Options
117
Physics Solution
bodies of a structural physics region. The structural physics options model the deformation (strain) and forces
(stress) of a body subjected to external displacements and forces.
When combined with thermal physics, the solution includes both structural mechanics and heat transfer, and
includes the thermal strains in the structural mechanics simulation.
When combined with electric conduction physics, the solution includes both structural mechanics and electric
conduction independently.
When combined with thermal and electric conduction physics, the solution includes structural, thermal, and
electric conduction degrees of freedom such as translations and temperatures. This coupled field solution
models situations where electric effects create thermal effects, and, in turn, thermal effects cause structural
strains and deformations.
When
, compressibility effects are typically unimportant and it is acceptable to model the fluid
using a constant density assumption.
The Mach number also allows us to characterize the flow regime as follows:
Subsonic
flow has
Transonic
Supersonic
flow has
and
Transonic and supersonic flows may contain structures such as shocks, rarefaction waves, and contact
discontinuities. In ANSYS AIM you can model subsonic, transonic, and supersonic flows, although for supersonic
flows, the presence of strong shocks may introduce stability problems during the calculation.
4.1.2.1.1. Modeling Compressible Gas Flows
To set up a compressible gas flow:
1. In the Fluid Flow Template on page 3, under Flow physics, select Compressible flow (ideal
gas).
This will inturn enable the energy equation and default to the ideal gas law material model in the
Material Assignments panel.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
118
Physics Solution
2. In the Physics Options panel, under Flow Model > Operating Conditions, Set the Operating
Pressure.
All gauge pressure inputs (such as those defined for boundary conditions and initial conditions) are
with respect to this operating pressure. The gauge pressure is the absolute pressure minus the operating
pressure.
Under Energy Model, Viscous heating is enabled by default for compressible gases. This includes
the viscous work term in the energy equation, which is often important for high speed flows.
3. Set appropriate boundary conditions.
Due to the nature of the physics of compressible flow, additional options are available compared with
incompressible flow. In some situations, such as a converging-diverging nozzle with supersonic flow,
multiple solutions are possible, and it is important to set boundary conditions appropriately for the
solver to find the correct solution. Select the flow Regime to be Subsonic, Supersonic, or Mixed
depending on whether you expect the boundary flow to be predominantly subsonic, supersonic, or
both.
At pressure inlets, velocity inlets, and mass flow inlets, if the flow Regime is set to Subsonic, the
required inputs are the same as for incompressible flow. If the Regime is Mixed or Supersonic, the
Gauge static pressure must be also be specified. If the Regime is Mixed, the solver will use the
specified value only for those boundary faces which are locally supersonic.
At outlets, if the Regime is set to Subsonic, the required inputs are the same as for incompressible
flow. If the Regime is Mixed, the solver will use the specified gauge static pressure only for those
boundary faces which are locally subsonic.
At supersonic outlets, no boundary inputs are required. Be aware, however, that this setting is very
weak, and may not find the supersonic solution if multiple solutions exist (e.g., subsonic and supersonic
exit flow in a converging-diverging nozzle), and the initial guess has subsonic flow. In this situation,
it may be better to choose a Mixed regime with a pressure outlet and specify a gauge static pressure
which forces the flow into the supersonic regime.
119
Physics Solution
models situations where electric effects create thermal effects, and, in turn, thermal effects cause structural
strains and deformations.
4.1.6. Summary of Objects and Compatible Physics Region and Calculation Types
Object
Structural
Electric
conduction
Calculation Type
Thermal
Steady/Static
Modal
Support
Displacement
Physics
Coupling
Interface
120
Physics Solution
Object
Calculation Type
Pressure
Force
Inertia Load
Moment
Temperature
Voltage
Current
Equipotential
Temperature
Heat Flux
Heat Flow
Convection
Radiation
Heat
Generation
Symmetry
Wall
Inlet
Outlet
Opening
121
Physics Solution
Option
Description
Material Assignment Material Assignment allows you to select a material and assign properties.
New using
New using allows you to quickly assign material data from a list of:
Favorite materials (
If your desired material does not appear in the list, you can search (
the available libraries.
Duplicate of
Compressible flows are described by the standard continuity and momentum equations and the treatment
of density as detailed below.
122
Physics Solution
The compressible form of the gas law (the ideal gas law) is written in the following form:
(4.2.1.2.1)
where
is the absolute pressure,
is the local temperature.
Existing Library
New Library
The default location is your Engineering Data Library, which stores the material in your local application
data folder.
5. Click OK.
123
Physics Solution
1.
2. Modify the material properties as desired. Some material properties can be defined using tabular data.
Click Add Material Data to choose a new property from favorites, recent or search items. You can
use the search field for quicker access to a particular property.
4.2.5.1. Alternating Stress
Alternating Stress is defined as the amount of stress that deviates from the mean. It is also called stress
amplitude.
Under this property, you can define the S-N curve as tabular data, where S is the Alternating Stress and N
is the Fatigue Life (the number of cycles to failure). The units of Alternating Stress is defined as [stress], for
example [Pa]. The units of Fatigue Life is in Cycles. Currently, only Log-Log interpolation is supported for
the S-N curve.
4.2.5.2. Density
The density of a material is the mass per unit volume. You can define Density () as a constant or as an
expression. The units are entered as [mass length^-3], for example "8750 [kg m^-3]".
124
Physics Solution
4.2.5.3. Isotropic Elasticity
Isotropic elasticity is used to model a material behavior where the stress versus strain relationship is linear
and the loading is kept within the elastic range. The molecular structure of the material is homogeneous so
that a load in any direction will exhibit the same stress versus strain relationship. The model follows Hooke's
law and so assumes that the stretch or compression remains in the elastic range of the material and the
model will return to its original shape. Hooke's law requires two terms to be input for computation, these
inputs can be chosen with the Derive from field. Each of the inputs can be defined as a constant or an
expression.
Young's Modulus (E), base units are entered as [force length^-2], for example "7.1E10 [N m^-2]"
Poissons Ratio (v), base unit is unitless, for example "0.33"
Bulk Modulus (K), base units are entered as [force length^-2], for example "6.96E10 [N m^-2]"
Shear Modulus (G), base units are entered as [force length^-2], for example "2.67E10 [N m^-2]"
4.2.5.4. Isotropic Resistivity
Isotropic resistivity is used to model how strongly a material opposes the flow of electric current in all
directions. A low resistivity indicates a material that readily allows the movement of electrical charge. You
can define isotropic resistivity as a constant, as an expression, or in the form of tabular data. For details on
how tabular data can be defined, see Defining Material Properties using Tabular Data on page 126 for
information. The units are entered as [electrical resistance length], for example "1.65x10^-8[ohm meter]."
4.2.5.5. Isotropic Seebeck Coefficient
The isotropic Seebeck coefficient of a material is a measure of the magnitude of an induced voltage in
response to a change in temperature across that material. This value is independent of the direction of the
applied temperature gradient.
The isotropic Seebeck coefficient can be defined as a constant or an expression, or in the form of tabular
data. For details on how tabular data can be defined, see Defining Material Properties using Tabular Data
on page 126 for information. The base units are entered as [voltage temperature^-1], for example "6.5 [V
C^-1]".
4.2.5.6. Molar Mass
Molar mass is the average mass of a substance per mole of molecules. It can be defined as a constant or
as an expression.
The base units are entered as [mass mole^-1], for example "28.965 [kg kmol^-1]".
4.2.5.7. Specific Heat Capacity
The specific heat capacity of a material is the heat required to raise the unit mass of a substance by one
degree of temperature.
The specific heat at constant pressure (cp) can be defined as a constant or as an expression. The base units
are entered as [energy mass^-1 temperature^-1], for example "875 [J kg^-1 C^-1]".
4.2.5.8. Tensile Ultimate Strength
Tensile ultimate strength is defined as the highest point on the Stress-Strain curve obtained from a tensile
test.
You can define Tensile ultimate strength (Sut) as a constant or as an expression. The units are entered as
[stress]. For example "460000000 [Pa]".
125
Physics Solution
4.2.5.9. Tensile Yield Strength
Tensile yield strength is defined as the point on the Stress-Strain curve where the material starts to deform
plastically.
You can define Tensile yield strength (Syt) as a constant or as an expression. The units are entered as [stress],
for example "250000000 [Pa]".
4.2.5.10. Thermal Conductivity
The thermal conductivity of a material is the ability of the material to conduct heat. Thermal conductivity is
assumed to be isotropic in behavior which conducts heat equally in all directions.
The thermal conductivity (k) can be defined as a constant, as an expression, or in the form of tabular data.
For details on how tabular data can be defined, see Defining Material Properties using Tabular Data on page
126 for information. The base units are entered as [power length^-1 temperature^-1], for example "148.6[W
m^-1 C^-1]".
4.2.5.11. Thermal Expansion
The thermal expansion of a material is the volumetric response of the material to a change in temperature.
Thermal expansion is assumed to be isotropic in behavior and so expands or contracts equally in all directions.
The thermal expansion ( ) can be defined as a constant or an expression. The base units are entered as
[temperature^-1], for example "2.3e-05 [C^-1]".
4.2.5.12. Viscosity
The viscosity is the dynamic viscosity of a material and is the resistance to flow. The dynamic viscosity must
be defined when modeling fluid flow.
The viscosity () can be defined as a constant or an expression. The base units are entered as [mass length^-1
time^-1], for example "1.1376E-03 [kg m^-1 s^-1]".
Click the
2.
Select Create tabular data (
). A table will appear.
3. Fill out the rows of the table. You can add rows by filling in the empty bottom row of the table. You
can also delete rows by selecting the checkbox to the left of the row and clicking
the table.
at the top of
You can modify the units in each column using the dropdown box to the right of the column header.
Any existing data in the table will automatically display in the chosen unit. The underlaying data is not
affected, only its display in the table.
126
Physics Solution
As you enter data into the table, the chart below displays the resulting plot.
Note:
The chart is in project units, which may differ from the selected unit in the table.
By default, the chart axes are Linear, except for Alternating Stress, which as shown as Logarithmic.
Click the button in the chart header bar to maximize it.
4. Click the
Once tabular data has been created for a material property, you can edit the table by clicking the Edit
tabular data (
Using tabular data in an expression to define material properties is shown in Tabular Data in Expressions
on page 127
4.2.6.1. Tabular Data in Expressions
You can use tabular data in an expression to define material properties as shown in following example.
Given the following tabular data:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
127
Physics Solution
Temperature [C]
100
114
200
144
You can use this table in an expression to define the material property in two ways:
Expression
Result
table(150[C])
table(Temperature)
128
Physics Solution
3. Select the Reference pressure location (This property is available when the Show all properties
icon
is active.)
If you know the absolute pressure at a specific location in the flow region, choose Cartesian
Coordinates. For this option, you need to specify the x, y, and z coordinates ([1], [2], and [3],
respectively) of the Reference pressure location.
If you don't know the absolute pressure at a specific location, select Automatic.
4.3.1.2.1. Operating Pressure
All calculations use gauge pressure, instead of absolute pressure, to avoid significant round-off errors.
Operating pressure relates gauge pressure to absolute pressure by:
(4.3.1.2.1.1)
When the material density definition does not depend on pressure, the solution is independent of the
Operating pressure. In this case, the solution depends only on the relative pressures in the analysis.
4.3.1.2.2. Reference Pressure Location
This property is available when the Show all properties icon is active.
For incompressible flows that do not involve any pressure boundaries, the pressure level is defined by holding
pressure constant at the Reference pressure location. This location will have an absolute pressure equal
to the Operating pressure you specify, and therefore a gauge pressure of zero. If pressure boundaries
are involved, the adjustment is not needed and the Reference pressure location is ignored.
The reference pressure location is, by default, the cell center at or closest to (0,0,0). There may be cases in
which you might want to move the Reference pressure location, perhaps locating it at a point where the
absolute static pressure is known (for example, if you are planning to compare your results with experimental
data).
4.3.1.3. Buoyancy-Driven Flows
Fluid flow for which gravity has an important effect is called buoyant flow. Because the force of gravity is
proportional to fluid density, buoyant flow can arise whenever the fluid density varies for any reason.
The most common buoyant flow situation is natural (or free) convection, where the fluid density varies with
temperature. An important dimensionless number for natural convection flows is the Grashof number
(4.3.1.3.1)
where
is
The Grashof number represents the ratio of buoyancy force to viscous force, and therefore plays the same
role as the Reynolds number ( ) for forced convection flows. A related dimensionless number is the Rayleigh
number
(4.3.1.3.3)
where
and turbulent if
.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
129
Physics Solution
Mixed convection flow refers to flow in which both natural and forced convection processes are important.
The relative importance of natural and forced convection effects is characterized by the ratio
this ratio is significantly less than unity, natural convection effects can safely be neglected.
. If
Boussinesq model: This model assumes that the fluid density variations can be neglected for all terms
in the equation except for the buoyancy source term. It is available when the material assignment for the
130
Physics Solution
flow region has a constant density and the simulation includes thermal effects, and uses the Boussinesq
approximation for the source term
(4.3.1.3.1.1.2)
The Operating temperature
The Thermal expansion coefficient depends on the material, and is typically a function of temperature.
For ideal gases that are modeled with a constant density approximation, select the thermal expansivity as
. In other situations, the expansion coefficient value should be obtained from a reference.
, but rather a
where
is either the operating density (if using the Density Difference model) or the constant fluid density
(if using the Boussinesq model), is the local position coordinate, and
is the buoyancy reference location.
Any gauge pressure inputs (boundary conditions and initial conditions), as well as the pressure field displayed
during post-processing, refer to this modified pressure field. Most notably, this means that the gauge pressure
which is specified at a vertical pressure boundary should change if the operating temperature/density change.
It is for this reason that choosing the operating temperature/density to be close to the average values is
beneficial - it typically allows you to choose this specified pressure as a uniform value rather than a
position-dependent expression.
Note also that the solver includes the hydrostatic pressure in the absolute pressure field. This field is available
for post-processing and also used to compute any property which depends on pressure (such as fluid density
for a compressible fluid).
131
Physics Solution
RANS Models
Option
Details
k-omega SST
k-epsilon Standard
k-omega BSL
k-epsilon Realizable
Spalart Allmaras
132
Physics Solution
Option
Details
This property is available when the Show all properties
icon is active.
EARSM Rumsey Gatski K Omega BSL A slightly less-robust extension of the k-omega BSL model for
or EARSM Wallin Johansson K Omega flows with secondary flow (corner flows, etc.), and can
BSL
demonstrate reduced robustness relative to the BSL model.
This property is available when the Show all properties
icon is active.
4.3.2.2. Turbulence Model Options
Additional sub-options are available for each turbulence model.
Boundary Layer Transition Settings
Specify whether to model the laminar/turbulent transitional region of the boundary layer by selecting the
Intermittency re theta option. This option also enables the Kato Launder production setting option.
Applicable only for k- models.
Buoyancy Effects Settings
Specify whether to include buoyancy effects on the turbulent dissipation. Available for any of the k- or k-
models when buoyancy is enabled.
Option
Details
Production only
Full
Details
133
Physics Solution
Option
Details
y+ insensitive two layer: Blend of algebraic mixing
length and epsilon equation near wall. y-insensitive.
Limited robustness. Available for any of the k-
models.
RANS model > Near wall treatment > Scalable Wall functions that avoid the deterioration of the
wall function
standard wall functions under mesh refinement.
Prevents resolution of the viscous sublayer. Available
for any of the k- models.
RANS model > Near wall treatment > Standard No longer recommended due to grid sensitivity and
wall function
robustness problems under grid refinement. Available
for any of the k- models.
Turbulence Production Settings
Specify options to control the production of turbulent kinetic energy for two-equation turbulence models.
These options are available when the Show all properties icon is active.
Option
Details
134
Physics Solution
Option
Details
C pk mu: Coefficient that helps the model recover
from zero or low values of eddy-viscosity levels. The
default value should not be changed. Values should
be very small.
Details
Energy model > Turbulence energy interaction Account for near-wall viscous and thermal effects.
> Near wall treatment thermal effects
In addition to enabling the Near wall treatment
thermal effects settings, there are also the following
coefficients to consider:
Turbulent Prandtl number: The ratio of the
momentum eddy diffusivity and the heat transfer
eddy diffusivity.
Wall Prandtl number: The ratio of the momentum
eddy diffusivity and the heat transfer eddy diffusivity
at the wall.
Energy model > Turbulence energy interaction Account for smooth walls in the turbulent boundary
> Energy near wall treatment
layer.
P function: A function using the Jayatilleke
formulation in the modeling of the conductive,
convective, and viscous heating derivation for the
law-of-the-wall.
135
Physics Solution
4.3.3.1. Setting Solid Physics Options
Physics > Physics Options
To set the solid modeling options:
1. Select the location.
The location defaults to AllBodies().
2. Under Solid modeling options, for Brick integration type, select an option for how your 3D solid
brick elements are integrated. The default is Program Controlled, which allows ANSYS AIM to select
the best integration method for your simulation, or you can explicitly choose from the following:
Reduced: The reduced integration mode helps to prevent the undesirable locking of the volumetric
mesh locking in nearly incompressible cases. However, an undesired hourglass mode might propagate
in the model if there are not at least two layers of elements in each direction.
Full: The full integration method does not cause hourglass mode, but can cause volumetric locking
in nearly incompressible cases. This method is used primarily for linear analyses, or when the model
has only one layer of elements in each direction.
Description
Inlets
Outlets
Openings
Walls
Symmetry
136
Physics Solution
When setting up boundary conditions, you will need to make selections and provide entries that best describe
your problem.
Setting
Description
Location
Reference Frame
Flow
Turbulence
Energy
4.4.1.1. Inlets
Inlets define conditions where flow is expected to enter the solution domain.
To determine the type of inlet you should apply depends on the available flow information.
Upstream conditions
from the inlet
Flow specification
Additional information
A plenum or device
delivering flow.
Pressure inlet
Select the location in your geometry for which you want to specify the inlet boundary condition.
For Flow specification, select Velocity.
For the Magnitude, enter the velocity at which fluid is flowing into the domain.
Define the Direction of fluid flow. By default the direction is Normal to boundary, however, you
can specify the flow in Cartesian or Cylindrical coordinates. See Reference Frames on page 19 for
more information.
5. If your simulation includes a thermal analysis, make sure to specify the inlet Temperature.
1.
2.
3.
4.
137
Physics Solution
6. Additionally, in the Inlet panel, you can make modifications to the following settings:
If you want to...
Then choose...
Specify total
Total temperature
temperature (also
under Energy
known as the stagnation specification
temperature) rather
than the static
temperature
Then choose...
138
Physics Solution
If you want to...
Then choose...
Direction to be
Cylindrical with
Tangential Velocity.
Then choose...
Direction to be
Cylindrical with
Tangential Velocity.
139
Physics Solution
If you want to...
Then choose...
Specify total
Total temperature
temperature (also
under Energy
known as the stagnation specification
temperature) rather
than the static
temperature
4.4.1.2. Outlets
Outlets are boundary conditions that permit flow to exit the solution domain.
To determine the type of outlet you should apply depends on the available flow information.
Downstream conditions from
the outlet
Flow specification
Additional information
(Constant value)
(Varying spatially)
Velocity outlet
140
Physics Solution
4.4.1.2.1. Specifying Velocity Outlets
Physics > Boundary Conditions > Outlet
To specify velocity outlets:
Select the location in your geometry for which you want to specify the outlet boundary condition.
For Flow specification, select Velocity.
For the Magnitude, enter the velocity at which fluid is flowing out of the domain.
Define the Direction of fluid flow. By default the direction is Normal to boundary, however, you
can specify the flow in Cartesian or Cylindrical coordinates. See Reference Frames on page 19 for
more information.
5. Additionally, in the Outlet panel, you can make modifications to the following settings:
1.
2.
3.
4.
Then choose...
Then choose...
Radial equilibrium
and enter the Guage
static pressure at
minimum radius.
Under Number of
Bands, a default of 40
is applied as the
maximum number.
141
Physics Solution
If you want to...
Then choose...
Selecting Automatic
produces a solver
generated number of
circumferential bands.
Pressure averaging
and select Average.
Apply a Pressure
profile blend.
Specify total
Total temperature
temperature (also
under Energy
known as the stagnation specification
temperature) rather
than the static
temperature
Select the location in your geometry for which you want to specify the outlet boundary condition.
For Flow specification, select Mass flow.
Enter the Mass flow rate if you know the mass flow rate through your system.
Additionally, in the Outlet panel, you can make modifications to the following settings:
142
Physics Solution
If you want to...
Then choose...
Mass flow update and Scale mass flow: the pressure and velocity are
select Scale mass
allowed to vary naturally, while maintaining a net
flows or Uniform flux. mass flow.
Uniform flux: forces a constant mass flux over
the face.
4.4.1.3. Openings
An opening is used where the flow may enter and/or exit through a boundary.
To determine the type of opening you should apply depends on the available flow information.
Upstream conditions
from the inlet
Flow specification
Additional information
Solves for pressure. Mass flow is derived based on
the local density. Local direction or velocity
components can be specified.
Pressure opening: Gauge The specified pressure will be applied over the entire
entrainment pressure
face. The velocity is a function of the solution. The
direction is derived from neighboring cells.
(Constant value)
Pressure opening: Gauge The specified pressure is applied by evaluating the
entrainment pressure
expression at each position.
(Varying spatially)
Select the location in your geometry for which you want to specify the opening boundary condition.
For Flow specification, select Velocity.
For the Magnitude, enter the velocity at which fluid is flowing through the domain.
Define the Direction of fluid flow. You can specify the flow in Cartesian or Cylindrical coordinates.
See Reference Frames on page 19 for more information.
5. If your simulation includes a thermal analysis, make sure to specify the Temperature at the opening.
6. Additionally, in the Opening panel, you can make modifications to the following settings:
1.
2.
3.
4.
143
Physics Solution
If you want to...
Then choose...
Specify total
Total temperature
temperature (also
under Energy
known as the stagnation specification.
temperature) rather
than the static
temperature
Then choose...
144
Physics Solution
If you want to...
Then choose...
4.4.1.4. Walls
Wall boundary conditions assigned to surfaces of a fluid region prevent flow through those surfaces.
When a new wall boundary condition is created without a location selected, the location will be assigned to
a function, DefaultWalls(), which returns the unused bounding faces for the physics region. The
DefaultWalls() function is dynamically re-evaluated as new boundary conditions are added elsewhere
to the model; the locations used for these boundaries will be removed from those returned by
DefaultWalls().
Note that every wall boundary starts with its location assigned to DefaultWalls(). If more than one
boundary uses DefaultWalls(), only the first will get a location assignment, while the function will return
an empty location for the others and an error will be reported.
The conditions that best describe the forces applied to a wall are summarized below.
Condition at the wall
Option
Additional information
Free Slip
Note:
For symmetry or free stream
conditions, consider using a
symmetry or an opening boundary
condition.
The shear stress is known along a
surface but velocity is unknown.
Specified Shear
145
Physics Solution
If you want to...
Then choose...
146
Physics Solution
To specify shear conditions at a wall:
1. Select the location in your geometry for which you want to specify the wall boundary condition.
2. For Flow specification, select Specified shear if it is known along a surface but velocity is unknown.
3. In the Wall panel, under Shear stress, specify the X, Y, and Z components as constant values or
expressions.
4. Additionally, in the Wall panel, you can make modifications to the following settings:
a) For Reference frame, if you want to use a reference frame other than Global Reference Frame,
select or define the reference frame.
b) For Energy specification, if your simulation includes a thermal analysis, select one of the energy
specification options that best describes the system.
4.4.1.4.4. Energy Specification for Walls
Table 4.4.1.4.4.1. Energy Specifications for Internal Wall (touching the fluid) and External Wall (opposite
side of the fluid)
Energy specification
Description
Insulated
Heat flux
Heat flow
Convection
Radiation
147
Physics Solution
Energy specification
Description
a specified Radiation
temperature.
4.4.1.5. Symmetry
The symmetry boundary condition imposes constraints that mirrors the expected pattern of the flow or
thermal solution on either side of it. At a symmetry boundary, all gradients normal to the face are zero. Thus,
the normal velocity component at the boundary is set to zero:
(4.4.1.5.1)
and the scalar variable gradients normal to the boundary are also set to zero:
(4.4.1.5.2)
4.4.1.5.1. Specifying Symmetry
Physics > Boundary Conditions > Symmetry
To specify symmetry boundary conditions:
Select the location in your geometry for which you want to specify Symmetry conditions. Note that
the location of a valid symmetry condition should be planar.
4.4.1.6. Turbulence Specification Methods
Table 4.4.1.6.1. Turbulence Specification Methods
Option
Description
148
Physics Solution
Option
Description
Transport variables
4.4.2.1. Displacement
A displacement boundary condition specifies that a portion of the model displaces relative to its original
location.
You have several options for defining displacement. You can define displacement as normal to a boundary,
or you can apply displacement directly to the geometric in a given model through a vector. When you apply
a displacement to a selection of geometric entities, that selection determines the portion of the model that
is displaced. You can specify the displacement in any of the component directions of the reference frame,
or you can specify displacement on a vector using magnitude and direction.
4.4.2.1.1. Defining Displacement by Directional Components
Physics > Boundary Conditions > Displacement
To specify a displacement boundary condition on a vector defined by directional components:
1. Select the location for this boundary condition.
You can apply this type of displacement to bodies, vertices, edges, or faces of a 3D geometry.
2. For Define by, select Directional components.
3. Specify the magnitude on one or more directions of the coordinate system in the X, Y, and Z fields.
Enter a constant or expression directly into the field; any expression must resolve to a constant. Note
that the Coordinate type shown is based on the reference frame.
4. Additionally, you can select or define a frame of reference under Reference frame if you want to
use a reference frame other than Global reference frame.
4.4.2.1.2. Defining Displacement Normal to a Face
Physics > Boundary Conditions > Displacement
To set a displacement applied in the normal direction to a face:
1. Select the location for this boundary condition.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
149
Physics Solution
You can apply this boundary condition to faces.
2. For Define by, select Normal to boundary.
3. For Displacement, enter a constant into the field.
You can also enter an expression that resolves to a constant.
4.4.2.1.3. Defining a Displacement by Magnitude and Direction
Physics > Boundary Conditions > Displacement
To specify a displacement boundary condition on a vector using magnitude and direction:
1. Select the location for this boundary condition.
You can apply this type of displacement to bodies, vertices, edges, or faces of a 3D geometry.
2. For Define by, select Magnitude and direction.
3. For Magnitude, enter a constant or expression directly into the field; any expression must resolve
to a constant.
4. For Direction based on geometry selection, select a face or edge to determine the vector direction.
The direction geometry assignment defaults to the first location selected, but you can replace this
location.
If you want the direction to be opposite the vector for the selected location, click Reverse direction.
4.4.2.2. Inertia Load
An Inertia load is experienced by a body or a collection of bodies when it is in an accelerated reference
frame. A reference frame is "accelerated" if you specify a linear acceleration or an angular velocity or angular
acceleration to the frame.
Inertia itself is not a load, but it causes loads (forces) to be developed in the bodies opposite in direction to
the specified accelerations. The bodies must also have mass specified for the developed inertial loads to be
non-zero.
Inertia loads are used to model gravity effects (weight) or rotational effects in spinning equipment.
4.4.2.2.1. Setting Inertia Load
Physics > Boundary Conditions > Inertia Load
To set an Inertia Load boundary condition:
1. Select the location for this boundary condition.
An inertia load boundary condition is initially applied by default to all bodies of a model that have
mass. However, you can change the location to apply an inertia load to a specific body or bodies.
2. For Inertia source, select the type of inertia load.
3. Specify the magnitude on one or more directions of the coordinate system in the X, Y, and Z fields.
Enter a constant or expression directly into the field; any expression must resolve to a constant. Note
that the Coordinate type shown is based on the reference frame.
150
Physics Solution
4.4.2.3. Force
You can apply the force boundary condition either by defining a magnitude and direction or by defining the
components of that vector in a given coordinate system. This boundary condition is defined in units such as
pounds or Newtons.
4.4.2.3.1. Defining Force by Directional Components
Physics > Boundary Conditions > Force
To set a force boundary condition:
1. Select the location for this boundary condition.
You can apply a force to vertices, edges, or faces of 3D geometry.
Note:
Unlike applying a force to edges or faces, which will averagely distribute the force load; applying to
vertices will actually apply the given force value to each of the vertices. For example, if you apply 5N
force to five vertices, it will cause a 5Nx5=25N force in total.
2. For Define by, select Directional components.
3. Specify the magnitude on one or more directions of the coordinate system in the X, Y, and Z fields.
Enter a constant or expression directly into the field; any expression must resolve to a constant. Note
that the Coordinate type shown is based on the reference frame.
4. Additionally, you can select or define a frame of reference under Reference frame if you want to
use a reference frame other than Global reference frame.
4.4.2.3.2. Defining Force by Magnitude and Direction
Physics > Boundary Conditions > Force
To set a force boundary condition:
1. Select the location for this boundary condition.
You can apply a force to vertices, edges, or faces of 3D geometry.
Note:
Unlike applying a force to edges or faces, which will averagely distribute the force load; applying to
vertices will actually apply the given force value to each of the vertices. For example, if you apply 5N
force to five vertices, it will cause a 5Nx5=25N force in total.
2. For Define by, select Magnitude and direction.
3. For Magnitude, enter a constant or expression directly into the field; any expression must resolve
to a constant.
4. For Direction based on geometry selection, select a face or edge to determine the vector direction.
The direction geometry assignment defaults to the first location selected, but you can replace this
location.
If you want the direction to be opposite the vector for the selected location, click Reverse direction.
151
Physics Solution
4.4.2.4. Moment
This vector-based boundary condition distributes a moment "about" (the vector of) an axis across one or
more flat or curved faces, or about one or more edges or vertices. Use the right-hand rule to determine the
sense of the moment. This boundary condition has a moment or torque (Newton meter) unit.
You can apply the moment boundary condition either by defining a magnitude and direction or by defining
the components of that vector in a given coordinate system.
4.4.2.4.1. Defining a Moment by Directional Components
Physics > Boundary Conditions > Moment
To define a moment boundary condition by directional components:
1. Select the location for this boundary condition.
You can apply a moment to vertices, edges, or faces.
2. For Define by, select Directional components.
3. Specify the magnitude on one or more directions of the coordinate system in the X, Y, and Z fields.
Enter a constant or expression directly into the field; any expression must resolve to a constant. Note
that the Coordinate type shown is based on the reference frame.
4. Additionally, you can select or define a frame of reference under Reference frame if you want to
use a reference frame other than Global reference frame.
4.4.2.4.2. Defining a Moment by Magnitude and Direction
Physics > Boundary Conditions > Moment
To define a moment boundary condition by magnitude and direction:
1. Select the location for this boundary condition.
You can apply a moment to vertices, edges, or faces.
2. For Define by, select Magnitude and direction.
3. For Magnitude, enter a constant or expression directly into the field; any expression must resolve
to a constant.
4. For Direction based on geometry selection, select a face or edge to determine the vector direction.
The direction geometry assignment defaults to the first location selected, but you can replace this
location.
If you want the direction to be opposite the vector for the selected location, click Reverse direction.
4.4.2.5. Pressure
A pressure load applies a constant pressure on one or more flat or curved faces. A positive value for pressure
acts into the face, tending to compress the solid body.
Pressure is a scalar boundary condition and can only be applied normal to a face.
4.4.2.5.1. Setting a Pressure
Physics > Boundary Conditions > Pressure
To set a pressure boundary condition:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
152
Physics Solution
1. Select the location for this boundary condition.
You can apply a pressure to 3D geometric faces.
2. For Pressure, enter the magnitude as a constant or expression directly into the field; any expression
must resolve to a constant.
4.4.2.6. Support
A support is a constraint that you create by fixing or freeing the available degrees of freedom at the location
in the model where you apply it. Available degrees of freedom are automatically detected once the location
is specified; they are fixed by default.
4.4.2.6.1. Setting a Support
Physics > Boundary Conditions > Support
To set a support boundary condition:
1. Select the location for this boundary condition.
You can apply a support directly to vertices, edges, bodies, or faces of 3D geometry.
2. For the Degrees of freedom fields, Translation X, Translation Y, and Translation Z, specify the
degree of freedom for each as fixed or free.
4.4.2.7. Temperature Condition
You can use a Temperature Condition boundary condition to apply a temperature over the selected geometry.
Temperature Conditions are used to calculate temperature-dependent material properties and thermal strains
(if Structural physics is also activated).
4.4.2.7.1. Setting a Temperature Condition
Physics > Boundary Conditions > Temperature Condition
To set a temperature boundary condition:
1. Select the location for this boundary condition.
You can apply a temperature to one or more bodies.
2. For Temperature, enter a constant or expression directly into the field; any expression must resolve
to a constant.
Convection
Heat Flux
Heat Flow
Heat Generation
Radiation
Temperature Constraint
Insulated (applicable to conjugate heat transfer simulations)
153
Physics Solution
4.4.3.1. Convection
The Convection boundary condition causes convective heat transfer to occur through one or more flat or
curved faces (in contact with a fluid).
The bulk fluid temperature is measured at a distance from the face outside of the thermal boundary layer.
The face temperature refers to the temperature at the face of the simulation model.
Convective Heat Transfer
Convection is related to heat flux by use of Newton's law of cooling:
q/A = h(ts - tf)
where:
q/A is heat flux out of the face (calculated within the application)
h is the heat transfer coefficient (you provide)
ts is the temperature on the face (calculated by ANSYS AIM)
tf is the bulk fluid temperature that you specify
When the fluid temperature exceeds face temperature, energy flows into a part. When the face temperature
exceeds the fluid temperature, a part loses energy.
If you select multiple faces when defining convection, the same bulk fluid temperature and heat transfer
coefficient are applied to all selected faces.
4.4.3.1.1. Setting Convection
Physics > Boundary Conditions > Convection
To set a Convection boundary condition:
1. Select the location for this boundary condition.
You can apply convection to faces of 3D geometry. If you select multiple faces when defining convection,
the same bulk fluid temperature and heat transfer coefficient are applied to all selected faces.
2. For Heat transfer coefficient, enter a constant value greater than zero.
The heat transfer coefficient (also called the film coefficient or unit thermal conductance) is based on
the composition of the fluid in contact with the face, the geometry of the face, and the hydrodynamics
of the fluid flow past the face. Refer to heat transfer handbooks or other references to obtain appropriate
values for film coefficient.
3. For Convection temperature, enter as a constant the temperature of the surrounding fluid.
4. For conjugate heat transfer simulations, you can select or define a frame of reference under Reference
frame if you want to use a reference frame other than Global reference frame.
5. Additionally, in the Convection panel, you can select whether to use a diagonal film coefficient matrix
or a consistent matrix for the film coefficient from Heat transfer coefficient matrix (not applicable
for conjugate heat transfer simulations).
With the default setting, Program Controlled, the solver determines whether to use a diagonal or
consistent film coefficient matrix.
154
Physics Solution
4.4.3.2. Heat Flow
Heat flow simulates the transmission across flat or curved surfaces of a specified amount of heat energy per
unit time. As a result, heat flow adds energy to or from a body over time.
4.4.3.2.1. Setting Heat Flow
Physics > Boundary Conditions > Heat Flow
To set a Heat Flow boundary condition:
1. Select the location for this boundary condition.
In a 3D simulation, you can apply a heat flow to a face. If you select multiple faces when defining the
heat flow rate, the magnitude is apportioned across all selected faces.
2. For Heat flow, enter a constant or expression directly into the field; any expression must resolve to
a constant. The magnitude represents heat energy per time. Positive heat flow adds energy to the
body.
3. For conjugate heat transfer simulations, you can select or define a frame of reference under Reference
frame if you want to use a reference frame other than Global reference frame.
4.4.3.3. Heat Flux
Heat flux simulates the transmission across flat or curved surfaces of a specified amount of heat energy per
unit area per unit time. As a result, heat flux adds energy to or from a body over time.
4.4.3.3.1. Setting Heat Flux
Physics > Boundary Conditions > Heat Flux
To set a Heat Flux boundary condition:
1. Select the location for this boundary condition.
You can apply a heat flux to faces of 3D geometry. If you select multiple faces when defining the heat
flow rate, the magnitude is applied to all selected faces.
2. For Heat flux, enter a constant or expression directly into the field; any expression must resolve to
a constant. The magnitude represents heat energy per unit area per time. Positive heat flux adds
energy to the body.
3. For conjugate heat transfer simulations, you can select or define a frame of reference under Reference
frame if you want to use a reference frame other than Global reference frame.
4.4.3.4. Heat Generation
This boundary condition applies a uniform generation rate internal to a body. A positive heat generation acts
into a body, adding energy to it. The heat generation rate is defined as energy per unit time per unit volume.
The input value for this heat generation is expected to be in watts. The input value is divided by the volume
of the body to get the heat generation rate. This heat generation rate is then written in the input file for the
solver.
If you select multiple bodies when defining the heat generation, the input value is divided by the total volume
of the bodies to get the heat generation rate.
4.4.3.4.1. Setting Heat Generation
Physics > Boundary Conditions > Heat Generation
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
155
Physics Solution
To set a Heat Generation boundary condition:
1. Select the location for this boundary condition.
You can apply heat generation to bodies.
2. For Heat generation, enter a constant or expression directly into the field; any expression must
resolve to a constant. The magnitude represents heat energy per time. Positive heat generation adds
energy to the body.
4.4.3.5. Radiation
This boundary condition simulates thermal radiation from a face of a 3D model to its surroundings at an
ambient temperature. That is, the Form Factor is assumed to be 1.0. Surface-to-surface radiation is not
supported.
If radiation is applied to the same location more than once, both radiation conditions independently contribute
to the final solution (accumulation effect).
4.4.3.5.1. Setting Radiation
Physics > Boundary Conditions > Radiation
To set a Radiation boundary condition:
1. Select the location for this boundary condition.
You can apply radiation to one or more faces of a 3D model.
2. For Emissivity, enter the ratio of the radiation emitted by a surface to the radiation emitted by a
black body at the same temperature.
Specify as a value or expression greater than 0 but less than or equal to 1.
3. For Radiation temperature, enter the temperature of the surrounding space.
4. For conjugate heat transfer simulations, you can select or define a frame of reference under Reference
frame if you want to use a reference frame other than Global reference frame.
4.4.3.6. Temperature
The Temperature boundary condition simulates a uniform temperature over the selected geometry.
4.4.3.6.1. Setting Temperature
Physics > Boundary Conditions > Temperature
To set a Temperature boundary condition:
1. Select the location for this boundary condition.
You can apply a temperature to vertices, edges, or faces of a 3D geometry.
2. For Temperature, enter the temperature value. The Temperature property can be defined as a
constant or an expression that resolves to a constant.
3. For conjugate heat transfer simulations, you can select or define a frame of reference under Reference
frame if you want to use a reference frame other than Global reference frame.
156
Physics Solution
4.4.3.7. Insulated
An insulated (or adiabatic) boundary condition for a solid region is where the heat flux across the boundary
is zero.
4.4.3.7.1. Setting an Insulated Solid Region
Physics > Boundary Conditions > Insulated
Setting an insulated boundary condition for a solid region is only applicable to conjugate heat transfer
simulations. For structural thermal boundary conditions, the insulated condition is set internally on any
bounding faces of a solid region and therefore no setup is required.
voltage
current
equipotential
temperature condition
4.4.4.1. Current
A current load simulates the application of an electric current to the system.
4.4.4.1.1. Setting Current
Physics > Boundary Conditions > Current
To set a Current boundary condition:
1. Select the location for this boundary condition.
You can apply current to faces of 3D geometry.
2. For Current, enter the current magnitude as a constant or expression; any expression must resolve
to a constant.
4.4.4.2. Equipotential
You can use the Equipotential boundary condition to apply a constant voltage condition to one or more
equipotential surfaces of a model.
Any geometry assigned to an equipotential boundary condition cannot be used in any other boundary
condition, including another Equipotential boundary condition, with the exception of a Voltage boundary
condition.
4.4.4.2.1. Setting Equipotential
To set equipotential:
157
Physics Solution
Any geometry assigned to an equipotential boundary condition cannot be used in any other boundary
condition, including another Equipotential boundary condition, with the exception of a Voltage boundary
condition.
158
Physics Solution
Option
Description
Hybrid initialization
User specified
159
Physics Solution
Physics Coupling
The physics coupling interface transfers data from a solved Physics Solution task into another Physics Solution
task. On each physics coupling interface, you can either:
transfer fluid force data from surfaces in a fluid simulation onto surfaces in a structural simulation, or
transfer temperature data from solid bodies that are part of a conjugate heat transfer simulation into bodies
in a structural simulation.
160
Physics Solution
When you generate the interfaces, ANSYS AIM automatically creates both the contacts for any located
contact pairs and the associated contact behavior, which defines the behavioral properties for the contacts.
Depending on your settings, either all generated contact will use the same set of behavioral properties,
or each will have its own associated contact behavior. If the contact behavior is shared by all generated
contact, you can modify the behavioral properties for all generated contact by modifying that one contact
behavior. If you want one or more of your generated contacts to have different behavioral properties,
you can add a new contact behavior for that contact.
4.6.1.1.1. Converting an Auto-Generated Contact to Manual
Physics > Interface Conditions > Contact
Contacts and contact behaviors generated by an interface generator are automatically associated with
interface generator that created them. You can dissociate a contact and the contact behavior it references
from its interface generator by converting the auto-generated contact to a manual one. Thus, when the
interface generator is deleted or another interface generation is performed, the remaining auto-generated
contacts are deleted but not the converted contact and the contact behavior it references.
Re-scoping an auto-generated contact automatically converts it to a manual contact and disassociates it
from the interface generator object.
Caution: An auto-generated contact converted to manual cannot be converted back to auto-generated.
To convert an automatically generated contact to manual:
1. Navigate to the contact you want to convert.
2. For Location definition method, select Manual.
4.6.1.1.2. Modifying the Contact Behavior for a Generated Contact
Physics > Interface Conditions > Contact
Contacts and contact behaviors generated by an interface generator are automatically associated with
interface generator that created them. Every contact generated by an interface generator is assigned the
same contact behavior if the "one shared by all contact" method is used to generate the contacts. Thus,
if you modify the properties for this contact behavior, you modify the properties attached to all contact
pairs generated with that contact pair.
If you don't want the changes to a contact behavior to apply to all generated contact, you can create a
new contact behavior for a contact; this new contact behavior applies only to the contact from which you
created it. You can then apply this new behavior to other contact.
To modify the contact behavior on a contact:
1.
2.
3.
4.
161
Physics Solution
1. For Location 1, define the location of the contact's first location.
You can select geometry or a Named Selection.
For contacts, select the geometries (faces, edges, or vertices) that are considered as the source for
the contact. You can also choose a selection set. For a Face/Edge contact, the edge must be designated
as the first location. If a contact pair is applied to flexible and rigid bodies, the flexible body must be
the Location 1 side. If the Location 1 side of the contact pair is applied to multiple bodies, all of the
bodies must have the same Stiffness Behavior, either Rigid or Flexible.
2. For Location 2, define the location of the contact's second location.
You can select geometry or a Named Selection.
For contacts, select the geometries (faces or edges) that are considered the target for the contact.
For Face/Edge contact, the face must be designated as the second location. If the Location 1 side of
the contact pair has a flexible Stiffness Behavior then the Location 2 side can be rigid. The selection
of multiple rigid bodies for the Location 2 invalidates the Contact object and an error message is
generated following the solution process.
3. For Contact behavior, create or select a Contact Behavior.
A contact behavior defines the behavioral properties of a contact. You can create a contact behavior,
then assign it to one or more contacts, or you can create a contact behavior directly from a Contact
object. Contact behaviors are designed to be independent of a specific contact, so that they may be
applied to multiple contacts as needed for your physics solution.
Note:
When adding a contact manually, you cannot choose a contact behavior created for auto-generated
contacts.
The contact behavior is shown below.
4. For Trim optimization, select if you want to speed up the solution time by reducing the number of
elements sent to the solver for consideration.
Program Controlled: This is the default setting. The application chooses the appropriate setting.
Typically, the program sets Trim Contact to On. However, if the contacts are created manually,
no trimming is performed by default.
On: During the process of creating the solver input file, checking is performed to determine the
proximity between the location 1 and location 2 elements. Elements which are not in close proximity
(determined by a tolerance) are not written to the file and therefore ignored in the physics solution.
If you select this option, enter a tolerance value greater than zero in the Tolerance field.
Off: No contact trimming is performed.
The checking process is performed to identify if there is overlap between the bounding boxes of the
elements involved. If the bounding box of an element does not overlap the bounding box of an opposing
face or element set, that element is excluded from the solution. Before the elements are checked, the
bounding boxes are expanded using the Tolerance property so that overlapping can be detected.
5. For Apply symmetry, select whether to use the symmetric contact in the analysis.
4.6.1.3. Defining Contact Behavior Properties
Physics > Interface Conditions > Contact
Physics > Contact Behaviors
162
Physics Solution
You can create or modify a contact behavior under Contact Behavior on the Contact panel. A contact
behavior defines the behavioral properties of a contact. Contact behaviors are designed to be independent
of a specific contact, so that they may be applied to multiple contacts as needed for your physics solution.
ANSYS AIM automatically creates associated contact behaviors using default properties when you use
the template workflow with the Detect structural contact automatically option set, or when you use
an interface generator to create contacts. You can modify the properties for one or more of these generated
contacts on the Contact Behavior panel.
Note:
By default, automatically generated contacts use the same behavior unless you modified the Contact
behavior creation property, so any changes to the behavior for one contact will affect all other contacts.
If you want to modify the properties for only one of your generated contact pairs, create a new behavior
for that contact, rather than modifying the existing contact behavior.
When adding a new contact manually, you can either create a new contact behavior or use an existing
contact behavior created manually from the Contact panel. If you create a new contact behavior from
the Contact panel, it is automatically assigned to that contact. You can then use that contact behavior
for subsequent new manual contacts or other existing contacts, including contacts that are auto-generated.
To set contact behavior properties:
1. Select the contact behavior you want to modify.
Or, to create a new contact behavior, select Contact behavior > Create new on the Contact panel.
2. For Contact type, select a contact type.
3. For frictional contacts, set the dynamic friction coefficient under Friction coefficient.
Specify this value as a non-negative coefficient.
4. Specify the additional contact behavior settings as determined by your Contact Type, Formulation,
and Physics Type setting.
If you want to...
then set...
More information:
Physics to transfer
Physics Solution
If you want to...
then set...
More information:
bodies and Augmented Lagrange
for all other contact situations.
For information on formulation
options, see Contact Formulation
Algorithms on page 167.
Note: Cases involving large
gaps and faces bonded together
can result in fictitious moments
being transmitted across a
boundary.
164
Physics Solution
If you want to...
then set...
More information:
With the default setting,
Program controlled, the
program calculates the value for
thermal or electric contact
conductance. The value will be
set to a sufficiently high enough
value (based on the thermal or
electric conductivities and the
model size) to model perfect
contact with minimal thermal or
electric resistance.
You can also manually specify
the thermal or electric contact
conductance value.
Thermal and electric contact
conductance are not available for
the MPC formulation.
165
Physics Solution
If you want to...
then set...
More information:
Penetration Tolerance
Numerical Damping
You can now assign this contact behavior to one or more contacts defined on the Contact panel. For
more information, see Manually Setting Up a Contact on page 161. If you defined the contact behavior as
part of a setting up a contact, note that you can now assign this contact behavior to other contacts as
well.
4.6.1.3.1. Contact Types
Choosing the appropriate contact type depends on the type of problem you are trying to solve. If modeling
the ability of bodies to separate or open slightly is important and/or obtaining the stresses very near a contact
interface is important, consider using one of the nonlinear contact types (Frictionless, Rough, Frictional),
which can model gaps and more accurately model the true area of contact. However, using these contact
types usually results in longer solution times and can have possible convergence problems due to the contact
nonlinearity. If convergence problems arise or if determining the exact area of contact is critical, consider
using a finer mesh (using the Sizing control) on the contact faces or edges.
The available contact types are listed below. Most of the types apply to Contact Regions made up of faces
only.
Bonded: This is the default configuration and applies to all contact regions (surfaces, solids, lines, faces,
edges). If contact regions are bonded, then no sliding or separation between faces or edges is allowed.
Think of the region as glued. This type of contact allows for a linear solution since the contact length/area
will not change during the application of the load. If contact is determined on the mathematical model,
any gaps will be closed and any initial penetration will be ignored.
No separation: This contact setting is similar to the Bonded case. It only applies to regions of faces (for
3D solids) or edges (for 2D plates). Separation of the geometries in contact is not allowed, but small
amounts of frictionless sliding can occur along contact geometries.
Frictionless: This setting models standard unilateral contact; that is, normal pressure equals zero if
separation occurs. Thus gaps can form in the model between bodies depending on the loading. This solution
is nonlinear because the area of contact may change as the load is applied. A zero coefficient of friction is
assumed, thus allowing free sliding. The model should be well constrained when using this contact setting.
166
Physics Solution
Rough: Similar to the frictionless setting, this setting models perfectly rough frictional contact where there
is no sliding. It only applies to regions of faces (for 3D solids) or edges (for 2D plates). By default, no
automatic closing of gaps is performed. This case corresponds to an infinite friction coefficient between
the contacting bodies.
Frictional: In this setting, the two contacting geometries can carry shear stresses up to a certain magnitude
across their interface before they start sliding relative to each other. This state is known as "sticking." The
model defines an equivalent shear stress at which sliding on the geometry begins as a fraction of the
contact pressure. Once the shear stress is exceeded, the two geometries will slide relative to each other.
The coefficient of friction can be any nonnegative value.
4.6.1.3.2. Contact Formulation Algorithms
Formulation options allow you to specify which algorithm the software uses for a particular Contact pair
computation.
Property options include:
Program controlled: This is the default setting. For Bonded and No Separation contacts, the application
selects the Multi-Point Constraint. For nonlinear solid body contact of faces, the application selects Pure
Penalty for contact between two rigid bodies and Augmented Lagrange for all other contact situations.
Augmented Lagrange: Also a penalty-based method. Compared to the Pure Penalty method, this method
usually leads to better conditioning and is less sensitive to the magnitude of the contact stiffness coefficient.
However, in some analyses, the Augmented Lagrange method may require additional iterations, especially
if the deformed mesh becomes too distorted.
Pure penalty: Basic contact formulation based on Penalty method.
Multi-point constraint: Available for Bonded contact type and No Separation contact types. Multipoint
Constraint equations are created internally during the Mechanical APDL application solve to tie the bodies
together. This can be helpful if truly linear contact is desired or to handle the nonzero mode issue for free
vibration that can occur if a penalty function is used. Note that contact based results (such as pressure)
will be zero.
Normal Lagrange: Enforces zero penetration when contact is closed making use of a Lagrange multiplier
on the normal direction and a penalty method in the tangential direction. Normal Stiffness is not applicable
for this setting. Normal Lagrange adds contact traction to the model as additional degrees of freedom and
requires additional iterations to stabilize contact conditions. It often increases the computational cost
compared to the Augmented Lagrange setting. The Iterative solver type setting (under the Solver Settings)
cannot be used with this method.
For additional MAPDL specific information, see in the Contact Technology Guide.
Caution: Cases involving large gaps and faces bonded together can result in fictitious moments being
transmitted across a boundary.
4.6.1.3.3. Detection Method
Detection Method allows you to choose the location of contact detection used in the physics solution in order
to obtain a good convergence. It is applicable to 3D face-face contacts.
Property options include:
Program Controlled: This is the default setting. The application uses Gauss integration points (On Gauss
Point) when the formulation is set to Pure Penalty and Augmented Lagrange. It uses nodal point (Detect
Nodal Normal to Target) for the MPC formulation and Normal Lagrange formulations.
Detect on Gauss Point: The contact detection location is at the Gauss integration points. This option is
not applicable to contacts with MPC or Normal Lagrange formulation.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
167
Physics Solution
Detect Nodal Normal from Contact: The contact detection location is on a nodal point where the
contact normal is perpendicular to the contact surface.
Detect Nodal Normal to Target: The contact detection location is on a nodal point where the contact
normal is perpendicular to the target surface.
Detect Nodal Projected Normal from Contact: The contact detection location is at contact nodal
points in an overlapping region of the contact and target surfaces (projection-based method).
For additional MAPDL specific information, see in the Contact Technology Guide .
4.6.1.3.4. Pinball
This option allows you to specify a contact search area commonly referred to as a pinball region.
Setting a pinball region can be useful in cases where initially, bodies are far enough away from one another
that, by default, the program will not detect that they are in contact. You could then increase the pinball
region as needed. Consider an example of a surface body that was generated by offsetting a face of a solid
body, possibly leaving a large gap, depending on the thickness. Another example is a large deflection problem
where a considerable pinball region is required due to possible large amounts of over penetration. In general
though, if you want two regions to be bonded together that may be far apart, you should specify a pinball
region that is large enough to ensure that contact indeed occurs.
For the bonded contact type, be cautious when specifying a large pinball region, as any regions found within
the pinball region will be considered to be in contact. For other types of contacts, this issue is not as critical
because additional calculations are performed to determine if the two bodies are truly in contact. The pinball
region defines the searching range where these calculations will occur. Further, a large gap can transmit
fictitious moments across the boundary.
When setting up the pinball region, you can leave the default option, Program Controlled, where the
program calculates the pinball region, or you can set the pinball region detection to a factor or a physical
value greater than 0.
If this contact behavior applies to contacts automatically generated by the Interface Generator, then the
Auto Detection Value property is also available for pinball. With this option, the pinball region is equal to
the tolerance value used in generating the contacts. The value is displayed as read-only in the Auto Detection
Value field. Auto Detection Value is the recommended option for cases where the automatic contact detection
region is larger than a Program Controlled region. In such cases, some contact pairs that were detected
automatically may not be considered in contact for a solution.
4.6.1.3.5. Thermal and Electric Conductance
This section discusses Thermal Conductance and Electrical Conductance, which are available for penalty-based
contact formulations.
For additional MAPDL specific information, see , specifically the section of the Contact Technology Guide
(Multiphysics Contact).
Thermal Conductance
To take into account the conductive heat transfer between contact and target surfaces, specify the thermal
contact conductance (real constant thermal contact conductance) for a thermal contact simulation. Thermal
contact conduction transfers heat between two contacting surfaces. If contact occurs, a small value of thermal
contact conductance yields a measured amount of imperfect contact and a temperature discontinuity across
the interface. For large values of thermal contact conductance, the resulting temperature discontinuity tends
to vanish and perfect thermal contact is approached. When not in contact, however, the solver assumes that
no heat is transferred across the interface.
To model contact conduction between two surfaces where a small gap exists, define either the bonded
contact or no-separation contact options.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
168
Physics Solution
Property options include:
Program Controlled: This is the default setting. The program will calculate the value for the thermal
contact conductance. The value will be set to a sufficiently high value (based on the thermal conductivities
and the model size) to model perfect contact with minimal thermal resistance.
Manual: You specify the thermal contact conductance as a value greater than 0. The units for this value
are based on the types of contact involved. For 3D faces and 2D edges, the units are HEAT/(TIME *
TEMPERATURE* AREA). For contact between 3D edges and vertices, the units are HEAT/(TIME *
TEMPERATURE). For more information about the units used for thermal contact conductance coefficient,
see and in the section of the Mechanical User's Guide.
Electrical Conductance
To take into account the surface interaction for electric contact in an electric conduction physics solution,
you need to specify the electric contact conductance (the real constant electric contact conductance).
Electric contact conductance is used to model current conduction between two contacting surfaces. To model
contact interaction between two surfaces where a small gap exists, define either the bonded contact or
no-separation contact options.
Property options include:
Program Controlled: This is the default setting. The program will calculate the value for the electric
contact conductance. The value will be set to a sufficiently high enough value (based on the electric
conductivities and the model size) to model perfect contact with minimal electric resistance.
Manual: You specify the electric contact conductance as a value greater than 0.
Note:
The Electric Analysis result, Joule Heat, is not supported when generated by nonzero contact resistance.
4.6.1.3.6. Stiffness
This section discusses the stiffness controls for contact behavior properties, including Stiffness update
frequency, Normal stiffness and Tangential stiffness.
For additional MAPDL specific information, see the following sections within in the Mechanical APDL Contact
Technology Guide:
Option
Description
Stiffness update
frequency
Allows you to specify if the program should update (change) the contact stiffness
during the solution.
If you choose any of these stiffness update settings, the program will modify the
stiffness (raise/lower/leave unchanged) based on the physics of the model (that is,
the underlying element stress and penetration). This choice is displayed only if you
set the Formulation to Augmented Lagrange or Pure Penalty, the two formulations
where contact stiffness is applicable.
An advantage of choosing either of the program stiffness update settings is that
stiffness is automatically determined that allows both convergence and minimal
penetration. Also, if this setting is used, problems may converge in a Newton-Raphson
sense, that would not otherwise.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
169
Physics Solution
Option
Description
Property options include:
Program controlled: (This is the default setting). This setting defaults to Never
for contacts between two rigid bodies and to Each iteration (default range) for
others.
Each iteration (default range): Sets the program to update stiffness at the end
of each equilibrium iteration. This choice is recommended if you are not sure what
stiffness value to use in order to obtain good results.
Each iteration (nominal refinement): Sets the program to update stiffness at
the end of each equilibrium iteration, with nominal changing of the value range.
Each iteration (aggressive refinement): Sets the program to update the stiffness
at the end of each equilibrium iteration, but compared to the other Each iteration
options, this one allows for the most aggressive changing of the value range.
Never: Turns off the program's automatic Stiffness Update feature.
Normal Stiffness
The amount of penetration between contact and target surfaces depends on the normal
stiffness. Higher normal stiffness values decrease the amount of penetration, but can
lead to ill-conditioning of the global stiffness matrix and to convergence difficulties.
Lower normal stiffness values can lead to a certain amount of penetration and produce
an inaccurate solution. Ideally, you want a high enough normal stiffness that the
penetration is acceptably small, but a low enough normal stiffness that the problem
will be well-behaved in terms of convergence.
This property is displayed only if you set the Formulation to Augmented Lagrange or
Pure Penalty, the two formulations where contact stiffness is applicable. You can either
let the program determines the contact normal stiffness or define its value yourself.
Program controlled: This is the default setting. The program allows the solver
determine the appropriate normal stiffness value.
Physical value: Enter the Normal Stiffness as a positive value. This entry is in force
per unit volume.
Factor: Enter the Normal Stiffness factor. The usual factor range is from 0.01-1.0
with a default of 1.0. The default value is appropriate for bulk deformation. If bending
deformation dominates, use a smaller value (0.1). A smaller value provides for easier
convergence but with more penetration.
Tangential Stiffness The amount of slip in sticking contact depends on the tangential stiffness. Higher
tangential stiffness values decrease the amount of slip, but can lead to ill-conditioning
of the global stiffness matrix and convergence difficulties. Lower tangential stiffness
values can lead to a certain amount of slip and produce an inaccurate solution. Ideally,
you want a high enough tangential stiffness that the slip is acceptably small, but a
low enough stiffness that the problem will be well-behaved in terms of convergence.
This choice is displayed only if you set the Formulation to Augmented Lagrange or
Pure Penalty, the two formulations where contact stiffness is applicable.
Program Controlled: This is the default setting. The Tangential Stiffness Factor
is calculated by the program.
Physical Value: Enter the Tangential Stiffness as a positive value . This entry is in
force per unit volume.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
170
Physics Solution
Option
Description
Factor: Enter the Tangential Stiffness factor. The usual factor range is from 0.01-1.0
with a default of 1.0. The default value is appropriate for bulk deformation. If bending
deformation dominates, use a smaller value (0.1). A smaller value provides for easier
convergence but with more slip.
Description
Friction heat
factor
Sets the fraction for frictional dissipated energy converted into heat. Specify a value
between 0 and 1 inclusive.
Heat distribution Sets a weight factor for the distribution of heat between contact and target surfaces.
factor
Specify a value between 0 and 1 inclusive.
4.6.1.3.8. Elastic Slip Tolerance
The Elastic Slip Tolerance property allows you to set the allowable elastic slip value for a contact when the
Formulation is set to Pure Penalty, Normal Lagrange, and Augmented Lagrange.
Note: Elastic Slip Tolerance is not applicable when the contact Type is set to Frictionless or No Separation.
The following options can be selected from the Define by property:
Program controlled: This is the default setting. The Elastic Slip Tolerance Value is calculated by the
application.
Physical value: Enter the Elastic Slip Tolerance Value directly in the Value field. This entry is a length
measurement (foot, meter, etc.).
Factor: Enter the Elastic Slip Tolerance Factor directly in the Value field. The default value for Factor is
1.0. This entry is unitless.
Value: The Value field is shared by Factor and Physical Value. A Physical Value value is multiplied by
-1 when it is written out into the input file, and Factor value is written out as is. As a result, negative
Physical Value will be interpreted as a factor by the solver and a negative Factor value will be interpreted
as an absolute value in solver units. This behavior is inline with the MAPDL solver in which positive value
is considered as a factor whereas a negative value is considered as an absolute value.
For additional information, see , specifically the section of the Contact Technology Guide.
4.6.1.3.9. Penetration Tolerance
The Penetration Tolerance property allows you to set the penetration tolerance value for a contact when the
formulation is set to Program Controlled (for Frictionless, Rough, and Frictional contacts) or to Augmented
Lagrange, or if the formulation is set to Pure Penalty and the Stiffness update frequency is set to one of
the Each iteration options.
Property options include:
Program controlled: This is the default setting. The Penetration Tolerance is calculated by the program.
Physical value: Enter the Penetration Tolerance Value directly in the Value field. This entry is a length
measurement (foot, meter, etc.). You can input any value (positive, zero or negative).
171
Physics Solution
Factor: Enter the Penetration Tolerance Factor directly in the Value field. Note that the "Value" property
appears when the "Define by" property is set to "Physical value" or "Factor".
Value: The Value field is shared by Factor and Physical Value. A Physical Value value is multiplied by
-1 when it is written out into the input file, and Factor value is written out as is. As a result, negative
Physical Value will be interpreted as a factor by the solver and a negative Factor value will be interpreted
as an absolute value in solver units. This behavior is inline with the MAPDL solver in which positive value
is considered as a factor whereas a negative value is considered as an absolute value.
For additional information, see , specifically the section of the Contact Technology Guide (Surface-to-Surface
Contact).
4.6.1.3.10. Numerical Damping
A contact you define may initially have a near open status due to small gaps between the element meshes
or between the integration points of the contact and target elements. The contact will not get detected
during the physics solution and can cause a rigid body motion of the bodies defined in the contact. The
stabilization damping factor provides a certain resistance to damp the relative motion between the contacting
surfaces and prevents rigid body motion. This contact damping factor is applied in the contact normal direction
and it is valid only for frictionless, rough and frictional contacts. The damping is applied to each load step
where the contact status is open. The value of the stabilization damping factor should be large enough to
prevent rigid body motion but small enough to ensure a solution.
You can specify a normal and tangential damping factor, and a value of 1 is usually appropriate. If this factor
is 0 (default), the damping is activated only in the first load step (KEYOPT(15) = 0, the default). If its
value is greater than 0, the damping is activated for all load steps.
For more information, see in the Contact Technology Guide.
4.6.1.3.11. Interface Gap Adjustment
The Initial interface treatment property, available under Interface Gap Adjustment, defines how the
contact interface for the pair is treated. It becomes active when contact Type is set to Frictionless, Rough,
or Frictional (nonlinear contact).
When active, the Initial Interface Treatment option provides the following controls.
Adjust to touch: Any initial gaps are closed and any initial penetration is ignored creating an initial stress
free state. Contact pairs are "just touching".
This setting is useful to make sure initial contact occurs even if any gaps are present (as long as they are
within the pinball region). Without using this setting, the bodies may fly apart if any initial gaps exist.
Although any initial gaps are ignored, gaps can still form during loading for the nonlinear contact types.
Offset with ramping: Models the true contact gap/penetration plus the offset value you specify. A positive
value moves the contact closer together (increase penetration/reduce gap) and a negative value moves
the contact further apart.
This setting is the closest to the default contact setting used in the Mechanical APDL application except
that the loading is ramped. Using this setting will not close gaps. Even a slight gap may cause bodies to
fly apart. Should this occur, use a small contact offset to bring the bodies into initial contact.
Offset without ramping: This is the default setting. This option models the true contact gap/penetration
plus the offset value you specify. However, in this case loading is not ramped. A positive value moves the
contact closer together (increase penetration/reduce gap) and a negative value moves the contact further
apart.
You can access the sub-stepping method through the command window. Sub-stepping allows you to specify
if changes in contact behavior should control automatic time stepping. For more information, see in the
Workbench User's Guide.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
172
Physics Solution
173
Physics Solution
3. For the General joint type, specify the degrees of freedom for translation and rotation under Degrees
of freedom.
All the degrees of freedom are fixed by default. You can set the Translation options to fixed or free,
and the Rotation option to fixed, all free, or free about the X, Y, or Z axis.
4. Optionally, for fixed joints, specify the Formulation.
You can leave the formulation to be controlled by ANSYS AIM, or you can select a weld joint, rigid
beam, or rigid link formulation. If the formulation is set to a rigid link or beam, you can then specify
the reduction method.
For more information, see Fixed Joint Formulation on page 174.
4.6.2.1.1. Fixed Joint Formulation
You can leave the formulation to be controlled by ANSYS AIM, or you can select a weld joint, rigid beam, or
rigid link formulation. If the formulation is set to a rigid link or beam, you can then specify the reduction
method.
The reduction methods are:
The Direct elimination method, wherein the kinematic constraints are imposed by internally generated
constraint equations. The degrees of freedom of a dependent node in the equations are eliminated in favor
of an independent node.
In general, you should use the direct elimination method when it is available since the degrees of freedom
at the dependent nodes are eliminated, thereby reducing the problem size and solution time.
The Lagrange multiplier method, wherein the kinematic constraints are imposed using Lagrange
multipliers. In this case, all the participating degrees of freedom are retained.
Use the Lagrange multiplier method when the direct elimination method is not available or not suitable for
the analysis.
The disadvantage of the Lagrange multiplier method is that the Lagrange multipliers are additional solution
variables and, hence, the problem size and solution time become larger when compared with the direct
elimination method.
4.6.2.1.2. Joint Types
You can create the following types of joints:
Fixed
Hinge
Cylindrical
Translational
Slot
Universal
Spherical
Planar
General
Fixed Joint
Fixed Joints support all degrees of freedom.
Hinge Joint
Constrained degrees of freedom: UX, UY, UZ, ROTX, ROTY
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
174
Physics Solution
Example:
Cylindrical Joint
Constrained degrees of freedom: UX, UY, ROTX, ROTY
Example:
Translational Joint
Constrained degrees of freedom: UY, UZ, ROTX, ROTY, ROTZ
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
175
Physics Solution
Example:
Slot Joint
Constrained degrees of freedom: UY, UZ
Example:
Universal Joint
Constrained degrees of freedom: UX, UY, UZ, ROTY
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
176
Physics Solution
Example:
Spherical Joint
Constrained degrees of freedom: UX, UY, UZ
Example:
Planar Joint
Constrained degrees of freedom: UZ, ROTX, ROTY
177
Physics Solution
Example:
General
With the General joint, you can set the constrained degrees of freedom and the rotation.
All the degrees of freedom are fixed by default. You can set the Translation options to fixed or free, and the
Rotation option to fixed, all free, or free about the X, Y, or Z axis.
178
Physics Solution
Overlap Faces
Non Overlap Faces
The following figure illustrates an example of nonoverlap.The enhanced figure shows the two 'parent' surface
meshes on the region interface. The red mesh that does not intersect with the green faces are the nonoverlap
faces for the red side. There are no nonoverlap faces for the green side in this example.
179
Physics Solution
Region interfaces provide a means to manage different types of discontinuities between one or more
different physics regions within the same Physics task.
To add a new physics region interface:
1. In the Physics task, select Interface Conditions > Add > Region Interface to open the Region
Interface panel.
2. In the Region Interface panel, select a physics region for the first side of the region interface.
a) Select the topological locations (using either graphical selection or through the use of selection
sets) for the first side of the region interface.
Regions of interest can be more exposed, while other regions are hidden from view, when you enable
the Automate Region Hiding option in the graphics window context menu. When enabled, the view
in the graphics window changes based on the selected physics region.
3. Select a physics region for the second side of the region interface.
a) Select the topological locations (using either graphical selection or through the use of selection
sets) for the second side of the region interface.
4. (optional) To change the Reference Frame, use the drop-down list to select an existing reference
frame or to create a new one.
5.
(optional)
To change how intersecting faces are handled, use the options under Intersection
Control. For instance:
Interface geometries match: Enable this option if the geometries on the two sides of the interface
match, to prevent the possibility of non-overlapping faces being generated during intersection.
Smallest area tolerance factor: Specify a threshold value, defined as the parent region area
magnitude, that dictates whether intersected faces should be ignored if their area falls below the
specified value.
Bound extension factor: A bounding box is used to search for and identify possible face
intersections. Since the box has a finite size, use this parameter to control the amount by which the
bounding box should be made larger (as a fraction of the original span). Note that a larger bounding
box impacts the time required to identify face intersections.
Normal tolerance factor: Specify a threshold value that dictates whether parent regions that are
separated by a distance should be ignored for intersection if that distance is above the specified
value.
Angular tolerance: Specify a threshold angle that dictates whether parent region faces whose
normals deviate from each other should be ignored for intersection if that deviation is above the
specified threshold.
4.6.3.2. Region Interface Statistics
Prerequisites:
To view region interface statistics, your simulation should contain region interfaces conditions.
You can view a summary of the region interface statistics when solving the physics. This will provide
information about non-conformal interfaces in the mesh. To access this information, go to the Transcript
tab, as shown below.
180
Physics Solution
181
Physics Solution
In the Workflow tab, the selected source region's Physics Solution task automatically connects to the
structural Physics Solution task. This connector has to exist between the two Physics Solution tasks
for the physics coupling interface to work.
3. In the physics coupling panel, under Location (source), the expression AllCouplingSourceFaces()
automatically selects all of the source regions walls and any region interfaces.
You can refine the source locations by selecting walls or selection sets from the location drop-down.
Selection sets with faces that are part of walls are the only ones available in the drop-down.
When you update the Physics Solution task, the physics coupling interface is applied, and data from the
source mesh is mapped to the structural mesh. The physics coupling transcript has diagnostic information
about the mapping and data transfer.
4.6.4.2. Transfer Temperature Data using the Physics Coupling Interface
Transfer temperature data from a solid region that is part of a fluid-solid heat transfer simulation into
bodies in a structural simulation using the physics coupling interface.
Prerequisites:
Before setting up the physics coupling interface, you must:
1. Set up the Physics Solution task for the fluid-solid heat transfer simulation from which you want to
transfer temperatures. Ensure the solid region's physics type is set to Thermal.
2. Set up the Physics Solution task that is receiving the temperature data. Make sure that the physics
region's physics type is set to Structural. This physics region cannot include the Thermal physics
type. If it does, the physics coupling interface will not transfer temperature data.
Physics Solution > Interface Conditions > Physics Coupling
To set up the physics coupling interface in the structural Physics Solution task:
1. Select bodies in the model for Location (target). The bodies you select will receive the temperature
data.
2. For the Physics region on source, use the drop-down to select the physics region from which you
want to transfer data. Select a solid region that is part of a fluid-solid heat transfer simulation.
In the Workflow tab, the selected source region's Physics Solution task automatically connects to the
structural Physics Solution task. This connector has to exist between the two Physics Solution tasks
for the physics coupling interface to work.
182
Physics Solution
3. In the physics coupling panel, under Location (source), the expression AllCouplingSourceBodies()
automatically selects all of the source region's bodies.
You can refine the source locations by selecting selection sets. Selections sets with bodies that are
part of the source region are the only ones available in the drop-down.
When you update the Physics Solution task, the physics coupling interface is applied, and data from the
source mesh is mapped to the structural mesh. The physics coupling transcript has diagnostic information
about the mapping and data transfer.
4.6.4.3. Physics Coupling Transcript
The physics coupling transcript is available in the Transcript tab on the view panel at the bottom of your
screen.
For each physics solution that has one or more physics coupling interfaces, one physics coupling transcript
is automatically created. The physics coupling transcript keeps information from each update of the Physics
Solution task. Information from the most recent update is at the bottom of the transcript file.
Once the physics solution has solved, the transcript has the following information for each physics coupling
interface:
The Interface Definition table with a summary of the participants that the interface connects and the
variable transferred.
The Interface Mapping Diagnostics table with diagnostic information about the mapping on the interface.
Use this information to assess:
the accuracy of the force transfer, or
the accuracy of the temperature transfer.
Error messages if an error with physics coupling occurred.
183
Physics Solution
|
Force.z Sum [N] :
-4.431034E-02 |
| Target
|
|
Percent Overlap Area :
100.0 |
|
Force.x Sum [N] :
4.205215E-02 |
|
Force.y Sum [N] :
-8.586374E-06 |
|
Force.z Sum [N] :
-4.431029E-02 |
+==========================================================================+
The Source mesh and the Target mesh have the following diagnostic information:
The Percent Overlap Area of the source and target meshes. Data is transferred from only the overlapping
areas of the source mesh. Ideally, the percentage overlap for both meshes will be close to 100.
The sum of the components of the data, for example Sum Force.x [N], is used to assess the accuracy
of a conservative data transfer.
The sum of the components on the source mesh is the sum of the data on the entire source mesh,
including overlapping and non-overlapping areas of the mesh.
The sum of the components on the target mesh is the sum of the data on only the overlapping areas of
the target mesh. For conservative data transfers, a value of zero is applied on the non-overlapping areas
of the target mesh.
Assess the accuracy of the conservative data transfer on the physics coupling interface:
A significant difference between the sum on the source and target means that the data is not being
transferred accurately. A difference of 1 or 2 percent may be significant, but this range will depend on
your specific case, especially if there are areas on your source mesh that do not overlap with the target
mesh.
If the source's percentage overlap area is 100, then all of the source data is mapped onto the target mesh.
This decreases the likelihood of a significant difference between the sum on the source and target.
If the source's percentage overlap area is less than 100, then only part of the source data is mapped onto
the target mesh. This increases the likelihood of a significant difference between the sum on the source
and target.
To improve the accuracy of the data transfer:
Ensure that the source and target meshes overlap for the areas where you want data transferred.
Refine the meshes on the source and target surfaces. Coarse meshes on curved surfaces can create gaps
between the two meshes, which affects the mapping between the meshes.
Ensure the meshes on the source and target of the physics coupling interface are as identical as possible.
4.6.4.3.2. Assessing the Accuracy of the Temperature Transfer
Once the physics solution is solved, use the Interface Mapping Diagnostics table to assess the accuracy of
the profile-preserving mapping that is used to transfer temperature on each physics coupling interface.
Information from the most recent solution process is at the bottom of the physics coupling transcript.
An example of the Interface Mapping Diagnostics table:
+==========================================================================+
|
PhysicsCoupling 1
|
|
Interface Mapping Diagnostics
|
+==========================================================================+
| Source
|
|
Temperature Average [K] :
6.300000E+01 |
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
184
Physics Solution
| Target
|
|
Temperature Average [K] :
6.300000E+01 |
+==========================================================================+
The Source mesh and the Target mesh have the following diagnostic information:
The average of the data, for example Temperature Average [K], is used to assess the accuracy of the
data transfer.
The average of the temperature on the source mesh is the average of the data on the entire source
mesh, including volumes that dont overlap the target mesh.
The average of the temperature on the target mesh is the average of the data on the entire volume of
the target mesh, as the entire mesh receives data.
Assess the accuracy of the profile-preserving data transfer on the physics coupling interface:
A significant difference between the average on the source and target means that the data is not being
transferred accurately. A difference of 1 or 2 percent may be significant, but this range will depend on
your specific case, especially if there are areas on your source mesh that do not overlap with the target
mesh.
To improve the accuracy of the data transfer:
Ensure that the source and target meshes overlap for the volumes where you want data transferred.
Ensure the meshes on the source and target of the physics coupling interface are as identical as possible.
4.6.4.4. Mapping
Mapping is the process of using data on a source mesh to calculate data on a target mesh. Mapping takes
place on each physics coupling interface during the Physics Solution tasks solution process.
There are two types of mapping:
Conservative mapping for conservative variables such as force. The goal of the conservative algorithm is
to minimize the difference between the summation of the data (locally and globally) on the source and
target meshes.
Profile-preserving mapping for non-conservative variables such as temperature. The goal of this algorithm
is to minimize the difference between the profile, or distribution of data, on the source and target meshes.
Mapping is handled differently on the overlapping and non-overlapping areas of the source and target
geometries.
After the mapping takes place, use the mapping diagnostics to assess the accuracy of the force transfer or
the accuracy of the temperature transfer.
4.6.4.4.1. Mapping on Overlapping Source and Target Geometries
Conservative Data Transfers (Force)
For conservative mapping, data is scattered from the source side and collected to the target side of the
interface. Mapping weights used to interpolate the data are derived from the area fractions of the source
projected on the target mesh elements.
185
Physics Solution
In the image above, the data on the source mesh (blue) is scattered using the mapping weights and transferred
to the target mesh (red). In this example, the sum on both the source and target meshes is 30.
Profile-Preserving Data Transfers (Temperature)
For profile-preserving mapping, data profiles on the source side are used as bases to calculate data on the
target side of the interface. The target data is calculated from the nearest source elements and mapping
weights. The mapping weights are derived from the shape functions used to define the source data profiles.
In the image above, each node on the target mesh (red) is first matched to the nearest element on the
source mesh (blue). The data profile on the source mesh is then used to calculate the data on the target
mesh. In this example, the average on the source side is 25 and the average on the target side is 23.5.
4.6.4.4.2. Mapping with Non-Overlapping Source and Target Geometries
Geometries that do not overlap perfectly can be used for the physics coupling interface. Data transfers on
the non-overlapping areas of the geometry will be handled differently than on the overlapping areas.
Conservative Data Transfers (Force)
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
186
Physics Solution
For conservative mapping, two conditions of non-overlapping source and target geometries must be
considered:
Wherever the target side of the interface does not overlap with the geometry of the source side of the
interface, target data is assigned values of zero.
Wherever the source side of the interface does not overlap with the geometry of the target side of the
interface, source data is not applied to the target.
In the example above, the non-overlapping elements on the top of the source mesh (a) do not transfer data
to the target mesh. The non-overlapping elements on the bottom of the target mesh (c) receive a value of
zero.
Use the mapping diagnostics to assess the accuracy of the force transfer.
Profile-Preserving Data Transfers (Temperature)
For profile-preserving mapping, two conditions of non-overlapping source and target geometries must be
considered:
Wherever the target side of the interface does not overlap with the geometry of the source side of the
interface, target data is assigned the value from the nearest source-side element.
Wherever the source side of the interface does not overlap with the geometry of the target side of the
interface, source data is not applied to the target.
187
Physics Solution
In the example above, the non-overlapping elements on the top of the source mesh (a) do not transfer data
to the target mesh. The non-overlapping elements on the bottom of the target mesh (c) receive data from
the nearest element on the source mesh. Notice that all of the elements on the target mesh are matched to
an element on the source mesh.
Use the mapping diagnostics to assess the accuracy of the temperature transfer.
188
Physics Solution
4.7.1.1. Launching the Solver on Multiple Processes
Physics > Solver Options > Solver Settings > Launch Controls
Launch controls allow you to control the computational resources used by a simulation when running in
parallel. The launch controls for the solver are populated with default settings and values.
To change the default launch control settings:
Increase the Number of processes if you want to run on more than 2 processes.
Solver files directory displays the path and the organization of files and subdirectories beneath
the application directory.
4.7.1.2. Choosing a Gradient Method
Physics > Solver Options > Numerical Controls > Discretization Control > Gradient method
Gradients are needed for constructing values of a scalar at the cell faces, as well as for computing
secondary diffusion terms and velocity derivatives.
1. In the Numerical Controls panel, expand Discretization Control and select a Gradient method.
2. Use the guidelines below to select the most appropriate gradient method for your case. Note that any
gradient method can be applied to all mesh types, but accuracy and computational expense may be
affected.
Option
Description
Automatic
189
Physics Solution
2. If you choose to change the advection scheme, you can make the change either at the global level or
per
Advection Equation.
The default advection scheme is Second order upwind for all equations except turbulence, which
uses First order upwind. These settings are usually appropriate. In some cases, accuracy can be
further improved by changing the turbulence equations to Second order upwind, although this may
also make convergence more difficult to achieve. (The advection scheme tends to be less important
for turbulence than other equations, because turbulence tends to be source-dominated.)
3.
First to higher order blending can be enabled if you want to blend between the first and
second order upwind schemes. The degree of blending is controlled by the Blend factor, where the
value of 0 recovers first order upwind and 1 recovers second order upwind. Using a value less than 1
will reduce accuracy, but in some cases may lead to improved convergence.
4.7.1.4. Choosing a Pressure Scheme
Physics > Solver Options > Numerical Controls > Discretization Control > Pressure Scheme
The pressure scheme controls how the solver interpolates pressure to faces when discretizing the pressure
gradient term in momentum. The default setting of Automatic chooses the best available scheme based
on the flow physics and displays this as the Current pressure scheme.
1. In the Numerical Controls panel, expand Discretization Control > Pressure Scheme to expose
the settings.
2. To change from the default setting of Automatic, use the following guidelines when selecting a
scheme:
Option
Description
First order
Second order
PRESTO
190
Physics Solution
The choice for pressure velocity coupling controls how the pressure and velocity fields are advanced in
order to achieve a converged solution.
1. In the Numerical Controls panel, expand Solution Control > Coupling Control and select a
Pressure velocity coupling method.
2. The default setting of Coupled is usually the most robust and efficient algorithm for steady-state
flows. However, you can select one of the segregated schemes. The table below can help guide you
in making a choice:
Option
Description
Coupled
SIMPLE
SIMPLEC
PISO
Controlling Advancement on page 191 describes additional controls that affect convergence behavior.
4.7.1.6. Controlling Advancement
Physics > Solver Options > Numerical Controls > Solution Control > Advancement Control
You can fine-tune the solution advancement process by choosing the type and magnitude of
under-relaxation applied to the discretized equations.
1. In the Numerical Controls panel, under Solution Control > Coupling Control, if you are using
the default Coupled pressure-velocity coupling scheme, under Advancement Control you can
under-relax the flow equations either using the Pseudo transient method or a Courant number.
The pseudo transient method applies a form of under-relaxation which is similar to the transient term
discretization for a time-dependent calculation, using a global timescale for all cells. It therefore
approximates the physical transient behavior of the flow. The Courant number uses a local timescale,
which potentially differs in each cell.
By default, the choice of under-relaxation for energy and turbulence equations is the same as that for
flow. Other choices can be made for energy and turbulence by turning filtering off
. The available
choices are Pseudo transient, Courant number, and Relaxation factor. Courant number and
Relaxation factor are alternative methods of expressing implicit relaxation and are related by the
equation:
Relaxation factor=1/(1+1/Courant number)
191
Physics Solution
Option
Description
Pseudo transient
Courant number
2. Use the table below for guidance on applying the pseudo transient options.
If using the pseudo-transient method, the solver requires a global time scale to apply the
under-relaxation. The global timescale can often be estimated by taking a relevant physical length
scale divided by a velocity scale.
Table 4.7.1.6.1. Pseudo-Transient Settings
Option
Description
Verbosity
192
Physics Solution
Option
Description
situations, particularly internal flows. In some
cases (such as a 2D geometry modeled as a thin
3D geometry) this estimate can give slow
convergence, and the Aggressive approach
(which sets the length scale to the maximum
extent) may be better. Alternatively, if you know
a relevant length scale (e.g., chord length for an
external aerodynamic calculation), use the User
specified length scale calculation.
3. If you are using one of the segregated pressure-velocity coupling schemes (SIMPLE, SIMPLEC, or
PISO), the default value for the implicit relaxation factor is acceptable for most problems. If you
encounter convergence difficulties, you can try lowering either the Implicit relax factor under
Advancement Control > Flow Control, or the explicit relaxation factor for pressure.
4.7.1.7. Setting Explicit Relaxation Factors
Physics > Solver Options > Numerical Controls > Solution Control > Explicit Relaxation
After the linear system of equations is solved, the solution fields are corrected. The corrections may be
under-relaxed using explicit relaxation. The default under-relaxations depend on the pressure velocity
coupling scheme and have been chosen to give robust and rapid convergence for a wide range of cases.
When using the coupled solver, altering these relaxation factors is generally not recommended; the
pseudo-timescale or Courant number should be changed instead, as described in Controlling Advancement
on page 191.
When using the segregated solver, if your solution is unstable or diverging, it may be helpful to reduce
the under-relaxation factors. In some situations it may also be helpful to reduce the under-relaxation
factor for temperature or density (e.g., flows with strong density variations).
4.7.1.8. Applying High Order Term Relaxation
Physics > Solver Options > Numerical Controls > Solution Control > High Order Term Relaxation
193
Physics Solution
effectively reduce high wavelength errors only. But the remaining low wavelength errors can be made
to appear as high wavelength errors by agglomerating the original equations to form a coarse level
equation set. Doing this to a hierarchy of coarse levels, together with a strategy to cycle between the
levels, ensures that all error modes are effectively reduced. The details of the multigrid solver are
controlled by a number of settings as described below, but there will usually be no need to modify
them.
Option
Description
Verbosity
Cycle type
Termination Value
Restriction Value
Stabilization
Factor
Pre sweeps
Post sweeps
Sweeps
Maximum cycles
Coarsening rate
194
Physics Solution
4.7.1.10. Setting Solution Limits
Physics > Solver Options > Numerical Controls > Solution Control > Solution Limits
Description
Local scaling
Global scaling
195
Physics Solution
Option
Description
None
Description
None
Automatic
3. Under Monitor frequency, if you chose to monitor the residuals, enter the Iteration frequency
at which you want the residual reporting to happen.
4.7.1.12. Solving the Physics
Physics > Solver Options > Solution Controls > Calculation Control > Iteration Control
During the solution process you can monitor convergence by checking residuals. The default settings are
a good start and are generally acceptable in most cases.
In the Solution Controls panel
1. Under Calculation Control adjust the Solution advancement exponent towards conservative (a
negative value) or aggressive (a positive value) to control the rate at which the solver converges
toward the solution.
2. Under Iteration Control, enter the Maximum number of iterations you would like the solver to
run through. A default value is set as a starting point. If your solution does not converge, choose a
larger number of iterations or modify the convergence criteria.
You can also force the solver to perform a Minimum number of iterations.
Note: Should your solution require an increased number of iterations to run through in order to reach
convergence, the solver will start the solution from the beginning and will not pick up where your
previous solution stopped.
3. Under Convergence Criteria you can change the residual tolerance. You can also change it per
equation under
Equation class tolerance. Increasing the tolerance will lead to a smaller
number of iterations, but the solution may not be sufficiently converged. Decreasing the tolerance will
196
Physics Solution
require a larger number of iterations. Judging Convergence on page 199 provides tips and guidance
on how to obtain better solution convergence.
4. In the Physics panel, click Solve Physics to update the Physics Solution task and generate a solution.
Note: After you run your solution, you may notice that tetrahedral and prism cells in the mesh have
been converted to polyhedral cells, which leads to improved solver convergence.
4.7.1.13. Monitoring Solution Quality
You can monitor convergence of your solution graphically, while it is progressing, using the Solution
Quality tab in the View panel. The automatically generated Solution Quality chart tracks the value of
residuals throughout the solution iterations. A list of the residuals can be viewed in the Monitors grid table
that is accessible under Output in the Physics data panel. The residuals that are available depend on the
physics options that you have chosen. You can view numerical details about your solution quality in the
Transcript tab. For information on evaluating and changing the convergence criteria, see Judging
Convergence on page 199.
1. Click on the Solution Quality tab to see a chart showing the residuals that are available for your analysis.
197
Physics Solution
2. Hover over a plot on the chart to see the value of the residual at a particular iteration.
3. Click on a residual name above the chart to hide or show it in the chart.
198
Physics Solution
You can hide all but one of the residuals. If you try to hide all, then all will be shown. If you double
click on a residual name, it will hide all but that one.
4.7.1.14. Judging Convergence
The nonlinear equations governing fluid flow are solved using an iterative solution method. Convergence
refers to the point at which further iterations are no longer necessary. An important part of determining
whether your solution is appropriate is to judge whether the solution has converged to an acceptable level.
The primary tool for judging convergence is the solution quality monitor which is displayed in the Solution
Quality tab in the view panel. The monitor tracks the values of residuals during the solution iterations.
Residuals measure the amount by which a particular solution does not satisfy the discretized equations. If
all goes well, the residuals will drop toward zero as more iterations are performed. Iterations are terminated
when the residual convergence target has been reached for relevant equations or when the maximum number
of iterations have been performed. A solution that has converged is illustrated in the Figure below, in which
all relevant equations have dropped below the default residual target of 1.e-5 in 78 iterations.
Note: The turbulence equations (tke and tef) are excluded from the convergence check by default.
199
Physics Solution
Figure 4.7.1.14.1. Solution Quality Monitor Displaying Residuals for a Converged Solution
You can also judge convergence using the Transcript tab, which shows the residual values in numerical
format. The transcript will indicate whether or not a solution is converged.
200
Physics Solution
Non-Converged Residual
Behavior
Recommendation
201
Physics Solution
Non-Converged Residual
Behavior
Recommendation
Residuals are increasing or diverging Divergence is indicated by strongly oscillating or increasing residuals.
Residuals which suddenly drop toward zero in a single iteration can
also indicate divergence. This is because residuals are scaled by the
solution range, which grows rapidly during divergence. If this occurs,
adjust the Solution advancement exponent towards conservative
(a negative value, such as -0.5 or -1.0).
Additionally, it is helpful to evaluate the solution and mesh in the
area where the maximum residuals are located, as described above.
202
Physics Solution
203
Physics Solution
204
Physics Solution
Setting General Solver Options
On the Solver Settings panel, the settings available define the solver, such as the solver unit system and
solver type. For a nonlinear simulation, you can set the global nonlinear options for all solution steps.
Specifying Launch Controls
On the Launch Controls panel, you can control how the solver is launched and how the solver data is
managed. Properties include solver file locations, file names, and distributed solve controls.
Defining Output Specifications
In the Output Controls panel, you can control how the solution data is written to the output file by defining
one or more output specifications, which set the solution location, output type, and frequency. These output
specifications are processed sequentially based on the order they are listed in the Output Controls panel.
By default, three output specifications are created for a static structural physics solution:
Nodal DOF Solution
Nodal Reaction Loads
Element Nodal Stresses
If you want to add Strain or other output types to the result file, you can create additional Output Controls
objects for the same location.
Setting Nonlinear Options
You can apply global nonlinear controls for all solution steps, such as the Newton-Raphson setting, on the
Solver Settings panel. On the Solution Progression panel, you can apply nonlinear settings that are
applied per solution step.
4.7.2.1. Configuring the Solver for Static Structural
Physics > Solver Options > Solver Settings
Default solver settings are generated when you set up your physics regions, however you may want to
modify some of the settings.
To change the default solver settings:
1. For Equation solver type, select the solver type.
The default is Program controlled, which lets the program choose the type of solver appropriate
for your model. However, you can explicitly select one of the following:
Direct: More effective with thin flexible models.
Iterative: Best for bulky models.
2. For Newton Raphson method, select the method you want to use.
Full: The solver uses the full Newton-Raphson procedure, in which the stiffness matrix is updated
at every equilibrium iteration.
Modified: The solver uses the modified Newton-Raphson technique, in which the tangent stiffness
matrix is updated at each substep. The matrix is not changed during equilibrium iterations at a
substep. This option is not applicable to large-deformation analyses. Adaptive descent is not available.
Initial stiffness: The solver uses the initial stiffness matrix in every equilibrium iteration. This
option can be less likely to diverge than the full option, but it often requires more iterations to achieve
convergence. It is not applicable to large-deformation analyses. Adaptive descent is not available.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
205
Physics Solution
Unsymmetrical: The program uses the full Newton-Raphson procedure, in which the stiffness
matrix is updated at every equilibrium iteration. In addition, it generates and uses unsymmetric
matrices that you can use for any of the following:
If you are defining an unsymmetric material model, you would need this method to fully use the
property you defined.
If you are running a contact physics solution, an unsymmetric contact stiffness matrix would fully
couple the sliding and the normal stiffnesses. You should first try the Full method, then try this
method only if you experience convergence difficulties. (Using an unsymmetric solver requires
more computational time to obtain a solution than if using a symmetric solver.)
For more information, see and in the .
3. Additionally, you can modify the following settings:
If you want to... then set...
More information:
Select a unit
system for the
solver.
Solver unit
system
You can leave the default setting, Active Unit System, or choose
one of the standard unit systems defined in the Unit Systems
window. When you leave the default, Active Unit System, the
active unit system chosen in the Unit Systems window is used.
Select File icon > Units to confirm that the units displayed are
what you expect.
If you do not specify a unit system, in either the Unit Systems
window or here in the solver settings, ANSYS AIM selects one of
six possible standard unit systems and converts all quantities into
that system. The standard unit systems include Metric and the
Consistent systems (CGC, NMM, uMKS, BIN, BFT); see the Unit
Systems window for a listing.
Use large
deflection.
Large
deflection
206
Physics Solution
If you want to... then set...
More information:
Nonlinearities, elements that operate in the nodal coordinate
system, and axisymmetric or generalized plane strain elements
are not allowed. Models with both 2-D and 3-D element types or
with symmetry boundary constraints are not recommended. Loads
may be input as usual. Displacements and stresses are calculated
as usual. Symmetry models are not valid for inertia relief.
then set...
More information:
Solver mode
Distributed solve
Job name
207
Physics Solution
4.7.2.3. Controlling Output Data for Static Structural
Physics > Solver Options > Output Controls
The output specification set in the Output Controls panel determines how the solution data is written
to the output file. By default, three output specifications are created in the Output Controls object for
Static Structural physics solution. The three default output types are set to:
Output Type
Which Stores
Displacement
Force Reaction
Stress
The Frequency is set by default to All Time Points. However, if you want to add other output types
to the result file, you can modify these output specification or create additional Output Controls for the
same location.
1. Define the location within the model for which you want the solution information written in the output
file.
The default is Everywhere(). You can also specify the AllBodies() expression for all the bodies
defined in the Physics Region, or select one or more bodies from the model.
2. For Output type, select a solution type.
The options available are based on the physics and calculation types.
3. For Frequency, select how often the solver should write the solutions results to the output file.
Available options are:
All Time Points: Writes the solution information for every sub step. This is the default option.
Last Time Point: Writes the solution information only for the last sub step.
Equally Spaced Time Points: Writes the solution information for up to a specified number of
equally spaced solutions. This option only applies to Static or Transient analyses when the Automatic
Time Stepping is enabled. For this option, specify a nonzero positive number for the equally spaced
time points.
Specified Recurrence Rate: Writes the solution information at every specified interval and at the
last sub step of each load step. For this option, specify a nonzero positive number for the recurrence
rate.
Never: Suppresses writing of the specified solution type for all sub steps.
4. Repeat the previous steps for additional output specifications.
4.7.2.4. Solution Progression for Nonlinear Controls in a Static Structural Simulation
When solving nonlinear simulations, ANSYS AIM carries out an iterative procedure (equilibrium iterations)
at each substep, successfully solving the simulation only when the out-of-balance loads are less than the
specified convergence criteria. On the Solution Progression panel, you can define the number of substeps
in a solution step. You can then define the convergence controls and other solution progression properties.
For Substepping, you can define a range or a fixed number, or you can leave it up to the solver.
ANSYS AIM displays the convergence criteria appropriate for each physics type. For a static structural physics
solution, the convergence criteria consist of Force convergence, Moment convergence, Displacement
convergence, and Rotation convergence. You can set the convergence controls for each of these criteria.
208
Physics Solution
Under Additional Convergence Controls, you can also specify the number of equilibrium iterations at
each substep, activate a predictor on the degree-of-freedom solution for the first equilibrium iteration of
each substep, and control the line search program.
For Stabilization, you can specify the key for controlling nonlinear stabilization. Convergence difficulty due
to an unstable problem is usually the result of a large displacement for small load increments. Nonlinear
stabilization technique can help achieve convergence. Nonlinear stabilization can be thought of as adding
artificial dampers to all of the nodes in the system. Any degree of freedom that tends to be unstable has a
large displacement causing a large damping/stabilization force. This force reduces displacements at the
degree of freedom so stabilization can be achieved.
4.7.2.4.1. Specifying Solution Progression for Static Structural
Physics > Solver Options > Solution Progression
To set the controls for complete criteria:
1. From Substepping, set time stepping to a range or a fixed number, or leave it to be controlled by
the solver.
If substepping is controlled by the solver, a check is performed on non-convergent patterns, and the
physics of the simulation is also taken into account. In case of specified range, the solver marches
through the solution based on the initial, minimum, and maximum number of substeps.
If you choose Specified range, specify the initial, minimum, and maximum number of substeps.
If you choose Fixed number, specify the substep count.
2. For each convergence type under Convergence Controls, specify how you want convergence
handled.
The recommended setting, Program controlled, automatically calculates the value based on
external forces, including reactions.
If set to On, you can input convergence values in the fields that appear.
If set to Off, convergence is not checked.
3. If a convergence type is set to On, do the following:
a) For Tolerance (%), specify the tolerance value as a percentage.
Tolerance times Value determines the convergence criterion.
b) For Reference value specification, select if you want the solver to use a Reference value
when establishing convergence, or have the solver control the convergence based on a Minimum
reference value.
The Minimum reference value option is useful for analyses where the external forces tend to
zero. This can happen, for example, with free thermal expansion where rigid body motion is
prevented.
4. Specify any additional desired criteria.
If you want to...
then set...
More information:
Activate a predictor in a
Predictor-corrector You can set this to:
nonlinear analysis on the
Program controlled
degree-of-freedom solution for
Off
the first equilibrium iteration of
On after the first substep
each substep
On for all substeps
209
Physics Solution
If you want to...
then set...
More information:
Equilibrium
iterations
Stabilization >
Stabilization key
210
Physics Solution
Option
Description
Constant energy
dissipation
Activate stabilization and use the energy dissipation ratio as the control.
Reduced energy
dissipation
Activate stabilization and reduce the energy dissipation ratio linearly from the
specified or calculated value to zero at the end of the load step.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Constant damping Activate stabilization and use the damping factor as the control.
factor
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
Reduced damping
factor
Activate stabilization and reduce the damping factor linearly from the specified
or calculated value to zero at the end of the load step.
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
211
Physics Solution
Solver Settings
On the Solver Settings panel, the settings available define the solver and the options available to allow
you to run a physics solution. You also define the number of modes to extract. The default is to extract the
first six natural modes. Launch controls control how the solver is launched and how the solver data is
managed. Properties include solver file locations, file names, and distributed solve controls.
Specifying Launch Controls
On the Launch Controls panel, you can control how the solver is launched and how the solver data is
managed. Properties include solver file locations, file names, and distributed solve controls.
Output Controls
In the Output Controls panel, you can control how the solution data is written to the output file by defining
one or more output specifications, which set the solution location, output type, and frequency. These output
specifications are processed sequentially based on the order they are listed in the Output Controls panel.
By default, one output specification is created for a modal structural physics solution, with the output type
set to Nodal DOF Solution, which only stores mode shape in the result file. However, if you want to add
other output types such as Stress or Strain to the result file, you can modify these output specification or
create additional Output Controls for the same location.
Note:
In a modal structural physics solution, the solution consists of a deformed shape scaled by an arbitrary factor.
The actual magnitudes of the deformations and any derived quantities, such as strains and stresses, are
therefore meaningless. Only the relative values of such quantities throughout the model should be considered
meaningful. The arbitrary scaling factor is numerically sensitive to slight perturbations in the analysis; choosing
a different unit system, for example, can cause a significantly different scaling factor to be calculated.
4.7.3.1. Configuring the Solver for Modal Structural
Physics > Solver Options > Solver Settings
Default solver settings are generated when you set up your physics regions. You can modify these values
on the Solver Settings panel. These options are set for a given calculation run of a solver and not tied
to a topology.
To change the default solver settings:
1. Select the Show all properties toolbar button.
2. Under General solution controls, for Solver unit system, select a unit system for the solver. You
can leave the default setting, Active Unit System, or choose one of the standard unit systems defined
in the Unit Systems window.
When you leave the default, Active Unit System, the active unit system chosen in the Unit Systems
window is used. If you have not specifically chosen a unit system in the Unit Systems window, ANSYS
AIM selects one of six possible standard unit systems and converts all quantities into that system. The
selection of a consistent unit system guarantees that all quantities, inputs and outputs to the solver
can be interpreted correctly in terms of the units in the system. The standard unit systems include
Metric and the Consistent systems (CGC, NMM, uMKS, BIN, BFT); see the Unit Systems window for
a listing.
3. For Equation solver type, select the solver type. The default is Program Controlled, which lets
the program choose the type of solver appropriate for your model. However, you can explicitly select
one of the following:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
212
Physics Solution
For more information, see Choosing a Modal Solver Type on page 213.
4. For Max modes to find, specify the number of natural frequencies to solve for in a modal physics
solution. The default is to extract the first six natural frequencies.
The number of modes can be specified in two ways:
First N modes(N > 0)
First N modes in a selected range of frequencies
5. For Limit search to range, select whether you want to specify a frequency range within which to
find the natural frequencies. By default, this option is set to Yes for the Supernode equation solver
and No for other solvers.
If this option is set to Yes, enter minimum and maximum frequency range values in the Range
minimum and Range maximum fields. Within that range, the solver will strive to extract as many
frequencies as possible subject to a maximum specified in the Max modes to find field.
If this option is set to No, the solver will find all of the possible modes without any restrictions on the
frequency range.
4.7.3.1.1. Choosing a Modal Solver Type
By default, ANSYS AIM selects the optimal solver for your modal physics solution. However, you can also
explicitly select the Direct, Iterative, Subspace, or Supernode solver type.
All four solver types Direct, Iterative, Subspace, and Supernode are used to solve a modal system that
does not include any damping effects.
These solver types are intended to solve Eigen solutions with symmetric mass and stiffness. For a large
model, the Iterative solver is preferred over the Direct solver for its efficiency in terms of solution time and
memory usage.
The Supernode solver is recommended for extracting a large number of modes. Selecting Supernode as
the Equation Solver type automatically sets the Limit search to range property to Yes. This selection
also displays the Range minimum and Range maximum properties and requires a range maximum
frequency entry. Alternatively, you may reset the Limit search to range property to No to find all of the
possible modes without any restrictions on the frequency range.
The Subspace solver is relatively faster than Direct solver and also has reasonable accuracy.
4.7.3.2. Setting Solver Launch Options for Modal Structural
Physics > Solver Options > Launch Controls
Launch controls allow you to control the computational resources used by a simulation. The launch controls
for the solver are populated with default settings, file names, and values. Review these settings and
ensure that the default entries are acceptable for your model.
To change the default launch control settings:
1. For Number of processors, enter the desired number of processors.
2. Additionally, you can modify the following settings:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
213
Physics Solution
If you want to...
then set...
More information:
Solver mode
Distributed solve
Job name
214
Physics Solution
3. For Frequency, select how often the solver should write the solutions results to the output file.
Available options are:
All Time Points: Writes the solution information for every sub step. This is the default option.
Never: Suppresses writing of the specified solution type for all sub steps.
4.7.3.4. Eigenvalues for a Modal Solution
Once you have solved your physics, the eigenvalues for your solution are listed under Output > Eigenvalues
in the Physics Solution panel. You can parameterize results based on the eigenvalues selected for a given
result.
Note:
In a Modal physics solution, the solution consists of a deformed shape scaled by an arbitrary factor. The
actual magnitudes of the deformations and any derived quantities, such as strains and stresses, are therefore
meaningless. Only the relative values of such quantities throughout the model should be considered
meaningful. The arbitrary scaling factor is numerically sensitive to slight perturbations in the analysis; choosing
a different unit system, for example, can cause a significantly different scaling factor to be calculated.
215
Physics Solution
Default solver settings are generated when you set up your physics regions, however you may want to
modify some of the settings.
To change the default solver settings:
1. For Equation solver type, select the solver type.
The default is Program controlled, which lets the program choose the type of solver appropriate
for your model. However, you can explicitly select one of the following:
Direct: More effective with thin flexible models.
Iterative: Best for bulky models.
2. For Newton Raphson method, select the method you want to use.
Full: The solver uses the full Newton-Raphson procedure, in which the stiffness matrix is updated
at every equilibrium iteration.
Modified: The solver uses the modified Newton-Raphson technique, in which the tangent stiffness
matrix is updated at each substep. The matrix is not changed during equilibrium iterations at a
substep. This option is not applicable to large-deformation analyses. Adaptive descent is not available.
Initial stiffness: The solver uses the initial stiffness matrix in every equilibrium iteration. This
option can be less likely to diverge than the full option, but it often requires more iterations to achieve
convergence. It is not applicable to large-deformation analyses. Adaptive descent is not available.
Unsymmetrical: The program uses the full Newton-Raphson procedure, in which the stiffness
matrix is updated at every equilibrium iteration. In addition, it generates and uses unsymmetric
matrices that you can use for any of the following:
If you are defining an unsymmetric material model, you would need this method to fully use the
property you defined.
If you are running a contact physics solution, an unsymmetric contact stiffness matrix would fully
couple the sliding and the normal stiffnesses. You should first try the Full method, then try this
method only if you experience convergence difficulties. (Using an unsymmetric solver requires
more computational time to obtain a solution than if using a symmetric solver.)
For more information, see and in the .
3. Additionally, you can select a unit system for the solver from Solver unit system.
The selection of a consistent unit system guarantees that all quantities, inputs and outputs to the
solver can be interpreted correctly in terms of the units in the system.
You can leave the default setting, Active Unit System, or choose one of the standard unit systems
defined in the Unit Systems window. When you leave the default, Active Unit System, the active
unit system chosen in the Unit Systems window is used. Select File icon > Units to confirm that
the units displayed are what you expect.
If you do not specify a unit system, in either the Unit Systems window or here in the solver settings,
ANSYS AIM selects one of six possible standard unit systems and converts all quantities into that
system. The standard unit systems include Metric and the Consistent systems (CGC, NMM, uMKS, BIN,
BFT); see the Unit Systems window for a listing.
4.7.4.2. Setting Solver Launch Options for Steady-State Thermal
Physics > Solver Options > Launch Controls
216
Physics Solution
Launch controls allow you to control the computational resources used by a simulation. The launch controls
for the solver are populated with default settings, file names, and values. Review these settings and
ensure that the default entries are acceptable for your model.
To change the default launch control settings:
1. For Number of processors, enter the desired number of processors.
2. Additionally, you can modify the following settings:
If you want to...
then set...
More information:
Solver mode
Distributed solve
Job name
Which Stores
Temperature
Heat Reactions
217
Physics Solution
If you want to add other output types to the result file, you can modify these output specification or
create additional Output Controls for the same location.
To set up an output specification:
1. Define the location within the model for which you want the solution information written in the output
file.
The default is Everywhere(). You can also specify the AllBodies() expression for all the bodies
defined in the Physics Region, or select one or more bodies from the model.
2. For Output type, select a solution type.
The options available are based on the physics and calculation types.
3. For Frequency, select how often the solver should write the solutions results to the output file.
Available options are:
All Time Points: Writes the solution information for every sub step. This is the default option.
Last Time Points: Writes the solution information only for the last sub step.
Equally Spaced Time Points: Writes the solution information for up to a specified number of
equally spaced solutions. This option only applies to Static or Transient analyses when the Automatic
Time Stepping is enabled. For this option, specify a nonzero positive number for the equally spaced
time points.
Specified Recurrence Rate: Writes the solution information at every specified interval and at the
last sub step of each load step. For this option, specify a nonzero positive number for the recurrence
rate.
Never: Suppresses writing of the specified solution type for all sub steps.
4.7.4.4. Solution Progression for Nonlinear Controls in a Steady-State Thermal Simulation
When solving nonlinear simulations, ANSYS AIM carries out an iterative procedure (equilibrium iterations)
at each substep, successfully solving the simulation only when the out-of-balance loads are less than the
specified convergence criteria. On the Solution Progression panel, you can define the number of substeps
in a solution step. You can then define the convergence controls and other solution progression properties.
For Substepping, you can define a range or a fixed number, or you can leave it up to the solver.
ANSYS AIM displays the convergence criteria appropriate for each physics type. For a steady-state thermal
physics solution, the convergence criteria consist of Temperature and Heat convergence. You can set the
convergence controls for each of these criteria.
Under Additional Convergence Controls, you can also specify the number of equilibrium iterations at
each substep, activate a predictor on the degree-of-freedom solution for the first equilibrium iteration of
each substep, and control the line search program.
For Stabilization, you can specify the key for controlling nonlinear stabilization. Convergence difficulty due
to an unstable problem is usually the result of a large displacement for small load increments. Nonlinear
stabilization technique can help achieve convergence. Nonlinear stabilization can be thought of as adding
artificial dampers to all of the nodes in the system. Any degree of freedom that tends to be unstable has a
large displacement causing a large damping/stabilization force. This force reduces displacements at the
degree of freedom so stabilization can be achieved.
4.7.4.4.1. Specifying Solution Progression for Steady-State Thermal
Physics > Solver Options > Solution Progression
To set the controls for complete criteria:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
218
Physics Solution
1. From Substepping, set time stepping to a range or a fixed number, or leave it to be controlled by
the solver.
If substepping is controlled by the solver, a check is performed on non-convergent patterns, and the
physics of the simulation is also taken into account. In case of specified range, the solver marches
through the solution based on the initial, minimum, and maximum number of substeps.
If you choose Specified range, specify the initial, minimum, and maximum number of substeps.
If you choose Fixed number, specify the substep count.
2. For each convergence type under Convergence Controls, specify how you want convergence
handled.
The recommended setting, Program controlled, automatically calculates the value based on
external forces, including reactions.
If set to On, you can input convergence values in the fields that appear.
If set to Off, convergence is not checked.
3. If a convergence type is set to On, do the following:
a) For Tolerance (%), specify the tolerance value as a percentage.
Tolerance times Value determines the convergence criterion.
b) For Reference value specification, select if you want the solver to use a Reference value
when establishing convergence, or have the solver control the convergence based on a Minimum
reference value.
The Minimum reference value option is useful for analyses where the external forces tend to
zero. This can happen, for example, with free thermal expansion where rigid body motion is
prevented.
4. Specify any additional desired criteria.
If you want to...
then set...
More information:
Activate a predictor in a
Predictor-corrector You can set this to:
nonlinear analysis on the
Program controlled
degree-of-freedom solution for
Off
the first equilibrium iteration of
On after the first substep
each substep
On for all substeps
Specify the number of
equilibrium iterations at each
substep.
Equilibrium
iterations
Stabilization >
Stabilization key
219
Physics Solution
If you want to...
then set...
More information:
Controls for Steady-State Thermal on page
220.
Activate stabilization and use the energy dissipation ratio as the control.
Reduced energy
dissipation
Activate stabilization and reduce the energy dissipation ratio linearly from the
specified or calculated value to zero at the end of the load step.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Constant damping Activate stabilization and use the damping factor as the control.
factor
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
Reduced damping
factor
Activate stabilization and reduce the damping factor linearly from the specified
or calculated value to zero at the end of the load step.
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
220
Physics Solution
No - Stabilization is not activated for the first substep even when it does not converge after the
minimal allowed time increment is reached (default setting).
Yes - Stabilization is activated for the first substep. Use this option if stabilization was active for the
previous load step.
If not converged - Stabilization is activated for the first substep if it still does not converge after
the minimal allowed time increment is reached. Use this option for the first load step only.
3. For Force limit, specify the stabilization force check as a number between 0 and 1. The default value
is 0.2. To omit a stabilization force check, set this value to 0.
221
Physics Solution
If you want to add other output types to the result file, you can modify these output specification or create
additional Output Controls for the same location.
Setting Nonlinear Options
You can apply global nonlinear controls for all solution steps, such as the Newton-Raphson setting, on the
Solver Settings panel. On the Solution Progression panel, you can apply nonlinear settings that are
applied per solution step.
4.7.5.1. Configuring the Solver for Steady-State Electric Conduction
Physics > Solver Options > Solver Settings
Default solver settings are generated when you set up your physics regions, however you may want to
modify some of the settings.
To change the default solver settings:
1. For Equation solver type, select the solver type.
The default is Program controlled, which lets the program choose the type of solver appropriate
for your model. However, you can explicitly select one of the following:
Direct: More effective with thin flexible models.
Iterative: Best for bulky models.
2. For Newton Raphson method, select the method you want to use.
Full: The solver uses the full Newton-Raphson procedure, in which the stiffness matrix is updated
at every equilibrium iteration.
Modified: The solver uses the modified Newton-Raphson technique, in which the tangent stiffness
matrix is updated at each substep. The matrix is not changed during equilibrium iterations at a
substep. This option is not applicable to large-deformation analyses. Adaptive descent is not available.
Initial stiffness: The solver uses the initial stiffness matrix in every equilibrium iteration. This
option can be less likely to diverge than the full option, but it often requires more iterations to achieve
convergence. It is not applicable to large-deformation analyses. Adaptive descent is not available.
Unsymmetrical: The program uses the full Newton-Raphson procedure, in which the stiffness
matrix is updated at every equilibrium iteration. In addition, it generates and uses unsymmetric
matrices that you can use for any of the following:
If you are defining an unsymmetric material model, you would need this method to fully use the
property you defined.
If you are running a contact physics solution, an unsymmetric contact stiffness matrix would fully
couple the sliding and the normal stiffnesses. You should first try the Full method, then try this
method only if you experience convergence difficulties. (Using an unsymmetric solver requires
more computational time to obtain a solution than if using a symmetric solver.)
For more information, see and in the .
4.7.5.2. Setting Solver Launch Options for Electric Conduction
Physics > Solver Options > Launch Controls
222
Physics Solution
Launch controls allow you to control the computational resources used by a simulation. The launch controls
for the solver are populated with default settings, file names, and values. Review these settings and
ensure that the default entries are acceptable for your model.
To change the default launch control settings:
1. For Number of processors, enter the desired number of processors.
2. Additionally, you can modify the following settings:
If you want to...
then set...
More information:
Solver mode
Distributed solve
Job name
Which Stores
Voltage
Current Reaction
223
Physics Solution
Output Type
Which Stores
Element Solution
However, you can modify these output specification or create additional Output Controls objects for the
same location if you want to add other output types to the result file.
To set up an output specification:
1. Define the location within the model for which you want the solution information written in the output
file.
The default is Everywhere(). You can also specify the AllBodies() expression for all the bodies
defined in the Physics Region, or select one or more bodies from the model.
2. For Output type, select a solution type.
The options available are based on the physics and calculation types.
3. For Frequency, select how often the solver should write the solutions results to the output file.
Available options are:
All Time Points: Writes the solution information for every sub step. This is the default option.
Last Time Points: Writes the solution information only for the last sub step.
Equally Spaced Time Points: Writes the solution information for up to a specified number of
equally spaced solutions. This option only applies to Static or Transient analyses when the Automatic
Time Stepping is enabled. For this option, specify a nonzero positive number for the equally spaced
time points.
Specified Recurrence Rate: Writes the solution information at every specified interval and at the
last sub step of each load step. For this option, specify a nonzero positive number for the recurrence
rate.
Never: Suppresses writing of the specified solution type for all sub steps.
4.7.5.4. Solution Progression for Nonlinear Controls in a Steady-State Electric Conduction
Simulation
When solving nonlinear simulations, ANSYS AIM carries out an iterative procedure (equilibrium iterations)
at each substep, successfully solving the simulation only when the out-of-balance loads are less than the
specified convergence criteria. On the Solution Progression panel, you can define the number of substeps
in a solution step. You can then define the convergence controls and other solution progression properties.
For Substepping, you can define a range or a fixed number, or you can leave it up to the solver.
ANSYS AIM displays the convergence criteria appropriate for each physics type. For a steady-state thermal
physics solution, the convergence criteria consist of Current and Voltage convergence. You can set the
convergence controls for each of these criteria.
Under Additional Convergence Controls, you can also specify the number of equilibrium iterations at
each substep, activate a predictor on the degree-of-freedom solution for the first equilibrium iteration of
each substep, and control the line search program.
For Stabilization, you can specify the key for controlling nonlinear stabilization. Convergence difficulty due
to an unstable problem is usually the result of a large displacement for small load increments. Nonlinear
stabilization technique can help achieve convergence. Nonlinear stabilization can be thought of as adding
artificial dampers to all of the nodes in the system. Any degree of freedom that tends to be unstable has a
large displacement causing a large damping/stabilization force. This force reduces displacements at the
degree of freedom so stabilization can be achieved.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
224
Physics Solution
4.7.5.4.1. Specifying Solution Progression for Steady-State Electric Conduction
Physics > Solver Options > Solution Progression
To set the controls for complete criteria:
1. From Substepping, set time stepping to a range or a fixed number, or leave it to be controlled by
the solver.
If substepping is controlled by the solver, a check is performed on non-convergent patterns, and the
physics of the simulation is also taken into account. In case of specified range, the solver marches
through the solution based on the initial, minimum, and maximum number of substeps.
If you choose Specified range, specify the initial, minimum, and maximum number of substeps.
If you choose Fixed number, specify the substep count.
2. For each convergence type under Convergence Controls, specify how you want convergence
handled.
The recommended setting, Program controlled, automatically calculates the value based on
external forces, including reactions.
If set to On, you can input convergence values in the fields that appear.
If set to Off, convergence is not checked.
3. If a convergence type is set to On, do the following:
a) For Tolerance (%), specify the tolerance value as a percentage.
Tolerance times Value determines the convergence criterion.
b) For Reference value specification, select if you want the solver to use a Reference value
when establishing convergence, or have the solver control the convergence based on a Minimum
reference value.
The Minimum reference value option is useful for analyses where the external forces tend to
zero. This can happen, for example, with free thermal expansion where rigid body motion is
prevented.
4. Specify any additional desired criteria.
If you want to...
then set...
More information:
Activate a predictor in a
Predictor-corrector You can set this to:
nonlinear analysis on the
Program controlled
degree-of-freedom solution for
Off
the first equilibrium iteration of
On after the first substep
each substep
On for all substeps
Specify the number of
equilibrium iterations at each
substep.
Equilibrium
iterations
225
Physics Solution
If you want to...
then set...
More information:
information, see Specifying Line Search for
Steady-State Electric Conduction on page
227.
Stabilization >
Stabilization key
Activate stabilization and use the energy dissipation ratio as the control.
Reduced energy
dissipation
Activate stabilization and reduce the energy dissipation ratio linearly from the
specified or calculated value to zero at the end of the load step.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Then specify in the Energy dissipation ratio field the ratio of work done
by stabilization forces to element potential energy. This value is usually a
number between 0 and 1. The default value is 1.0e-4.
Constant damping Activate stabilization and use the damping factor as the control.
factor
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
Reduced damping
factor
Activate stabilization and reduce the damping factor linearly from the specified
or calculated value to zero at the end of the load step.
Then specify in the Damping factor field the value that the solver uses to
calculate stabilization forces for all subsequent substeps. This value is usually
a value greater than 0.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
226
Physics Solution
Option
Description
Note:
The Damping factor value is dependent on the active unit system and may
influence the results if unit systems are changed.
227
Physics Solution
1. On the Physics panel, for Solvers Options, select Add > User Commands.
2. Select one of the following sections under Solver Command Sections:
Begin
/PREP7
/SOLU Start
Just Before Solve
/SOLU End
/POST1
Description
Begin
These commands are prior to the preprocessing commands. It is often used to perform some
type of initialization, such as defining the unit system.
/PREP7
These commands are used to create and set up the model. They are written prior to solution
commands. These section often includes commands to change inputs such as element key
options, nodal rotations, or coordinate systems.
/SOLU
These commands are written at the beginning of solution section and are used to load and
solve the model.
Just Before
Solve
These commands are written immediately before the solution process. It is a section where
you may wish to make changes such as modifying a boundary condition value, or a solver
setting, or an output control, or change a time step option.
/POST1
These commands are used to postprocess the results with the database processor.
228
5: Results
Results
Once you have a solution, you can use Results to process numerical and graphical visualizations of your
simulation physics. You can use the data from the Results task to verify your solution, and, if required, refine
parameters to improve your simulation physics.
Physics Solution
Results Evaluation
Quantitative Results
You can perform a range of quantitative calculations to obtain single-value results using the Calculated Value
on page 242 object. Quantities are values at particular location in the physics domain; you can use them to
refer to:
Solved and derived variables such as velocity, stress, total temperature etc.
User-defined values based on expressions
Location values such as coordinate values or mesh information
Qualitative Results
You can graphically analyze the distribution of solution variables on a surface or volume using Vectors on
page 233, Contours on page 229, and Isosurface on page 236 objects. In a fluid simulation, you can also use
the Streamlines on page 239 object to visualize the lines travelled by massless particles that are released
from one or more surfaces.
Fatigue Results
From the Results task, you can also add S-N curve data for all materials, modify fatigue settings, and view
fatigue results such as Fatigue Life, Fatigue Damage, and Safety Factor. For more information on computing
fatigue results, see Fatigue Analysis on page 248.
5.1. Contours
You can use a Contour to visualize and assess gradients for variables displayed on a surface or volume.
Contour lines are lines of constant magnitude for a selected variable. The regions between the contour lines
are filled with a color that denotes the value of the variable in that region.
On a given surface or volume, adjacent contour lines are:
Widely spaced in regions where the variable is slowly changing.
Closely spaced together in regions where the variable is rapidly changing.
The contour plot below indicates the variation of total pressure across a dual exhaust system.
229
Results
230
Results
You can also create new reference geometry or Results to be used as locations using the Create
menu.
For details, see Defining Locations on page 12.
3. Specify the variable you want to display under Variable by either:
Entering a valid variable name.
Selecting an existing variable from the drop down menu.
Entering an expression for the variable you want to plot. For details, see Expressions.
4. For a modal structural simulation, you can display results for a particular natural frequency by using
the Mode slider. You can review the frequency for the specified mode under Summary > Global >
Frequency.
5. For a structural simulation containing sub-steps, you can use the Result set slider to control at which
sub-step the result will be evaluated and plotted in graphics.
6. For structural simulations, where you can visualize results on multiple frames of reference, specify the
reference frame under Relative to by either:
Selecting an existing reference frame from the drop down menu.
Creating Reference Frames on page 19.
For Joint results, frame-dependent variables are calculated relative to the selected Joint's local
reference frame. When post-processing multiple joints, it can be useful to use the Solution
Reference Frame option which will use each Joint's respective local reference frame to calculate
the results.
7. For structural simulations, you can set Use nodal averaging to display averaged contours for
elemental quantities such as stresses and strains. Contours for fluids simulations always use averaging.
To display gradients across adjacent elements, disable Use nodal averaging. For this option,
contours are evaluated by linear interpolation within each element, and the influence of the adjacent
elements is ignored. The resulting un-averaged contours are discontinuous across element boundaries.
To display continuous contours across elemental discontinuities such as element boundaries, enable
Use nodal averaging.
8. To generate the resulting contours, click Evaluate.
In addition to the qualitative results in your graphics viewer, you can view quantitative data under Summary
on page 247 information.
231
Results
Alternatively, you can create a new contour from the Results task page by selecting Contour from
the drop-down list under Objects > Results>Add.
2. On the Contour panel specify the required variable and location information for the contour results.
For details, see Specifying a Contour on page 230.
3. To display the contours, right-click in the graphics viewer and select Evaluate Results.
Description
Pressure
Status
Frictional Stress
Gap
Penetration
Sliding Distance
232
Results
Reaction > [Variable]
Description
Contact Reaction X
Contact Reaction Y
Contact Reaction Z
5.2. Vectors
For both structural and fluids simulations, you can use vector results to display vector variables, showing
the direction and magnitude, on a collection of seed points defined on a surface or volume.
The figure below shows velocity vectors plotted in the physics region of a dual exhaust system. The vectors
help you visualize the velocity of particles in the different parts of the exhaust. The vectors in the figure
below also help visualize recirculation zones near the walls of the pipes.
233
Results
Prerequisites:
To create objects that display the results of your simulation, generate a physics solution.
Vectors display the direction and magnitude of a vector variable on a collection of points. To specify a
vector:
1. Open a Vector panel under the Results task by either:
Selecting an existing Vector object.
Adding a New Vector on page 234.
2. Under Location, you can specify a location by either:
234
Results
For structural simulations, Force Reaction.
For electric simulations, Current Density.
Alternatively, you can create a new vector from the Results task page by selecting Vector from the
drop-down list under Objects > Results>Add.
2. On the Vector panel specify the required variable, location, and distribution information for the vector
results.
For details, see Specifying a Vector on page 233.
3. To display the vectors, right-click in the graphics viewer and select Evaluate Results.
Setting
Uniformly
Distributed
Example
235
Results
Condition
Setting
Volumetric
Grid Sampling
Example
5.3. Isosurface
You can use an Isosurface to display a surface of constant value for a specified variable.
236
Results
237
Results
You can also create new reference geometry or Results to be used as locations using the Create
menu.
For details, see Defining Locations on page 12.
3. Specify the variable you want to display under Variable by either:
Entering a valid variable name.
Selecting an existing variable from the drop down menu.
Entering an expression for the variable you want to plot. For details, see Expressions.
4. For a modal structural simulation, you can display results for a particular natural frequency by using
the Mode slider. You can review the frequency for the specified mode under Summary > Global >
Frequency.
5. For a structural simulation containing sub-steps, you can use the Result set slider to control at which
sub-step the result will be evaluated and plotted in graphics.
6. You can specify the type of isosurface under Isovalues > Isovalue specification as either:
Set Values
Automatic
For details, see Choosing an Isovalue Specification on page 238.
7. To generate the resulting isosurface, click Evaluate.
In addition to the qualitative results in your graphics viewer, you can view quantitative data under Summary
on page 247 information.
Option
Set Values
Automatic
238
Results
Condition
Option
5.4. Streamlines
In a fluid flow simulation, you can use streamlines to visualize the lines travelled by massless particles that
are released from one or more surfaces in the physics region. You can also use streamlines to identify the
source of a particle for which you know the final destination.
The streamline below displays the path of air particles as they travel through a dual exhaust system. The
streamlines help you visualize how the velocity of a particle changes as it passes through various stages of
the exhaust.
239
Results
Streamlines display the path that a particle of zero mass would take through the fluid domain. To specify
a streamline:
1. Open a Streamline panel under the Results task by either:
Selecting an existing Streamline object.
Adding a New Streamline on page 240.
2. Specify the starting point for the streamlines under Seed points > Seed location by either:
240
Results
Prerequisites:
To create objects that display the results of your simulation, generate a physics solution.
To create a new streamline:
1. In the graphics viewer, right-click and select Add > Results > Streamline.
Alternatively, you can create a new streamline from the Results task page by selecting Streamline
from the drop-down list under Objects > Results>Add.
2. On the streamline panel specify the required variable, seed location, and distribution information for
the streamlines.
For details, see Specifying a Streamline on page 239.
3. To display the streamlines, right-click in the graphics viewer and select Evaluate Results.
Setting
Uniformly
Distributed
Example
241
Results
Condition
Setting
Volumetric
Grid Sampling
Example
242
Results
Prerequisites:
To create objects that display the results of your simulation, generate a physics solution.
Calculated Value is used to evaluate single-value results for the physics. To create a single-value result:
1. Open a Calculated Value panel under the Results task by either:
Selecting an existing Calculated Value object.
Adding a New Calculated Value on page 243.
2. Under Method, set the type as either:
Function calculator
User-defined expression
For details, see Choosing a Calculated Value Method on page 244.
3. For a modal structural simulation, you can calculate a value for a particular natural frequency by using
the Mode slider.
4. For a structural simulation containing sub-steps, you can use the Result set slider to control at which
sub-step the result will be evaluated and plotted in graphics.
5. For structural simulations, where you can visualize results on multiple frames of reference, specify the
reference frame under Relative to by either:
Selecting an existing reference frame from the drop down menu.
Creating Reference Frames on page 19.
For Joint results, frame-dependent variables are calculated relative to the selected Joint's local
reference frame. When post-processing multiple joints, it can be useful to use the Solution
Reference Frame option which will use each Joint's respective local reference frame to calculate
the results.
6. To generate the resulting single-value results, click Evaluate.
The calculated value result, whether generated by the Function calculator or a User-defined
expression, is displayed on the panel under Value. For details, see Expressions.
243
Results
For details, see Specifying a Calculated Value on page 242.
3. To display the single value results, click Evaluate on the Calculated Value panel.
Description
Function calculator
User-defined expression You can manually enter an expression using this method. For details on the
expression syntax, see Expressions.
5.6. Appearance
Each results object has appearance options that enable you to control how the object displays in the graphics
viewer. Depending on which results object you are configuring, you may be able to set.
Banded coloring so that you can control the number of colors used to display distinct variable ranges.
Smooth coloring to display a variable without color bands.
A user-specified variable range.
A linear or logarithmic color distribution.
244
Results
blue is lower). The image below shows a user specified variable range with Clip to range selected
(left) and deselected (right).
Description
Useful for...
Linear (default)
The range of each contour band Contours where the data varies
is constant. The range is
evenly across the variable range.
determined by Max-Min = K*N,
where Max and Min are the
maximum and minimum values
calculated in the current contour,
N is the number of contour bands,
and K is the range of each contour
band.
Logarithmic
The figure below shows the same contour with the colors distributed linearly (left) and logarithmically
(right). You can see in the legend that the overall contour range is unchanged, while the individual contour
band ranges are different.
245
Results
246
Results
For details on mesh diagnostics, see Evaluating Mesh Quality on page 105.
5.8. Summary
Summary displays quantitative values for the global range and averages on Results objects. On selected
locations, Summary displays:
Calculated minimum and Calculated maximum:
For a structural simulation, these values are calculated as the nodal or elemental data for the lowest and
highest value, depending on the selected variable.
For a fluid simulation, these values are calculated as the nodal data for the lowest value and highest
value for the selected variable.
Note:
For a structural simulation with radiation boundary conditions, an extra node is created to account for
ambient temperature. When you evaluate the result for this case, the minimum and maximum value of
the result may include the value from this extra node.
Calculated average:
For a structural simulation, the average is calculated as the arithmetic average of the nodal or elemental
value, depending on the selected variable.
For a fluid simulation, the average is calculated as the geometric average for the variable value:
Location Type
Averaging Type
Point
Surface
Volume
Streamline
Plane, Isosurface
247
Results
The default workflow for fatigue analysis is to direct ANSYS AIM to compute the fatigue results as part of
using a structural template. Fatigue life is then calculated based on the S-N curve values defined for the
default materials and using default fatigue settings. If you want to use fatigue settings other than the defaults,
you can then modify the fatigue settings before viewing the fatigue contours.
If you want to assign other materials to your model, you can specify the S-N curve and ultimate strength
values when defining the materials in your model. You can then add fatigue life from the results and direct
ANSYS AIM to use the values from your materials. If you want to use fatigue settings other than the defaults,
you can modify the options before viewing the fatigue contours.
You can also add fatigue life from the results and set your S-N curve values or ultimate strength value there;
these values will apply to all materials in the model. You can then view the fatigue contours after modifying
any other desired fatigue settings.
248
Results
When you are using a default material such as Structural Steel or Aluminum, you can compute the fatigue
results by setting an option in the template. ANSYS AIM then uses the S-N curve data defined on these
materials to calculate the fatigue results for your model. These results are available on the Results panel
after you solve and evaluate your results. A Fatigue Life contour result is created by default, but you can
also add contour results for Fatigue Damage, Safety Factor, and other fatigue variables.
Note: If you want to define other materials for your model, you can add the S-N curve or ultimate
strength values on the materials and assign them to your model, then add fatigue results, modifying the
fatigue settings as desired. You can also add fatigue results and define fatigue settings that apply to all
materials in a model.
To compute fatigue results as part of a template:
1.
2.
3.
4.
249
Results
Important: Currently, ANSYS AIM only supports single S-N Curves at zero mean stress.
a) If you want to use Goodman or Gerber for your Mean stress theory, also define the Tensile
Ultimate Strength, S property.
b) If you want to use Soderberg for your Mean stress theory, also define the Tensile Yield Strength,
S property.
3. Define the rest of your mesh and physics solution tasks as you normally would.
4. On the Results panel, select Add > Fatigue Life.
5. Expand or click on the Fatigue Settings for the result.
6. For S-N curve data source, ensure you have selected Assigned materials.
7. Modify any of the fatigue settings, such as the loading type or design life.
250
Results
8. Evaluate your Results task and view the Fatigue Life contour. You can also add contour results for
Fatigue Damage, Safety Factor, and other fatigue variables.
5. For S-N curve data source, select S-N curve values, and then specify the S-N curve data as a
table of alternating stresses vs. cycles in the Alternating Stress, S property.
This S-N Curve data is then used for all materials. You can also define different S-N Curve values for
each material used in the model.
Important: Currently, ANSYS AIM only supports single S-N Curves at zero mean stress.
If you don't have S-N curve values, you can instead define an Ultimate strength, and ANSYS AIM
internally constructs a simplified S-N curve using just the ultimate strength and uses it when computing
fatigue life.
a) If you want to use Goodman or Gerber for your Mean stress theory, also define the Tensile
Ultimate Strength, S property.
b) If you want to use Soderberg for your Mean stress theory, also define the Tensile Yield Strength,
S property.
6. Modify any of the fatigue settings, such as the loading type or design life.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
251
Results
7. Evaluate your Results task and view the Fatigue Life contour. You can also add contour results for
Fatigue Damage, Safety Factor, and other fatigue variables.
Loading
type
Design
life
Enter the life that the system is being designed for, using the units defined
in Life units. This option is only useful for damage and safety factor
calculations and can be ignored while calculating Fatigue Life.
Scale
factor
This setting scales the load magnitude by the specified value. This includes
both alternating and mean stresses.
For example, if you set this to 3, the amplitude (and mean) of a zero-based
loading will be 1.5 times the stress in the body.
This option is useful for seeing the effects of different finite element loading
magnitudes without having to run the complete structural analysis
repeatedly.
Note:
This scale factor is applied after the stresses have been collapsed from a
tensor into a scalar. Thus any multiaxial stress collapse methods that are
sensitive to the sign (Von-Mises, Maximum Shear, Maximum Principal)
may not give the same answer had the scale factor been applied to the
environment load itself.
Stress
Because stresses are multiaxial but experimental fatigue data is usually
component uniaxial, the stress must be converted from a multiaxial stress state to a
uniaxial one.
You can choose from several types, including component stresses, von
Mises, and a signed von Mises, which takes the sign of the absolute
maximum principal stress. The signed von Mises is useful for accounting
for any compressive mean stresses. In the case of Maximum Shear Stress,
ANSYS AIM uses a value of two times the maximum shear stress for
calculations.
Life units You can change the units used to display the fatigue life results. By default,
fatigue results are shown in cycles.
If you choose Blocks, specify the number of blocks per cycle.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
252
Results
If you want to...
Description
Fatigue Life
Fatigue Life represents the number of cycles of repeated loading until the part
will fail due to fatigue.
Fatigue Damage
Fatigue Damage is defined as the design life divided by the fatigue life.
Fatigue Safety Factor is defined as the ratio of alternating stress at design life
to the equivalent alternating stress at a given point. The maximum safety factor
reported is 15.
Biaxiality Indication
Equivalent Alternating
Stress
In a Stress Life fatigue analysis, you must query an S-N curve to relate the
fatigue life to the stress state. Thus the equivalent alternating stress is the
stress used to query the fatigue S-N curve after accounting for fatigue loading
type, mean stress effects, multiaxial effects, and any other factors in the fatigue
analysis.
253
6.1. Parameters
A parameter is a characteristic of a model or a simulation process that can be quantified and varied to
determine its effect on the results of the simulation.
A simulation process can have input parameters and output parameters:
Input parameters include, for instance, CAD dimensions (length, radius, sheet thickness, and so on) and
analysis parameters (pressure, material properties, and so on).
Output parameters are the response outputs from the analysis. These include, for instance, volume, mass,
frequency, stress, velocities, pressures, forces, heat flux, and so forth. The value of an output parameter
is set by the application, based on the current results or state.
For more information on using parameters, see Working with Parameters and Design Points in the ANSYS
Workbench Documentation User's Guide.
The field displays that it is now an output parameter. Because in this example the property is an
output, the resulting parameter is an output parameter.
If the property is an input, the resulting parameter will be an input parameter, except when the
property is defined by an expression that makes it dependent on other properties.
255
256
ANSYS AIM includes the ability to utilize expressions and other operations in your simulation processes.
7.1. Expressions
In its basic form, an expression is a string of characters used to define some quantity of interest that could
be used for some purpose in an analysis. These quantities can be constants, expressions that evaluate to
constants, expressions that evaluate to single values, or expressions that evaluate to fields that vary over
physics regions.
You can define expressions using:
Dimensional constants
Scalar field variables
Intrinsic mathematical functions
Integrated quantity functions
Any dimensionally consistent mathematical combination of the above
Expressions can be used to define many real properties in ANSYS AIM, including:
Boundary and Initial Conditions for Fluids Physics
Post Processing quantities for Fluids and Structural Results
257
7.1.2. Constants
Some commonly used engineering and scientific constants are available for use in ANSYS expressions. A
complete list of the available constants can be found in Mathematical Constants on page 276.
Example:
An example of an expression using a constant is:
2*pi
7.1.3. Variables
The real power of expressions is to be able to perform operations with calculated data from a solver or other
service in the system. Typical examples include performing quantitative calculations on solved field data or
using a value from a solution as an input to some physics setup (this could include non-solver services where
data from a solver may be used in mesh generation, or mesh information might be used to control physics
setup).
ANSYS variables provide a way to reference calculated data in a consistent manner across all services, with
the flexibility to access a wide range of variables in different contexts.
7.1.3.1. Variable Tensor Types
Variables can be defined as one of three tensor types:
Scalar - the variable is defined as a scalar (magnitude); for example, Temperature
Vector - the variable is defined as a vector (magnitude and direction); for example, Velocity
Tensor - the variable is defined as a tensor (symmetric or non-symmetric); for example, Reynolds Stress
Access to scalar variables for use in expressions only requires you to know the name of the variable. However,
for vectors and tensors, the tensor type is important because you need to know how to access the directional
components of the variable. Expressions can contain scalars, and components of vectors and tensors.
7.1.3.1.1. Vector Variables
To access the vector components of a variable, enter the variable name followed by a '.' (dot/period) and
the vector component name.
Example:
To refer to the Cartesian components of the vector field variable Velocity:
Velocity.x
Velocity.y
Velocity.z
7.1.3.1.2. Tensor Variables
To access the tensor components of a variable, enter the variable name followed by a '.' (dot/period) and
the tensor component name.
Example:
To refer to the Cartesian components of the tensor field variable Stress:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
258
7.1.4. Units
Units for numerical quantities are declared within square brackets after any number (with or without a space
between the brackets and the number). Expressions that contain field variables will also have implied units
dependent on the variable(s) being used and the unit system employed. Units can be specified after any
number in an expression, but cannot be specified after a character (since any character string entered should
have implied units).
Units can be specified in any valid unit system.
Table 7.1.4.1. Example Quantities and Units
Quantity
Dimensionality
Example Units
Acceleration
Length Time^-2
m s^-2
ft s^-2
in s^-2
um ms^-2
Current
Current
A
mA
pA
Density
Mass Length^-3
kg m^-3
g cm^-3
lb ft^-3
slug in^-3
slinch in^-3
Electric Charge
Current Time
As
coulomb
259
Dimensionality
Example Units
pA s
Energy
J
BTU
erg
lbf ft
slug in^2 s^-2
Force
dyne
N
pdl
lbf
slug in s^-2
Length
Length
m
cm
foot
in
mm
micron
ft
um
yard
Pressure
Pa
MPa
N m^-2
bar
torr
mm Hg
psi
psf
atm
dyne cm^-2
Power
W
BTU s^-1
HP
erg s^-1
lbf ft s^-1
260
Dimensionality
Example Units
Temperature
Temperature
K
C
R
F
Temperature Difference
Temperature
K
C
R
F
Temperature Variance
Temperature^2
K^2
C^2
R^2
F^2
Expressions that involve quantities must be dimensionally consistent. The + and - operators require that the
two operands have compatible units. For example, you cannot add an Area parameter to a Length parameter;
both units must be Length or both units must be Area. However, you can add or subtract two dissimilar units
that are of the same dimensionality: 1 [m] + 1 [ft] is a valid expression since both units are Length.
The * and / operators do not have this limitation. They allow one operand to be a quantity with a unit and
the other operand to be a dimensionless factor. Or, they allow both operands to be quantities with units
where the result is a different quantity type. For example, Length/Time results in a quantity with a Velocity
unit.
The resulting units for arguments to a trigonometric function may be dimensionless or resolve to an angle.
If the argument is a number or dimensionless, the value is interpreted as radians (in other words, 1 [] =
1 [rad]; a radian is a dimensionless quantity equal to unity (as defined by ISO 80000-1:2009, Quantities
and units -- Part 1: General).
If the argument is a quantity, the units must resolve to type Angle (in other words, 1 [rev] = 360 [deg]
= pi * 2 [rad])
You can include units, assuming the unit makes sense in context of the expression. For example, P2+3[mm]*P3
is valid if mm is a valid unit expression for P2 and P3 (for example, if P2 has units of torque and P3 has units
of force, or if P2 is in units of area and P3 is in units of length).
The project unit system is used to evaluate the expressions. For temperatures, absolute temperature values
are used in expression evaluation. All quantity values in an expression are converted to the project unit
system.
The general units syntax in ANSYS Workbench is defined as [multiplier|unit|^power], where multiplier is a
multiplying quantity or its abbreviation (for example, mega (M), pico (p), and so on), unit is the unit string
or abbreviation (for example, gram (g), pound (lb) foot (ft), meter (m), and so on), and power is the power
to which the unit is raised.
Table 7.1.4.2. Unit Multipliers
Multiplier Name
exa
Multiplier Value
18
10
Multiplier Abbreviation
E
261
Multiplier Value
12
da
-1
-2
-3
-6
-9
-12
-15
-18
peta
10
tera
10
giga
10
mega
10
kilo
10
hecto
10
deca
10
deci
10
centi
10
milli
10
micro
10
nano
10
pico
10
femto
10
atto
Multiplier Abbreviation
15
10
When typing units in an expression, the units must be enclosed by square braces [...]. You will usually not
see the braces when numbers are shown in a property field or when selecting units from a list of commonly
used units. In general, units declarations must obey the following rules:
A units string consists of one or more units quantities, each with an optional multiplier and optional power.
Each separate units quantity is separated by one or more spaces.
Abbreviations for multipliers and unit names are typically used, but full names are also supported.
Powers are denoted by the ^ (caret) symbol. A power of 1 is assumed if no power is given. A negative
power is typically used for unit division (in other words, [kg m^-3] corresponds to kilograms per cubic
meter).
If you enter units that are inconsistent with the physical quantity being described, then an expression error
will result.
Units do not have to be given in terms of the fundamental units (mass, length, time, temperature, angle,
and solid angle). For instance, Pa (Pascals) and J (Joules) are both acceptable as parts of unit strings.
Units strings are case sensitive; for example, Kg and KG are both invalid as parts of units strings; kg is
correct.
Note:
When the specified project unit system uses the relative temperature units (C or F), the evaluation of
expressions involving temperature, temperature differences, or temperature variances is a special case.
For the unit conversion of a specific temperature value, 1 degC = 274.15 K. However, the unit conversion
for a temperature interval (delta T) is 1 degC = 1 K. The expression evaluator will take any temperature
value and treat it as a specific temperature (not a temperature interval) by converting it to the absolute unit
of the project unit system (either K or R). If the intent is to perform the evaluation in terms of temperature
intervals, you need to start with temperatures in absolute units.
262
Example
Note:
If you create an expression that fits any of these scenarios, AIM will display an informational message
indicating how the temperature units will be handled.
Example:
Examples of valid unit specifications are:
a * 2 [m s^-1] (where a is previously defined and has units of [m])
3 [m/s]
Note that in the above, the first expression has implied dimensions of [Length^2 Time^-1] and SI units
of [m^2 s^-1] because a has the implied units of [m].
The following is not valid:
a = 5*Velocity [m/s]
263
The function names all begin with Get and include the type of object you are retrieving (for example, a plane,
a point, and so on). A complete list of the function names can be found in Object Retrieval Functions on
page 281.
Example:
The following are examples of using object location references as function arguments.
Area(GetBoundary("@out")) - returns the area at a 2D location with display name "out".
Sum(MassFlow,GetBoundary("@in1"), "Simple") - returns the massflow at a 2D location.
Lists of locations are referenced in expressions by enclosing a comma separated list in square brackets.
For example:
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
264
Selection sets are named groups of entities that can be created from your model. You can use these selection
sets to specify a location in an expression. You must use the function GetSelectionSet in order to get the
location for the selection set. The syntax of the function is:
GetSelectionSet("<internal_name>" | "@<display_name>")
The selection set name must be enclosed in double quotes.
Example:
The following shows using a selection set as the location in a function.
Average(Pressure, GetSelectionSet("@AllInlets"), "Area")
where AllInlets is a named selection set that exists either at the analysis level or the model level.
7.1.7.3. About Location Functions
You can use location functions in expressions to set the Location property of an object such as a boundary
condition or a selection set. These functions return lists of entities that can used as input to other functions.
There are several different types of selection criteria functions. Basic functions simply retrieve geometric
entities from your model. Set functions can add or remove entities from location lists. Criteria functions
change the contents of an entity list based on entity criteria.
Note:
If an expression in the Variable field of a Contour or Vector result contains a location, the location within the
expression is ignored and the whole expression is evaluated on the location specified in the result's Location
property.
7.1.7.3.1. Location Basic Functions
Basic functions return one particular type of entity. These functions can be used in other location functions
as an input entity list.
Table 7.1.7.3.1.1. Basic Functions
Function Name
Description
Geometric Entity
AllBodies ()
AllFaces ()
AllEdges ()
AllVertices ()
AllBodiesIn (<Location>)
Everywhere ()
faces
vertices
bodies
265
Description
Geometric Entity
DefaultWalls ()
Example:
AllBodies() returns a list of all bodies based on the current task's input model.
7.1.7.3.2. Location Set Operation Functions
The table below lists location functions that perform set operations on the input location lists.
Table 7.1.7.3.2.1. Set Operation Functions
Function Name
Description
Add (<LocationA>,<LocationB>)
Intersect (<LocationA>,<LocationB>)
Invert (<LocationA>)
Subtract (<LocationA>,<LocationB>)
Example:
To create a single list of all faces and edges:
Add(AllFaces(),AllEdges())
To find all entities that are not in the selection set "SelectionSet 1":
Invert(GetSelectionSet("@SelectionSet 1"))
7.1.7.3.3. Location Criteria Functions
Each of the basic entity types (bodies, faces, edges, and vertices) from the functions mentioned above have
attributes that are available for use within location criteria functions.
Below is a list of attributes that are available for each entity type. When using these attributes and values
in functions, case does not matter. See Units on page 259 for more information on how to write different
quantity types.
266
Attribute
Value
Bodies
Volume
Quantity
Type
Solid
Comments
Surface
Line
Faces
Quantity
Quantity
Quantity
Area
Quantity
Type
Plane
Cylinder
Cone
Torus
Sphere
Spline
Edges
Radius
Quantity
Quantity
Quantity
Quantity
Length
Quantity
Type
Arc
Line
Circle
Spline
Vertices
Radius
Quantity
Quantity
Quantity
Quantity
Quantity
Quantity
Quantity
The following location criteria functions return lists of entities based on the criteria applied to the input entity
list.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
267
Description
Convert (<Location>,
"<ConvertToType>","<ConvertOption>")
Largest (<Location>,"<Attribute>")
Match (<Location>,"<Attribute>","<Value>")
NotMatch (<Location>,"<Attribute>","<Value>")
Range (<Location>,"<Attribute>",
"<Lower>","<Upper>")
Smallest (<Location>,"<Attribute>")
Threshold
Returns all of the entities contained in the Location
(<Location>,"<Attribute>","<Operator>","<Value>") that have Attribute with a value that satisfies the
Operator.
Operator can be any of the following:
" >", "<", ">=", "<="
Example:
Find all bodies where x is less than or equal to 1.25 cm:
Threshold(AllBodies(), "x", "<=", "1.25 [cm]")
Find all faces with the smallest area:
Smallest(AllFaces(),"area")
7.1.7.3.4. Convert Options "All" and "Any"
The Convert location criteria function allows you to specify if you want to convert "all" or "any" of the supplied
entities to the ConvertTo entity type. To illustrate this, assume you have a rectangular body and you want
to select all the vertices with the largest X coordinate and convert them to edges. The set of vertices that
will be used during the conversion are shown below.
268
269
270
Text Color
black
Variables
orange
Named Expressions
purple
Functions
blue
Constants
brown
pink
Suggested names appear in italic text if the item is scoped to the current analysis, or non-italic text if they
have a general scope.
271
272
273
Open the propertys flyout menu by clicking on the right arrow to the right of the field.
Click the Create named expression/value icon.
Select Expression or Calculated Value.
Enter the expression or value name.
Click Create.
274
The name of the expression or the value of the expressions is now on the clipboard. You can use Ctrl+v
to paste the name (and thus the expression) or the value into another data field,or into any Windows
application.
7.1.9.6. Duplication of Named Expressions
You can duplicate a named expression from its object, from Named Expressions/Values or the Named
Expressions grid, or the Study panel.
The new named expression will have the default name Copyof<namedexpression>.
7.1.9.6.1. Duplicating a Named Expression from its Object
To duplicate a named expression from its object:
1. Open the Named Expressions object.
2. Click the Duplicate icon in the object toolbar.
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
275
Symbol
Value
pi
pi
3.1415927
2.7182818
276
FS
SS
FP
Available for expressions used when calculating results involving fluid flow physics
SP
Available for expressions used when calculating results involving structural, thermal or
electric conduction physics
Availability
UI
FS
SS
Syntax
FP
X Units
Y Units
SP
Negation
-x[a]
any
Addition
x[a] + y[b]
any
[a]
Subtraction
x[a] - y[b]
any
[a]
Multiplication
x[a] * y[b]
any
any
Division
x[a] / y[b]
any
any
Exponent
x[a] ** y
any
dimensionless
Availability
UI
FS
SS
Syntax
FP
X Units
Y Units
SP
Modulus
x%y
dimensionless
dimensionless
Floor Divide
x[a] // y
any
[a]
Integer
int(x)
dimensionless
Nearest Integer
nint(x)
dimensionless
Ceiling
ceil(x)
dimensionless
Absolute Value
fabs(x[a])
any
Absolute Value
abs(x[a])
any
Floor
floor(x[a])
dimensionless
exp(x)
dimensionless
log(x)
dimensionless
natural
logarithm
277
Availability
UI
FS
SS
Syntax
FP
X Units
Y Units
SP
Base 10
logarithm
log10(x)
dimensionless
Power
pow(x[a], y)
any
Square root
sqrt(x[a])
any
Arc cosine
acos(x)
dimensionless
Arc sine
asin(x)
dimensionless
Arc tangent
atan(x)
dimensionless
Arc tangent
with quadrant
atan2(x[a],
y[b])
any
Cosine
cos(x)
angle
Sine
sin(x[a])
angle
Tangent
tan(x[a])
angle
Hyperbolic
cosine
cosh(x)
dimensionless
Hyperbolic sine
sinh(x)
dimensionless
Hyperbolic
tangent
tanh(x)
dimensionless
Minimum
[a]
Maximum
[a]
Conditional
x[a] if
<log_expr>
else y[b]
[a]
any
dimensionless
[a]
Availability
UI
FS
SS
Syntax
FP
X Units
Y Units
SP
Not
not x
Less Than or
Equal to
any
[a]
Less Than
any
[a]
Greater than or
equal to
any
[a]
Greater than
any
[a]
Not equal to
x[a] != y[b]
any
[a]
278
Availability
UI
FS
SS
Syntax
FP
X Units
Y Units
SP
Equal to
x[a] == y[b]
AND
x and y
OR
x or y
any
[a]
Description
Simple
Length
Area
Volume
Mass
Availability of the functions is indicated in the table using the following notation:
UI
FS
SS
FP
Available for expressions used when calculating results involving fluid flow physics
SP
Available for expressions used when calculating results involving structural, thermal or
electric conduction physics
Availability
UI
Length
FS
SS
Syntax
FP
Action
SP
Length(<locations>) Returns the length
of <locations>
279
Availability
UI
FS
SS
Syntax
FP
Action
SP
Area
Volume
Mass
Sum
Average
Average(<expr>,<locations>,
"Simple" |
"Length" | "Area"
| "Volume" |
"Mass")
Returns weighted
average of
<expr> over
<locations>
RMS(<expr>,<locations>,
"Simple" |
"Length" | "Area"
| "Volume" |
"Mass")
Returns weighted
root mean square
of <expr> over
<locations>
Count
CountIf
CountIf(<logical_expr>,
<locations>,
"Node" | "Edge" |
"Face" |
"Element")
Returns number of
mesh entities on
<locations> if
<logical_expr> is
true
SumIf
SumIf(<expr>,
<logical_expr>,<locations>,
"Simple" |
"Length" | "Area"
| "Volume" |
"Mass")
Returns weighted
sum of <expr>
over <locations>
if <logical_expr>
is true
Maximum
Maxm
i um(<expr>,<o
l cato
i ns>) Returns maximum
value of <expr>
on <locations>
Minimum
280
Availability
UI
FS
SS
Syntax
FP
Action
SP
Probe
FS
SS
FP
Available for expressions used when calculating results involving fluid flow physics
SP
Available for expressions used when calculating results involving structural, thermal or
electric conduction physics
Availability
UI
FS
SS
Action
FP
SP
GetBoundary("<unique_name>"
| "@<display_name>")
GetIsosurface("<unique_name>"
| "@<display_name>")
GetItem("<type>",
"<unique_name>" |
"@<display_name>")
GetPlane("<unique_name>"
| "@<display_name>")
GetPoint("<unique_name>"
| "@<display_name>")
GetPhysicsRegion("<unique_name>"
| "@<display_name>")
GetSelectionSet("<unique_name>"
| "@<display_name>")
281
Variable Type
Pressure
Scalar
AbsolutePressure
Scalar
TotalPressure
Scalar
Variable Type
Density
Scalar
DynamicViscosity
Scalar
ThermalConductivity
Scalar
SpecificHeatCp
Scalar
Variable Type
qCriterion
Scalar
Velocity
Vector
Velocity.x
Vector Component
Velocity.y
Vector Component
Velocity.z
Vector Component
Velocity.mag
Vector Magnitude
Vorticity
Vector
Vorticity.x
Vector Component
Vorticity.y
Vector Component
Vorticity.z
Vector Component
Vorticity.mag
Vector Magnitude
Variable Type
Temperature
Scalar
282
Variable Type
SpecificInternalEnergy
Scalar
Variable Type
TurbulenceKineticEnergy
Scalar
TurbulenceDissipationRate
Scalar
TurbulenceEddyFrequency
Scalar
TurbulenceIntensity
Scalar
TurbulenceViscosity
Scalar
EffectiveViscosity
Scalar
TurbulenceViscosityRatio
Scalar
ModifiedTurbulenceViscosity
Scalar
TurbulenceIntermittency
Scalar
ReynoldsStressXX
Tensor Components
ReynoldsStressXY
Tensor Components
ReynoldsStressXZ
Tensor Components
ReynoldsStressYY
Tensor Components
ReynoldsStressYZ
Tensor Components
ReynoldsStressZZ
Tensor Components
ReynoldsTheta
Scalar
Variable Type
SurfaceShearStress
Vector
SurfaceShearStress.x
Vector Component
SurfaceShearStress.y
Vector Component
SurfaceShearStress.z
Vector Component
SurfaceShearStress.mag
Scalar
SurfaceHeatFlux
Scalar
283
Variable Type
Force
Vector
Force.x
Vector Component
Force.y
Vector Component
Force.z
Vector Component
Force.mag
Vector Magnitude
Variable Type
PressureForce
Vector
PressureForce.x
Vector Component
PressureForce.y
Vector Component
PressureForce.z
Vector Component
PressureForce.mag
Vector Magnitude
Variable Type
ViscousForce
Vector
ViscousForce.x
Vector Component
ViscousForce.y
Vector Component
ViscousForce.z
Vector Component
ViscousForce.mag
Vector Magnitude
Variable Type
Position
Vector
Position.x
Vector Component
Position.y
Vector Component
Position.z
Vector Component
Position.mag
Vector Magnitude
Variable Type
ElementWallDistance
Scalar
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
284
Variable Type
FaceArea
Vector
FaceArea.x
Vector Component
FaceArea.y
Vector Component
FaceArea.z
Vector Component
OrthogonalQuality
Scalar
ElementVolume
Scalar
FaceHandedness
Scalar
MarkPoorElement
Scalar
Variable Type
Iteration
Single Valued
Variable Type
MassFlow
Mass Flow
MassImbalance
Mass Imbalance
Variable Type
ElasticStrain.xx (.x)
Tensor Component
ElasticStrain.yy (.y)
Tensor Component
ElasticStrain.zz (.z)
Tensor Component
ElasticStrain.xy (.yx)
Tensor Component
ElasticStrain.zy (.yz)
Tensor Component
ElasticStrain.zx (.xz)
Tensor Component
ElasticStrain.p1
Scalar
ElasticStrain.p2
Scalar
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
285
Variable Type
ElasticStrain.p3
Scalar
ElasticStrain.eqv
Scalar
ElasticStrain.intensity
Scalar
ElasticStrain.maxshear
Scalar
ThermalStrain.xx (.x)
Tensor Component
ThermalStrain.yy (.y)
Tensor Component
ThermalStrain.zz (.z)
Tensor Component
ThermalStrain.xy (.yx)
Tensor Component
ThermalStrain.zy (.yz)
Tensor Component
ThermalStrain.zx (.xz)
Tensor Component
ThermalStrain.p1
Scalar
ThermalStrain.p2
Scalar
ThermalStrain.p3
Scalar
ThermalStrain.eqv
Scalar
ThermalStrain.intensity
Scalar
Variable Type
Stress.xx (.x)
Tensor Component
Stress.yy (.y)
Tensor Component
Stress.zz (.z)
Tensor Component
Stress.xy (.yx)
Tensor Component
Stress.zy (.yz)
Tensor Component
Stress.zx (.xz)
Tensor Component
Stress.p1
Scalar
Stress.p2
Scalar
Stress.p3
Scalar
Stress.eqv
Scalar
Stress.intensity
Scalar
Stress.maxshear
Scalar
286
Variable Type
Displacement
Vector
Displacement.x
Vector Component
Displacement.y
Vector Component
Displacement.z
Vector Component
Displacement.mag
Vector Magnitude
Variable Type
ForceReaction
Vector
ForceReaction.x
Vector Component
ForceReaction.y
Vector Component
ForceReaction.z
Vector Component
ForceReaction.mag
Vector Magnitude
Variable Type
Force
Vector
Force.x
Vector Component
Force.y
Vector Component
Force.z
Vector Component
Force.mag
Vector Magnitude
Variable Type
ContactPressure
Scalar
SlidingDistance
Scalar
Penetration
Scalar
Gap
Scalar
ContactStatus
Scalar
287
Variable Type
ContactReaction
Vector
ContactReaction.x
Vector Component
ContactReaction.y
Vector Component
ContactReaction.z
Vector Component
ContactReaction.mag
Scalar
Variable Type
JointTotalForce
Vector
JointTotalForce.x
Vector Component
JointTotalForce.y
Vector Component
JointTotalForce.z
Vector Component
JointTotalForce.mag
Scalar
JointTotalMoment
Vector
JointTotalMoment.x
Vector Component
JointTotalMoment.y
Vector Component
JointTotalMoment.z
Vector Component
JointTotalMoment.mag
Scalar
RelativeDisplacement
Vector
RelativeDisplacement.x
Vector Component
RelativeDisplacement.y
Vector Component
RelativeDisplacement.z
Vector Component
RelativeDisplacement.mag
Scalar
RelativeVelocity
Vector
RelativeVelocity.x
Vector Component
RelativeVelocity.y
Vector Component
RelativeVelocity.z
Vector Component
RelativeVelocity.mag
Scalar
RelativeAcceleration
Vector
RelativeAcceleration.x
Vector Component
RelativeAcceleration.y
Vector Component
Release 16.2 - SAS IP, Inc. All rights reserved. - Contains
proprietary and confidential information of
ANSYS, Inc. and its subsidiaries and affiliates.
Published: 2015-07-17T08:14:20.17-04:00
288
Variable Type
RelativeAcceleration.z
Vector Component
RelativeAcceleration.mag
Scalar
RelativeRotation
Vector
RelativeRotation.x
Vector Component
RelativeRotation.y
Vector Component
RelativeRotation.z
Vector Component
RelativeRotation.mag
Scalar
RelativeAngularVelocity
Vector
RelativeAngularVelocity.x
Vector Component
RelativeAngularVelocity.y
Vector Component
RelativeAngularVelocity.z
Vector Component
RelativeAngularVelocity.mag
Scalar
RelativeAngularAcceleration
Vector
RelativeAngularAcceleration.x
Vector Component
RelativeAngularAcceleration.y
Vector Component
RelativeAngularAcceleration.z
Vector Component
RelativeAngularAcceleration.mag
Scalar
Variable Type
FatigueLife
Scalar
FatigueDamage
Scalar
FatigueSafetyFactor
Scalar
FatigueBiaxiality
Scalar
FatigueEquivalentStress
Scalar
Variable Type
StructuralError
Scalar
289
Variable Type
ElectricPotential
Scalar
Variable Type
ElectricField
Vector
ElectricField.x
Vector Component
ElectricField.y
Vector Component
ElectricField.z
Vector Component
ElectricField.mag
Vector Magnitude
Variable Type
CurrentDensity
Vector
CurrentDensity.x
Vector Component
CurrentDensity.y
Vector Component
CurrentDensity.z
Vector Component
CurrentDensity.mag
Vector Magnitude
Variable Type
CurrentReaction
Scalar
Variable Type
HeatGeneration
Scalar
Variable Type
ContactStatus
Scalar
290
Variable Type
Temperature
Scalar
HeatFlux
Vector
HeatFlux.x
Vector Component
HeatFlux.y
Vector Component
HeatFlux.z
Vector Component
HeatFlux.mag
Vector Magnitude
TemperatureGradient
Vector
TemperatureGradient.x
Vector Component
TemperatureGradient.y
Vector Component
TemperatureGradient.z
Vector Component
TemperatureGradient.mag
Vector Magnitude
Variable Type
HeatFlow
Scalar
Variable Type
HeatFlowReaction
Scalar
Variable Type
ContactStatus
Scalar
Variable Type
ThermalError
Scalar
291
Study
Task
Task Group
AssociatedObject
Templates
Detailed descriptions of the entire project and data model concepts, including these ANSYS AIM-specific
ones, can be found in in the Workbench Scripting Guide.
ANSYS AIM uses the same concepts as described in the Workbench Scripting Guide, with the following
exceptions:
Most input is an expression which must evalute to a quantity type, and thus it is required to include the
units; therefore none of the examples in the section apply.
The methods that are available are detailed in the data containers section of the Workbench Scripting Guide.
The study-based commands that can be executed are described in the namespaced commands section of
the Workbench Scripting Guide.
292
Index
A
B
Behavior .......................................................................93
Size Function and ....................................................93
body sizing control .........................................................90
C
contours ......................................................................229
curvature size function ...................................................34
D
density ........................................................................124
E
Element Size .................................................................93
Size Function and ....................................................93
engineering topology .....................................................94
Extracted Volume ...........................................................95
properties ...............................................................95
F
face sizing control ..........................................................90
fixed size function ....................................................34, 55
G
Geometry Simplification .................................................96
properties ...............................................................96
I
isosurfaces ..................................................................236
L
local mesh sizing control options .....................................91
local mesh sizing controls ...............................................88
O
overview ...............................................229, 233, 236, 239
contours ...............................................................229
isosurfaces ............................................................236
results ..................................................................229
streamlines ...........................................................239
vectors .................................................................233
P
properties for Volume Creation tasks .........................9596
proximity size function ...................................................33
R
results ..................................................229, 233, 236, 239
contours ...............................................................229
isosurfaces ............................................................236
streamlines ...........................................................239
vectors .................................................................233
S
size function ..................................................................31
Size Function .................................................................93
Behavior and ..........................................................93
Element Size and ....................................................93
size function options ..........46, 5051, 55, 67, 7273, 7778
size functions ...........................................................3335
adaptive .................................................................35
curvature ................................................................34
fixed ......................................................................34
proximity ................................................................33
streamlines ..................................................................239
T
thermal conductivity, constant ......................................126
V
vectors ........................................................................233
Volume Creation task ..........................................55, 9596
additional settings ...................................................55
Extracted Volume ....................................................95