Professional Documents
Culture Documents
Schulung CERN 2014 May
Schulung CERN 2014 May
DE
CADFEM Berlin
CADFEM Hannover
CADFEM
Dortmund
ANSYS Hannover
CADFEM Frankfurt
ANSYS Darmstadt
CADFEM Chemnitz
CADFEM
Stuttgart
CADFEM
Mittelland
Mnchen
CADFEM
CH Aadorf
CADFEM
Lausanne
CADFEM 2013 |
CADFEM
Grafing
ANSYS
Otterfing
CADFEM Wien
AT
CADFEM 2013 |
CADFEM 2013 |
CADFEM (Suisse) AG
Wittenwilerstrasse 25
CH-8355 Aadorf
CADFEM (Suisse) AG
Avenue de la Poste 3
CH-1020 Renens
Tel.:
+41-(0)52-36801-01
CADFEM
GmbH
Fax:
+41-(0)52-36801-09
Zentrale
Grafing
Marktplatz 2
85567 Grafing bei Mnchen
E-Mail: info@cadfem.ch
www.cadfem.ch
CADFEM (Suisse) AG
Privatstrasse 8
CH-4563 Gerlafingen
Table of Contents
Release 14.5
ANSYS Mechanical
Workbench Advanced Training
1
Nonlinear Overview
A. What is nonlinear behavior?
B. Types of nonlinearities
C. Nonlinear Solutions using linear solvers
D. General Nonlinear Issues
2.
3.
4.
5.
Stabilization
A.
Background
B.
Nonlinear Stabilization
C.
Controlling Stabilization Force
D.
Stabilization Input
E.
Reviewing Results
F.
Workshops 5A
6.
Introduction to Contact
A.
Definitions
B.
Formulations
C.
Stiffness and Penetration
D.
Workshop 3A
E.
Pinball
F.
Symmetric vs Asymmetric
G.
Contact Results
H.
Workshop 3B
Nonlinear Diagnostics
A.
Solution Information
B.
Monitoring the Solution
C.
Newton-Raphson Residuals
D.
Example Cases
E.
Tips on Solving the Model
F.
Workshop 6A
7.
Metal Plasticity
A.
Overview
B.
Yield Criteria
C.
Hardening Rules
D.
Material Data Input
E.
Workshops 4A
A1.
Nonlinear Connections
A.
General review of Contact Technology
B.
Auto Detection Options
C.
Using the Contact Tool
D.
General review of Joint Technology
E.
Springs & Beams
F.
Spot Welds
G.
Connection Worksheet
B1.
A2.
B2.
Hyperelasticity
A.
Background on Elastomers
B.
Introduction to Hyperelasticity Theory
C.
Available Models
D.
Mixed u-P Formulation
E.
Curve fitting procedure
F.
Analysis Settings
G.
Running the Solution
A3.
B3.
Element Technology
A.
Element Technology Options for Nonlinear Simulations
A4.
Bolt Pretension
A.
Overview of Bolts and Fasteners Modeling in ANSYS
C1.
Introduction
A.
Using Command Objects: Motivation
B.
Examples
C2.
ANSYS
A.
B.
C.
D.
E.
F.
C3.
C4.
APDL Commands
A.
APDL Commands
B.
LOG File
C.
Parameters
D.
Control Logic
C5 .
C6 .
Mechanical APDL
Introduction to MAPDL
Launching Mechanical APDL
Mechanical APDL Files
Mechanical APDL GUI
Graphics
Existing MAPDL
Introduction
14. 5 Release
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Welcome!
Welcome to the Introduction to Structural Nonlinearities in ANSYS Mechanical
training course!
This training course covers basic procedures for performing structural
nonlinear analyses using the Mechanical Interface.
It is intended for users already familiar with the procedures for performing a
linear static analysis in the Mechanical environment.
Prerequisite is ANSYS-Mechanical Introduction-Part I
Advanced Nonlinear Materials and Advanced Contact are covered in separate
classes.
Course Materials
The Training Manual you have is an exact copy of the slides.
Copies of the workshop files are available via download from customer portal
Several advanced training courses are available on specific topics. See the
training course schedule on the ANSYS homepage http://www.ansys.com/
under Services >Training...
Course Objectives
Review Background on Nonlinearities
Types of Nonlinearities
Theory & Assumptions
Present General Set-up Procedures in Mechanical
Introduction Large Deflection
Introduction to Contact Technology
Introduction to Metal Plasticity
Convergence Diagnostics Tools
Topics Covered
Main Chapters
1. Overview
2. General Procedures
3. Introduction to Contact
4. Introduction Metal Plasticity
5. Stabilization
6. Nonlinear Diagnostics
Lecture 1
Overview
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Chapter Overview
In this chapter, an overview of the basics of nonlinear finiteelement analysis (FEA) is presented:
F = Ku
The constant K represents structural stiffness.
A linear structure obeys this linear relationship.
A common example is a simple spring:
F
K
F
K
u
The stiffness is no longer a constant, but varies as you progress through the load path
KT (tangent stiffness) represents the tangent to the force deflection curve at a particular
point in the load path.
KT
B. Types of Nonlinearities
There are three main sources of nonlinearities:
Types of Nonlinearities
Of course, all three types of nonlinearities can be encountered in combination.
Mechanical can readily handle combined nonlinear effects.
In a nonlinear analysis, the response cannot be predicted directly with a set of linear
equations.
Mechanical uses an iterative process called the Newton-Raphson Method. Each iteration
is known as an equilibrium iteration.
Load
F
3
2
1
u
8
Displacement
Newton-Raphson Method
{
{Fa}
{Fnr}
Fa
Fnr
u
10
Load
Diverging!
Converged
ustart
Displacement
ustartu
Displacement
F1
ustart
ustart
Use convergence-enhancement
tools to enlarge the radius of
convergence
Fb
Fb2
Fb1
Fa
Fa1
xa
xb
Obtaining convergence
Balancing expense versus accuracy
Verification
14
When many iterations are required, the overall solution time increases.
15
16
Mesh Density
Lecture 2
General Procedures
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Chapter Overview
In this chapter, general tools and procedures useful for achieving convergence and
post processing results are introduce. These tools are not specific to a particular
source of nonlinearity.
A. Building a Nonlinear Model
B. Obtaining a nonlinear solution
Step Controls
Solver Controls
Restart Controls
Nonlinear Controls
Output Controls
Analysis Data Management
C. Postprocessing Nonlinear Results
A model undergoing mildly nonlinear behavior due to large deflection and stress
stiffening effects might need no modification with regards to geometry set up and
meshing.
For large-deflection analyses, if elements undergo some change in shape, this may
reduce the fidelity of the solution.
= B u
,
u
The image on the right shows a 4-node quad element with 2x2 integration,
integration points shown in red.
When we post-process results, stress/strain values at integration points are
extrapolated or copied to nodal locations
Forcing a full integration order only applies to higher order elements, which have a
Load
Acceleration
(constant direction)
Force, Moment,
Bolt Load
(constant direction)
Pressure
(always normal to
surface)
Direction After
Deflection
F = Ku
Ki
Fi = Kiui
2
1
10
Load
Time
tstart
11
tmin
tmax
12
F1
ustart
13
14
15
16
17
20
Load
r5
r6 (last
converged)
r4
r3
r2
r1
Time
LS1
Substeps
Restart
points
21
LS2
22
23
24
25
26
27
Residual
Criteria
28
29
30
Because displacement-based
checking is a relative measure of
convergence, it should only be
used as a supplement to forcebased convergence.
Force-based convergence provides
an absolute measure of
convergence, as it is a measure of
equilibrium between the internal
and external forces.
31
Big
g Residual
Relying on displacement
convergence alone can in some
cases lead to erroneous results.
32
33
34
35
38
39
In particular
Contact Miscellaneous should be set to YES
if contact based force reactions are desired
(default=No).
General Miscellaneous should be set to YES
to access element miscellaneous records
via SMISC/NMISC expressions for user
defined results (default=No).
40
41
Lecture 3
Introduction to Contact
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Chapter Overview
An introduction to solid body contact will be presented in this Lecture:
A. Basic Concepts
Contact:
When two separate surfaces touch each other such that they become
mutually tangent, they are said to be in contact.
In the common physical sense, surfaces that are in contact have these
characteristics:
Target
Contact
B. Contact Formulations
Pure Penalty or Augmented Lagrange:
Both are penalty-based formulations
Fn
Here, for a finite contact force Fnormal, there is a concept of contact stiffness
knormal. The higher the contact stiffness, the lower the penetration xpenetration, as
shown in the figure.
Ideally, for an infinite knormal, one would get zero penetration. This is not
numerically possible with penalty-based methods, but as long as xpenetration is small
or negligible, the solution results will be accurate.
Augmented Lagrange is default for all flexible body contact
6
Similar to the impenetrability condition, in the tangential direction, the two bodies
should not slide relative to each other if they are sticking
Ftangential = ktangentialxsliding
where xsliding ideally is zero for sticking, although some slip is allowed in the penaltybased method.
Unlike the Normal Contact Stiffness, the Tangential Contact Stiffness cannot directly
be changed by the user.
Fnormal = DOF
Enforces zero/nearly-zero penetration with pressure DOF
Does not require a normal contact stiffness (zero elastic slip)
Requires Direct Solver, which can be more computationally expensive
Only applies to forces in directions Normal to contact surface
9
If no penetration is allowed (left), then the contact status is either open or closed (a
step function). This can sometimes make convergence more difficult because
contact points may oscillate between open/closed status. This is called chattering
If some slight penetration is allowed (right), it can make it easier to converge since
contact is no longer a step change.
Contact Status
Contact Status
Open
Penetration
Gap
Closed
Penetration
Closed
10
Open
Gap
Penetration
Penalty-Based Method
11
SHELL Element
SOLID element
12
C. Detection Method
Detection Method allows you to choose the location of
contact detection used in the analysis in order to obtain
a good convergence.
Nodal Detection
14
15
D. Trim Contact
Trim Contact automatically reduces the number
of contact elements generated within each
pair, thereby speeding up processer time.
Program Controlled will typically turn Trim
Contact ON. However, no trimming is done for
manually created pairs and/or when Large
Deflection is turned ON.
16
Trim Contact
Trim Tolerance:
Defines the upper bounding box
dimension used for the trimming
operation.
For automatic contacts, this
property displays the value that
was used for contact detection
and it is a read-only field.
For manual contacts, user can
enter any value greater than zero.
Trim Tolerance
17
xp
Augmented Lagrange:
18
Ftangential
ELSI
F. Contact Stiffness
Normal Stiffness is actually a multiplier or factor
(FKN) on the code calculated stiffness explained
earlier.
- FKN=10 by default for bonded and no-separation
behaviors
- FKN=1.0 by default for all other behaviors
- For bending-dominated situations, if convergence
difficulties are encountered, a smaller value
(FKN =0.01 - 0.1) may be helpful.
- Only applies to Penalty based formulations (Pure
Penalty or Augmented Lagrange)
20
21
Fcontact
Iteration n
22
Iteration n+1
Iteration n+2
Normal Stiffness
0.01
0.1
1
10
-
Max Deform
2.84E-03
2.80E-03
2.80E-03
2.80E-03
2.80E-03
23
26.102
25.802
25.679
25.765
25.768
0.979
1.228
1.568
1.599
1.535
36%
20%
2%
4%
0%
2
2
3
4
2
24
H. Pinball Region
The Pinball Region is a contact element parameter that differentiates
between far field open and near field open status. It can be thought of as a
spherical boundary surrounding each contact detection point
If a node on a Target surface is within this sphere, Mechanical considers it to be in
near contact and will monitor its relationship to the contact detection point more
closely (i.e., when and whether contact is established). Nodes on target surfaces
outside of this sphere will not be monitored as closely for that particular contact
detection point.
If Bonded Behavior is specified within a gap smaller than the Pinball Radius,
Mechanical will still treat that region as bonded
Pinball radius
25
26
Pinball Region
There are three options for controlling the size of the Pinball Region
for each contact detection point.
27
Pinball Region
Auto Detection Value or a user defined Pinball Radius will appear as a
sphere on the Contact Region for easy verification.
By specifying a Pinball
Radius, one can visually
confirm whether or not a
gap will be ignored in
Bonded Behavior.
The Pinball Region can
also be important in
initial interference
problems or largedeformation problems.
28
I. Symmetric/Asymmetric Behavior
Internally, the designation of Contact and Target surfaces can be very
important
In Mechanical, under each Contact Region, the Contact and Target surfaces are
shown. The normals of the Contact surfaces are displayed in red while those of the
Target surfaces are shown in blue.
The Contact and Target
surfaces designate which
two pairs of surfaces
can come into contact
with one another.
29
Symmetric/Asymmetric Behavior
The concept of Symmetric vs Asymmetric Behavior
only applies to penalty based methods
Asymmetric Behavior
- Only the contact surfaces are constrained from penetrating the target surfaces.
- Internally, contact elements are meshed onto the red surface and corresponding
target elements are meshed onto the blue surface, constituting one contact pair.
Symmetric Behavior.
- The contact surfaces are constrained from penetrating the target surfaces and the
target surfaces are constrained from penetrating the contact surfaces.
- Internally, the program uses two contact pairs with contact and target elements
residing on both red and blue surfaces.
Symmetric/Asymmetric Behavior
For Asymmetric Behavior, the nodes of the Contact surface cannot penetrate
the Target surface. This is a very important rule to remember. Consider the
following:
- On the left, the top red mesh is the mesh on the Contact side. The nodes cannot
penetrate the Target surface, so contact is established correctly
- On the right, the bottom red mesh is the Contact surface whereas the top is the
Target. Because the nodes of the Contact cannot penetrate the Target, too much
actual penetration occurs.
Contact Surface
Target Surface
31
Target Surface
Contact Surface
Symmetric/Asymmetric Behavior
For Asymmetric Behavior, the integration point detection may allow some
penetration at edges because of the location of contact detection points.
The figure on the bottom illustrates this case:
Contact Surface
The target can penetrate
the contact surface.
Target Surface
On the other hand, there are more contact detection points if integration
points are used, so each contact detection method has its pros and cons.
32
Symmetric/Asymmetric Behavior
The following guidelines can be beneficial for proper selection of contact
surfaces for Asymmetric behavior:
If a convex surface comes into contact with a flat or concave surface, the flat or
concave surface should be the Target surface.
If one surface has a coarse mesh and the other a fine mesh, the surface with the
coarse mesh should be the Target surface.
If one surface is stiffer than the other, the stiffer surface should be the Target
surface.
If one surface is higher order and the other is lower order, the lower order surface
should be the Target surface.
If one surface is larger than the other, the larger surface should be the Target
surface.
33
Symmetric/Asymmetric
Only Pure Penalty and Augmented Lagrange formulations actually support
Symmetric Behavior.
Normal Lagrange and MPC require Asymmetric Behavior.
- Because of the nature of the equations, Symmetric Behavior would be
overconstraining the model mathematically, so Auto-Asymmetric Behavior is used
even when Symmetric Behavior is selected.
It is always good for the user to follow the general rules of thumb in
selecting Contact and Target surfaces noted on the previous slide for any
situation below where Asymmetric Behavior is used.
Specified Option
Symmetric Behavior
Behavior
Internally Asymmetric Behavior
Auto-Asymmetric Behavior
Used
Review ing Symmetric Behavior
Results
Asymmetric Behavior
Auto-Asymmetric Behavior
Notes
Symmetric Behavior
Asymmetric Behavior
Auto-Asymmetric Behavior
34
Pure Penalty
Augmented Lagrange
Normal Lagrange
Symmetric
Symmetric
Auto-Asymmetric
Asymmetric
Asymmetric
Asymmetric
Auto-Asymmetric
Auto-Asymmetric
Auto-Asymmetric
Results on Both
Results on Both
Results on Either
Results on Contact
Results on Contact
Results on Contact
Results on Either
Results on Either
Results on Either
Easier to set up
Easier to set up
Let program designate
Efficiency and control Efficiency and control
User has control
Let program designate Let program designate Let program designate
MPC
Auto-Asymmetric
Asymmetric
Auto-Asymmetric
Results on Either
Results on Contact
Results on Either
Let program designate
User has control
Let program designate
Symmetric/Asymmetric
Symmetric Behavior:
Easier to set up
More computationally expensive.
Interpreting data such as actual contact pressure can be more difficult
Results are reported on both sets of surfaces
Asymmetric Behavior:
35
36
The thickness of a surface body is assigned by the user as a property in the Details
window associated with the surface body
37
Contact between
two rigid bodies
38
39
K. Contact results
For Symmetric Behavior, results are reported for both Contact and
Target surfaces.
For any resulting Asymmetric Behavior, results are only available on
Contact surfaces.
When viewing the Contact Tool
worksheet, the user may select
Contact or Target surfaces to
review results.
For Auto-Asymmetric Behavior,
the results may be reported on
either the Contact or Target
For Asymmetric Behavior, zero
results are reported for Target
40
When reviewing Contact Tool results, one can see that the Contact side
reports no (zero) results while the Target side reports true Contact Pressure.
Contact Surface
41
Target Surface
However, results are reported on both Contact and Target surfaces. This
means that the true contact pressure is an average of both results.
Contact Surface
42
Target Surface
43
Lecture 4
Rate Independent Plasticity
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Chapter Overview
The following will be covered in this Chapter:
A.
B.
C.
D.
E.
F.
G.
Background Elasticity/Plasticity
Yield Criteria
Hardening Rules
Material Data Input
Analysis Settings
Reviewing Results
Workshop
In elastic response, if the induced stresses are below the materials yield
strength, the material can fully recover its original shape upon unloading.
From a standpoint of metals, this behavior is due to the stretching but not
breaking of chemical bonds between atoms. Because elasticity is due to
this stretching of atomic bonds, it is fully recoverable. Moreover, these
elastic strains tend to be small.
= E
3
Yield Strength y
Unloading
Elastic
5
Plastic
Most metals exhibit rate-independent behavior at low temperatures (< 1/4 or 1/3
melting temperature) and low strain rates.
True
Engineering
Strain
6
= eng
= eng
Beyond necking:
There is no conversion equation relating engineering to true stress-strain at necking.
The instantaneous cross-section must be measured.
7
B. Yield Criterion
Yield Criterion:
The yield criteria is used to relate multiaxial stress state with the uniaxial case.
The actual structure usually exhibits multiaxial stress state. The yield criterion
provides a scalar invariant measure of the stress state of the material which
can be compared with the uniaxial case.
1 - p
=
3
2
Stress State
(Where: 1 = 2
= 3)
+
p
2 - p
3 - p
Yield Criterion
The von Mises yield criterion predicts that yielding will occur whenever the
distortion energy in a unit volume equals the distortion energy in the same
volume when uniaxially stressed to the yield strength.
From this theory, a scalar invariant (von Mises equivalent stress) is derived
as:
1
( 1 2 )2 +
e =
2
( 2 3 )2 + ( 3 1 )2 ]
When von Mises equivalent stress exceeds the uniaxial material yield
strength, general yielding will occur.
10
1 =2 =3
Yield Criterion
At the edge of the cylinder (circle), yielding will occur.
Instead, hardening rules will describe how the cylinder changes with
respect to yielding.
Plastic
Elastic
2
12
Uniaxial Stress-Strain
C. Hardening Rules
The hardening rule describes how the yield surface changes (size,
center,shape) as the result of plastic deformation.
The hardening rule determines when the material will yield again if the
loading is continued or reversed.
This is in contrast to elastic-perfectly-plastic materials which exhibit no
hardening -- i.e., the yield surface remains fixed.
Plastic
Yield Surface after Loading
Elastic
Initial Yield Surface
13
Hardening Rules
There are two basic hardening rules to prescribe the modification of the yield
surface:
Kinematic hardening.
Subsequent Yield
Surface
Initial Yield
Surface
Isotropic hardening.
The yield surface expands
uniformly in all directions with
plastic flow.
Subsequent Yield
Surface
Initial Yield
Surface
1
Most metals exhibit kinematic hardening behavior for small strain cyclic
loading.
14
Kinematic Hardening
The stress-strain behavior for linear kinematic hardening is illustrated below:
3
Subsequent
Yield Surface
'
y
Initial Yield
Surface
2y
Kinematic Hardening
An initially isotropic material is no longer isotropic after it yields and
experiences kinematic hardening.
For very large strain simulations, the linear kinematic hardening model can
become inappropriate because of the Bauschinger effect.
16
Isotropic Hardening
Isotropic hardening states that the yield surface expands uniformly during
plastic flow. The term isotropic refers to the uniform dilatation of the
yield surface and is different from an isotropic yield criterion (i.e.,
material orientation).
Subsequent
Yield Surface
'
y
Initial Yield
Surface
17
2'
2
Isotropic Hardening
Plotting the stress-strain curve enables an understanding of what occurs
during a loading and reverse loading cycle:
18
Bilinear
19
Multilinear
20
21
22
Highlight the metal plasticity model of interests (in the example below, Bilinear Isotropic
is selected)
RMB on the material model and click on Include Property
24
25
26
27
F. Reviewing Results
Reviewing results in a metal plasticity model is similar to a linear elastic run with
the exception that there is now a path dependent plastic strain to consider.
Examine the nonlinear force deflection curve to better understand how the plastic strain
is influencing the overall nonlinearity of the structure.
28
29
W4A-Metal Plasticity
30
Lecture 5
Nonlinear Stabilization
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Chapter Overview
This Lecture will present the use of Nonlinear Stabilization to solve global and
local nonlinear buckling problems
Stable
Unstable
fd
Damping
User defines a damping factor directly.
Same factor used for all applicable elements.
Recommended when user has a specific damping
factor in mind.
It is a good practice to examine the energies after the solution has completed
because the energy dissipation ratio of the solution could be greater than the
ratio initially specified.
D. Stabilization Input
Regardless of which method is employed,
user has general options for how to apply
the stabilization force
Constant Option: Maintains the damping
factor as an unchanged constant during each
substep of a load step.
Reduced Option: Reduces the damping factor
linearly to zero at the end of a load step.
11
E. Reviewing Results
When Stabilization has been activated, it is always a good practice to determine
the extent of its influence on results accuracy
One way to do this is to post process the Strain Energy of the system and compare it
to the Stabilization Energy created by the artificial damping introduced to bring
about convergence
As a general rule, the stabilization energy should be small (<<10% of strain energy) in
comparison
12
13
Summary
Many structures require an evaluation of their structural stability.
Instability problems usually pose convergence difficulties and therefore
require the application of special nonlinear techniques.
Nonlinear stabilization can be understood as adding an artificial damper or
dashpot element at each structural element node
There are two methods available in WB-Mechanical for controlling the
stabilization force, Energy and Damping.
When Stabilization has been activated, it is always a good practice to
determine the extent of its influence on results accuracy by postprocessing
the stabilization energy and comparing with strain energy as well as
examining the force and moment reactions.
14
... Workshop
Please refer to your Workshop Supplement for instructions on:
W5A- PostBuckling with Stabilization
15
Lecture 6
Nonlinear Diagnostics
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Lecture Overview
Since some nonlinear structural analyses can be challenging to solve,
understanding how to diagnose non-convergence problems is critical in
obtaining answers.
The following will be covered in this section:
A. Solver Output
B. Monitoring the Solution
C. Newton-Raphson Residuals
D. Example Cases
E. Tips
F. Workshops
A. Solution Information
In Lecture 2, the Solution Information branch was introduced
Recall that with the Solution Information branch, the detailed Solver Output
can be reviewed, and convergence graphs, such as the Force Convergence
behavior, can be plotted.
Text Output
Graphical Output
It is instructive to note that while Contact Regions can be given any name in
Mechanical, the ANSYS solver treats each Contact Region with a unique number (ID).
For debugging purposes, it is useful to find out which Contact Region has which ID
number. For example, in the above snippet, Contact Region Teeth 3 is referenced
by contact ID 9 and 10.
2D plane stress/strain
metal plasticity with
lower order elements
Default URI
Enhanced Strain
2D plane strain
elastic material with
lower order elements
Simplified Enhanced Strain
10
11
When contact status changes abruptly, this is just a warning indicating that the
12
contact elements enter or exit the pinball region drastically. This may be due to
parts sliding or separating drastically if the load is too high. WB-Mechanical may
automatically bisect the solution, if necessary.
Element distortion messages are usually severe problems due to excessive loading or
over-constraints. Bisection of the load is automatically performed, but sometimes
corrective measures may need to be taken to fix the problem.
Users can review the Solver Output during solution to find detailed
information of the current equilibrium iteration
The Solver Output can be reviewed after solution to determine reasons for
Detailed warnings or error messages (marked with ***), if present, will also
be printed in the Solver Output. Also, during solution, review of the substep
status (denoted with >>>) will show the reasons for bisection, if any.
14
If the solution seems to be behaving unexpectedly, the user can stop the analysis and
investigate the problem rather than wait until the solution is complete. This helps to
save time.
Monitoring the solution also helps the user gain an understanding into the response
of the system
There are two ways in which users can monitor the solution in WB-Mechanical:
15
16
This usually indicates either that (a) a smaller increment of the load should be
17
18
19
20
C. Newton-Raphson Residuals
So far, obtaining detailed solver information and monitoring the solution have
been discussed. In the event that non-convergence is encountered, the
Newton-Raphson Residuals are very useful in locating possible problem areas
If the solution does not converge because of force equilibrium, this will be reflected
in the Solver Output and Force Convergence graph. The Force Convergence
(residuals) will be greater than the Force Criterion.
will show which areas had high force residuals. This usually helps to pinpoint what
locations prevented force equilibrium, usually either because of the Load and
Supports at that location or because of Contact Region settings.
21
Newton-Raphson Residuals
In the Solution Information details view, enter the number of equilibrium
iterations to retrieve Newton-Raphson Residuals. For example, if 4 is
entered, the residual forces from the last four iterations will be returned if
the solution is aborted or does not converge.
22
Newton-Raphson Residuals
After solution is stopped or fails to converge, residuals will be available
under the Solution Information branch, as shown below.
Newton-Raphson Residuals
Another example is shown below. The force residuals are high (not in equilibrium),
and the Newton-Raphson Residuals allow the user to see what areas may
contribute to the high out-of-balance forces
In this case, the ring of high residual forces is part of a contact region, so the
user knows where to examine
24
D. Example Cases
In the present section, some different scenarios will be briefly covered.
Reviewing Solver Output, monitoring the solution, and performing nonlinear
diagnostics will be discussed for the different cases
It is impractical to cover all of the different causes for non-convergence.
Instead, some common problems users encounter will be discussed.
25
Insufficient constraints, either with Supports or Contact Regions, may allow for parts
to fly off into space
26
free vibration analysis and look for near-zero frequency modes. This can be
computationally expensive.
Another method is to look at contact pairs to see which ones are initially
open. Recall that the first part of the Solver Output relates contact ID with
Contact Region name.
In this example, contact offset block-2 To contact offset
bolt-1 contact region (set #10 and 11) has an initial gap.
One can check the model to see whether or not the gap
should be there and if it may be causing the rigid-body
motion because of lack of initial contact being established.
27
A threaded fastener solves the first substep until 20% of the load, but then
diverges.
28
By lowering the contact Normal Stiffness and refining the mesh near regions of
contact, the problem can be solved
29
30
Things to check:
Were other Contact Regions
supposed to be in initial contact?
Was load magnitude incorrectly
applied? Were any other sources
of constraint omitted?
31
contact? What is the initial gap/penetration, if any?) and any warnings or errors
during solution.
high residuals, which reflect possible problem areas. Are there Loads or Supports
applied in those problem areas, or are the areas part of a Contact Region? Doublecheck model setup.
32
If plasticity is present and excessive element distortion occurs, try running the model
without plasticity first to determine if the material model is the cause of the
problem.
If the problem can be isolated to the plasticity material, check the plasticity
definition. Does it become perfectly plastic? If so, can a plastic hinge
(mechanism) form? Is it possible that elements have such little stiffness that they
can distort too much?
For contact problems, duplicate the branch and run the model with Bonded Type
contact first to see if the problem can be isolated to the contact definition.
If it is contact causing problems and force residuals are too high, change all
contact to Pure Penalty and enter a low Normal Stiffness (0.01 to 0.1). Try solving
the model then there may be excessive penetration, but if results are obtained,
the user can get a sense of how the parts are interacting with contact.
33
34
Summary
Mechanical provides many tools in helping users to monitor nonlinear
analyses as well as diagnose any problems.
Oftentimes, it may be better to start simple and add complexity as you go, so that
sources of problems can be isolated more readily. Adding lots of complexity to the
first analysis can result in wasted time down the road.
Do not randomly change settings. Use recommended settings first, then change
contact or solver settings only if there is clear reason to do so, as illustrated in the
Solver Output, Results Tracker, or Newton-Raphson Residuals.
Contact/Target surfaces and contact settings to ensure that Contact Regions are
defined as expected. Review the detailed contact output in the Solver Output to
verify the initial contact status of Contact Regions and what value of the penetration
or gap is, if present.
35
F. Workshops
Please refer to your Workshop Supplement for instructions on:
36
Lecture 7
Nonlinear Transient Analysis
14.5 Release
ANSYS Mechanical
Worbench Advanced
1
Release 14.5
Release 14.5
u
F
Fstiffness
applied
inertia
6F7
8 6damping
78 64
74
8 67
8
[M ]{u&&}+ [C ]{u&}+ [K (u )]{u} = {F (t )}
Release 14.5
Fdamping
Fstiffness
Fapplied
t = t n t n 1
2011 ANSYS, Inc.
Release 14.5
Release 14.5
1
(1 + )2 , = 1 +
4
2
Release 14.5
x
The ModeSuperposition
Method x
x
x
Release 14.5
Transient Analysis
Full Method
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
9
Full Method
Allows all types of nonlinearities.
Accepts most load types (e.g., nodal forces, non-zero
displacements, element loads, tabular boundary condition, etc.)
Uses full matrices [K, M, and C]
The mesh should be fine enough to resolve the highest mode of
interest.
10
Release 14.5
Linear analysis:
u
Nonlinear analysis:
KT
u
2011 ANSYS, Inc.
11
Release 14.5
1. Changing status:
Contact pair either in or out of contact status,
tension-only cable is either slack or taut, frictional
contact, etc.
12
Release 14.5
2. Geometric nonlinearities:
Changing geometric configuration (large deformation)
causes structure to respond nonlinearly (classic fishing
pole behavior)
13
Release 14.5
3. Material nonlinearities:
Nonlinear stress-strain relationships (metal
plasticity, creep, hyperelasticity, etc.)
14
Release 14.5
Contact Type
Bonded
No Separation
Frictionless
Rough
Frictional
Iterations
1
1
Multiple
Multiple
Multiple
15
Release 14.5
16
Release 14.5
4. Newton-Raphson Technique
In a nonlinear analysis, relationship between load and displacement
cannot be determined with a single solution based on initial stiffness.
17
Release 14.5
4. Newton-Raphson Technique
Total external load Fa is applied in iteration 1 and
18
Release 14.5
Fb
Fb2
Fb1
Fa
Fa1
ua
2011 ANSYS, Inc.
19
Release 14.5
ub
ua
20
ub
Release 14.5
21
Release 14.5
22
Release 14.5
Auto Time Stepping automatically adjusts the time step size (hence the load
increment) throughout the solution.
23
Release 14.5
tinitial =
Load
1
20 f response
24
Time
tinitial tmin
tmax
Release 14.5
25
Release 14.5
Time Integration
In ANSYS Mechanical, the newmark parameters , and
are calculated using:
=
1
(1 + )2 , = 1 +
4
2
26
Release 14.5
Time Integration
Time Integration: indicates whether a solution
step should include transient effects (e.g.,
structural inertia).
Transient effects can be turned off to set up the
Initial Conditions for a transient analysis.
- On: Default for transient analyses.
- Off: Do not include structural inertia or thermal
capacitance in solving this step.
27
Release 14.5
28
Release 14.5
Weak springs
Weak Springs: to prevent numerical instability,
while not having an effect on real world
engineering loads.
29
Release 14.5
Large deflection
Large Deflection: If set to ON
- Stiffness matrix is adjusted over multiple
iterations to account for changes such as
- large deflection
- large rotation
- large strain.
30
Release 14.5
31
Release 14.5
Convergence Criteria
32
Release 14.5
Line Search
It can be useful for enhancing convergence.
When active, line search multiplies the displacement increment by a
program-calculated scale factor between 0 and 1, whenever a stiffening
response is detected.
33
Release 14.5
Line Search
You might consider setting Line Search on in the following cases:
If the structure is force-loaded.
If the structure is "flimsy" structure which exhibits increasing stiffness (such
as a fishing pole).
If the convergence pattern is oscillatory.
34
Release 14.5
Stabilization
Nonlinear stabilization technique can help
achieve convergence.
Adds artificial dampers to all of the DOFs in the
system.
Keys for controlling nonlinear stabilization:
Off - Deactivate stabilization (Default).
Constant - The energy dissipation ratio or damping
factor remains constant during the load step.
Reduce - The energy dissipation ratio or damping
factor is reduced linearly to zero at the end of the
load step from the specified or calculated value.
35
Release 14.5
Damping Ratio
i =
i
+
2i
2
36
Release 14.5
Numerical Damping
37
Release 14.5
6. Initial Conditions
2
Initial conditions
conditions at Time = 0
1
3
38
Release 14.5
39
Release 14.5
40
Release 14.5
41
Release 14.5
Joint Loads
Joints define the allowed motion (kinematic
constraint)
on
surface(s).
Various types of joints can be defined for
flexible or rigid bodies
Absolute DOF are specified.
A Joint Load object is used to apply a kinematic
driving condition to a single DOF on a Joint
object.
For translation DOF
displacement, velocity, acceleration, or force is
applied.
42
Release 14.5
Transient Analysis
Mode Superposition Method
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
43
44
Release 14.5
45
Release 14.5
y1
y2
Here, the sum of mode shape 1 and mode shape 2 approximates the final
response. Since mode shapes are relative, the coefficients y1 and y2 are
required.
Mode shapes (eigenvectors) are also known as generalized coordinates, and
in this case, coefficients y1 and y2 are the DOF.
46
Release 14.5
&y&i + 2i i y& i + i2 yi = f i
47
Release 14.5
&y&i + 2i i y& i + i2 yi = f i
Advantages of this approach:
If a model consists of m DOF, instead of solving m equations, the modal equations only solve
n DOF, where n represents the number of modes calculated in the modal analysis
If 200 modes are extracted for a 1 million DOF model, instead of solving 1 million
equations for the dynamic analysis, a user only solves for 200 DOF!
Because of the reduced number of DOF, the solution is very fast
Points to remember:
Linear combination means that only linear behavior is allowed
Time step is fixed use same guidelines as before.
The results are based on a truncated set of modes.
A 1 million DOF model has 1 million modes, but one typically solves for a fewer number of
modes. This means that a large enough number of modes is required to obtain good
accuracy.
48
Release 14.5
49
Release 14.5
Damping Control
id = g +
2011 ANSYS, Inc.
+ i
2i 2
50
Release 14.5
allowed).
The only nonlinearity allowed is simple node-to-node contact (gap
condition).
Does not accept imposed (nonzero) displacements.
All contact will behave as bonded or no separation in a modal analysis:
If a gap is present:
Nonlinear contacts will be free (no contact).
Bonded and no separation contact will depend on the pinball size.
Contact Type
Bonded
No Separation
Rough
Frictionless
Frictional
Initially Touching
Bonded
No Separation
Bonded
No Separation
Bonded
Modal Analysis
Inside Pinball Region
Bonded
No Separation
Free
Free
Free
51
Release 14.5
52
Release 14.5
53
Release 14.5
54
Release 14.5
55
Release 14.5
Lecture A1
Nonlinear Connections
14. 5 Release
ANSYS Mechanical
Advanced Connections
1
Chapter Overview
The following will be covered in this Lecture:
A. General review of Contact Technology
B. Auto Detection Options
C. Using the Contact Tool
D. General review of Joint Technology
E. Springs & Beams
F. Spot Welds
G. Connection Worksheet
It is assumed that students have completed Introduction to Structural Nonlinearities
course prior to this lecture.
Contact between
two rigid bodies
Target
Contact
Formulation
Normal
Normal
Tangential Stiffness
Augmented Lagrange
Pure Penalty
MPC
Normal Lagrange
Augmented Lagrange
Penalty
MPC
Lagrange Multiplier
Penalty
Penalty
MPC
Penalty
Yes
Yes
-
Tangential
Stiffness
Type
Yes 1
Yes 1
Yes 1
Any
Any
Bonded,No Separation
Any
Augmented Lagrange
Good convergence
+ behavior (few
equilibrium iterations)
Sensitive to selection of
- normal contact stiffness
+
+
+
+
Contact penetration is
present and
uncontrolled
Useful for any type of
contact behavior
Either Iterative or Direct
Solvers can be used
Symmetric or
asymmetric contact
available
Contact detection at
integration points
+
+
+
+
Normal Lagrange
May require additional
- equilibrium iterations if
chattering is present
No normal contact
+ stiffness is required
MPC
Good convergence
+ behavior (few
equilibrium iterations)
No normal contact
+ stiffness is required
Usually, penetration is
+ near-zero
Contact detection at
nodes
Contact detection at
nodes
No penetration
12
13
A tighter tolerance means that the bodies have to be within a smaller region (of either
gap or overlap) to be considered in contact; a loose tolerance will have the opposite
effect.
Existing
gap
between
CAD parts
You can select any combination of contacts to be detected during Create Automatic
Connections. You can also set default preferences for these contact filter options.
15
209 parts
450 symmetric contact pairs
1.15million DOFs
16
17
Any regions generated will have only one entity scoped to its
source and target (that is, one face or one edge).
18
19
C. Contact Tool
The Contact Tool is an object that allows you to
examine assembly contact:
20
21
22
Fixed
Revolute
Cylindrical
Translational
Slot
Universal
Spherical
Planar
Bushing
General
Point on Curve
Revolute Joint
- Constrained degrees of freedom: UX,UY,UZ,ROTX & ROTY
ROTZ is free
Cylindrical Joint
- Constrained degrees of freedom (UX,UY, ROTX & ROTY)
UZ and ROTZ are free
25
Slot Joint
- Constrained degrees of freedom: UY, UZ
UX, ROTX,ROTY and ROTZ are free
Universal Joint
- Constrained degrees of freedom: UX,UY,UZ,ROTY
ROTY and ROTZ are free
26
Planar Joint
- Constrained degrees of freedom: UZ ROTX, ROTY
UX, UY and ROTZ are free
General Joint
- Constrained degrees of freedom: Fix all, Free X, Free Y, Free Z and Free All
27
28
29
30
31
Defines where the joint attaches to face(s) if the default location is not
desirable. By default, the entire face is tied to the joint element. This may
not be desirable, warranting the input of a Pinball Region setting, for the
following reasons:
- If the scoping is to a topology with a large number of nodes, this can lead to an
inefficient solution in terms of memory and speed.
- Overlap between the joint scoped faces and other displacement type boundary
conditions can lead to over constraint and thus solver failures.
32
33
34
35
36
F. Spot Welds
The Spot Weld Option is intended to connect discrete vertices together using a
spiderweb of rigid beam elements
37
G. Connection Worksheet
The Connections Worksheet is helpful for review and diagnostics of large
assemblies with multiple contacts, joints and mesh connections .
38
40
If this number is less than 1, the model may be overconstrained, and you
should check the model closely and remove any redundant joint constraints.
You can use a Redundancy Analysis (discussed later) to detect redundant
joint constraints.
41
42
43
44
45
Lecture A2
Contact Interface Treatments
ANSYS Mechanical
Advanced Connections
1
Chapter Overview
In this Lecture, we will discuss tools available for adjusting the Interface
between contact and target surfaces to simulate more advanced relationships
The following will be covered in this Lecture:
A. Rigid Body Motion
B. Contact Surface Offset
C. Workshop 2A - Interference Fit
D. Contact Stabilization Damping
E. Workshop 2B - Contact Stabilization
F. MPC Interface Options
G. Time Step Controls
H. Friction
I. Workshop 2C -Friction
Fn
Contact
Target
Pinball Radius
Target
On the left is the original model (mesh). The top red mesh is the body associated
with the Contact surfaces
This is a mathematical adjustment only. Nodes and elements are not altered.
The position of the contact surface is interpreted as being offset by specified
amount.
It has the effect of a change in geometry at the contact interface since a
rigid region will exist between the actual mesh and the offset contact
surface.
It is intended for applications where this adjustment is small enough to
have a negligible effect on overall results.
It has proven to be a useful tool to establish initial contact in static analyses
without having to modify the CAD geometry.
C. Workshop
Please Refer to your Workshop Supplement
W2A: Interference Fit
Ft
Contact
Pd1,d2
Target
Pdn
Where:
10
Pdn = d n u&n
Pd 1 = d t u&1
Pd 2 = d t u& 2
If U n 0 or U n gt U pinb
FDMN * FDMT * ( PINB U n ) / PINB If U n U pinb
dt =
If U n 0 or U n gt U pinb
Where:
11
12
13
The contact stabilization energy can be post processed via the ETABLE
command using the AENE label in a command object. This should be
compared to element potential energy via SENE label on ETABLE.
For example:
14
ETABLE,AE,AENE
ETABLE,SE,SENE
SSUM
PRETAB,AE,SE
15
16
17
No Gap
E. Workshops
Please refer to your Workshop Supplement
W2B: Contact Stabilization
18
19
20
21
22
Beam
eam Normal
No
Direction
Shell elements
Shell elements
23
In the example below, there is no benefit to reducing the time step because of
the contact status change (from closed to open). Yet, auto time stepping for
other criteria often still is desirable.
Step 2
Step 1
Status = Closed
24
Status = Closed
25
Substep 2
Contact
missed due
to coarse
time step
Substep 3
26
Time step is
auto decreased
to capture the
contact status
change
Helpful for high impact transient dynamic problems where inertia effects are
important.
Can be more efficient then the Predict for Impact option presented on previous
slide.
27
Frictionless behavior allows the bodies to slide relative to one another without any
resistance.
When friction is included, shear forces can develop between the two bodies.
Frictional contact may be used with small-deflection or large-deflection
analyses
28
Ftangential Fnormal
Where: =coefficient of static friction
Once the tangential force Ftangential exceeds the above value, sliding will occur
Fn
Ft
Fn
29
30
Contact Frictional Stress and Contact Sliding Distance can be reviewed to get a better
understanding of frictional effects
For Contact Status, Sticking vs. Sliding results differentiate which contacting areas are
moving
31
32
Lecture A3
Accessing Advanced Contact Features via MAPDL
ANSYS Mechanical
Advanced Contact & Fasteners
1
Chapter Overview
Mechanical already exposes a rich library of options to meet the many
challenges associated with simulating contact behavior.
However, there are still some contact applications requiring more advanced
features not directly exposed in the Mechanical GUI.
For example, consider the following cases:
Friction where the underlying material shear strength is the weak link that dictates
status change from sticking to sliding.
Chapter Overview
This lecture presents how to access these advanced contact features not
directly available in the Mechanical GUI.
This is not intended to be a comprehensive presentation on all the advanced
feature details, but rather a presentation on the general set-up procedure for
using command objects successfully within contact regions in Mechanical.
The following topics will be covered:
A. Background on Contact Pair
B. Contact Documentation
C. MAPDL Command Syntax
D. General Procedure
E. Example Cases
The contact elements overlie the underlying finite element model like a skin.
Normal contact stiffness value, contact surface offset value, pinball radius
value,etc, are examples of Real Constant properties
B. Contact Documentation
The Element Reference Manual (available on-line) contains a comprehensive list of
all Key Options and Real Constants available for each contact element type.
KEYOPT,5,12,3
3 for bonded behavior
Key Option Number (for controlling contact behaviors)
Element Type Number
RMODIF,5,9,TAUMAX
Value for allowable shear stresss
Location for max shear stress
From CONTA174 docu:
10
D. Procedure
To introduce advanced contact features not
directly available in Mechanical GUI, start by
inserting a command object beneath a contact
region
11
... Procedure
Hence, there is usually no need to look up the actual type and real set numbers
to execute a command. Simply use the parameter names directly.
Below is an example command line added to a frictional contact region to
define a limit on the max allowable shear stress (TAUMAX) at the contact
interface
12
... Procedure
If you are unfamiliar with the element type being used for a particular contact
region and you need to research the documentation for proper key option or real
constant table references, it is possible to extract this information from the Solver
output (Solution Information).
For example:
13
... Procedure
If this is a new run and there is no Solver Output, add a command object to the
Environment branch to execute a partial solve with the following commands:
... Procedure
There are also a number of contact results not directly available in a Mechanical
Tool that can be extracted via a Command Object strategically placed in the
Solution Branch.
15
16
17
18
19
20
To apply the fluid pressure to open contact requires APDL in command objects
21
22
23
24
25
26
LS 3: After Pressure
27
28
ANSYS Mechanical
Advanced Contact & Fasteners
1
Bolt Pretension
Whenever you model a bolted structure, it might be important to include the
pretension (or preload) in the bolt caused by the tightening of the bolt.
Stresses due
to specified
pretension in
bolt
Bolt Pretension
Features of the pretension element:
section.
3-D line element that acts like a "hook" connecting
two halves of a bolt.
Nodes I, J are the end nodes, usually coincident.
Node K is the pretension node:
Location is arbitrary.
Has one DOF: UX.
Used to define the preload, as an FX force or UX
displacement.
Actual line of action is in pretension load
direction
Preload
direction
J
K
Node I
Pretension
section
Bolt Pretension
Pretension Load Application
When a physical bolt is pretensioned:
Turning the nut reduces the unstretched grip length of the bolt, thereby
inducing pretension
When the desired pretension is achieved and the wrench is removed, the new
unstretched grip length becomes locked
First, apply the specified pretension (usually a specified force) in one load step
Then, lock the pretension section displacement (lock the shortened grip
Bolt Pretension
Pretension Load Application (contd)
Bolt pretension load can be applied to a cylindrical face, to a straight
edge of a line body, to a single body, or to multiple bodies.
Line of action of the bolt load applied to a cylindrical surface will be
along cylinder axis by default.
Line of action of bolt load applied to a line body is always parallel to
line.
If you apply the Bolt Pretension load to a body, you will need to have a
local Coordinate System object in the tree.
The application of the load will be at the origin and along the z-axis of
the local coordinate system.
You can place the coordinate system anywhere in the body and
reorient the z-axis.
Bolt Pretension
The following options under the Define By setting in the
Details view.
Load: Applies a force as a preload. A Load field is displayed
where you enter the value of the load in force units.
Adjustment: Applies a length as a pre-adjustment (for
example, to model x number of threads). An Adjustment
field is displayed where you enter the value of the
adjustment in length units.
Lock: Fixes all displacements. You can set this state for any
step except the first step.
Open: Use this option to leave the Bolt Pretension load
open so that the load has no effect on the applied step,
effectively suppressing the load for the step.
Note that in order to avoid convergence issues from having
under-constrained conditions, a small load (0.01% of the
maximum load across the steps) will be applied. You can set this
state for any step.
6
Bolt Pretension
If you try to apply a preload on the same face more than once, all definitions
except the first one are ignored.
Be sure that a sufficiently fine mesh exists on a face or body that contains Bolt
Pretension loads so that the mesh can be correctly partitioned along the axial
direction (that is, at least 2 elements long).
For simulating one Bolt Pretension through multiple split faces, you should
apply only one Bolt Pretension load to one of the split faces, as the Bolt
Pretension load will slice though the whole cylinder even though only part of
the cylinder is selected.
Bolt Pretension
Care should be used when applying a Bolt Pretension load to a cylindrical face
that has bonded contact. There is a possibility that if you apply a Bolt
Pretension load to a cylinder that had a bonded contact region, the bonded
contact will block the ability of the Bolt Pretension to deform properly.
The Bolt Pretension load should be applied to cylindrical faces that contain
the model volume (that is, do not try to apply the Bolt Pretension load to a
hole).
Use caution when defining bolt loads by bodies and a coordinate system
because the entire body is sliced along the local XY plane (Z=0).
8
Bolt Pretension
Body Scoping
Body scoping of a Bolt Pretension load can be to more than one body. In
this case all the scoped bodies will be cut.
There is still only a single Bolt Pretension load created but this feature
allows you to apply a bolt load to a bolt that has been cut into several
bodies. This feature is illustrated in the following figure.
Bolt Pretension
Bolt Pretension Reactions
Use the Probe tool in Solution branch to confirm reaction in bolt
10
Bolt Pretension
Visualizing Bolt Pretension Elements
The PRET179 elements used for bolt pretension are actually just constraint
equations. You can visualize these constraints on the FE model as follows:
Highlight the Solution Information Branch. In the Details Window, FE
Connection Visibility:
Activate Visibility =Yes
Display = All FE Connectors
11
Bolt Pretension
The solver output will also list a summary of important pretension
specifications for each bolt pretension section that was created for
additional confirmation
Pretension Section ID
Pretension node number
Pretension direction
9 pretension
elements created
12
15
Lecture B1
Rate Dependent Material Behavior: Creep
ANSYS Mechanical
Advanced Nonlinear Materials
1
Chapter Overview
This chapter will address the wide range of implicit creep laws available in
Mechanical.
We will cover the following topics:
A. Background on Creep
B. Definition of Terms
C. General Creep Equation
D. Available Creep Models
E.
Material Input
F.
Solution Procedure
A. Background on Creep
In crystalline materials, such as metals, creep mechanism is linked to
diffusional flow of vacancies and dislocation movement.
Vacancies are point defects, and they tend to favor grain boundaries that are
normal, rather than parallel, to the applied stress. Vacancies tend to move from
regions of high to low concentrations. Diffusional flow can occur at low stresses but
usually require high temperatures.
Dislocations in grains are line defects. The movement of dislocations (climb, glide,
deviation) tend to be activated by high stresses, although it may also occur at
intermediate temperatures.
&cr = f1 ( ) f 2 ( ) f 3 (t ) f 4 (T )
The functions f1-4 are dependent on the creep law selected.
Associated creep constants are usually obtained through various tensile tests at
different rates and temperatures.
Assuming isotropic behavior, the von Mises equation is used to compute the effective
stress, and the equivalent strain is used in the creep strain rate equation (similar to
rate-independent plasticity).
4
Plastic strains (flow rule) are calculated in a similar fashion as described in the
lecture on plasticity. Creep strains are evaluated based on the creep strain
rate equations, specific forms of which will be discussed later.
The elastic, creep, and plastic strains are all evaluated on the (current) stress
state, but they are calculated independently (not based on each other).
Hence, creep does not require a higher stress value for more creep strain to occur.
Creep strains are assumed to develop at all non-zero stress values.
B. Definition of Terms
Three stages of creep:
Under constant load, the uniaxial strain vs. time behavior of creep is shown below.
In the primary stage, the strain rate decreases with time. This tends to occur over a
short period. The secondary stage has a constant strain rate associated with it. In
the tertiary stage, the strain rate increases rapidly until failure (rupture).
Rupture
Primary
Secondary
Tertiary
t
7
The creep strain rate may be a function of stress, strain, temperature, and/or time.
For engineering analysis, the primary and secondary stages of creep are usually of
greatest interest.
Tertiary creep is usually associated with the onset of failure (necking, damage)
and is short-lived. Hence, tertiary creep is not modeled in Mechanical.
The strain rate associated with primary creep is usually much greater than those
associated with secondary creep.
However, the strain rate is decreasing in the primary stage whereas it is usually
nearly constant in the secondary stage (for the aforementioned uniaxial test case
at constant stress and temperature).
Also, primary creep tends to be of a shorter period than secondary creep.
Creep
Stress Relaxation
&cr t n
t
c
Strain-hardening
A
B
&cr n
t
Implicit creep refers to the use of backward Euler integration for creep strains. This
method is numerically unconditionally stable. This means that it does not require as
small a time-step as the explicit creep method, so it is much faster overall.
&cr = f ( t + t , t + t , T t + t , L)
For implicit creep plus rate-independent plasticity, the plasticity correction and creep
correction done at the same time, not independently. Consequently, implicit creep is
generally more accurate than explicit creep, but it is still dependent on the time-step
size. A small enough time-step must be used to capture the path-dependent behavior
accurately.
11
&cr = f1 ( ) f 2 ( ) f 3 (t ) f 4 (T )
However, the type of material being analyzed determines the choice of a
specific creep equation. Some general characteristics will be discussed
presently. Specific models will be covered in the implicit creep sections.
The implicit creep equations are also covered in the Elements Manual, Ch. 2.5.
12
&cr t m
Strain-hardening is the inclusion of a strain-dependent term:
&cr crn
Determination of which to use (strain- or time-hardening) is based upon material data
available. Strain-hardening tends to approximate primary creep of metals more
accurately although time-hardening tends to be more popular.
Secondary creep does not exhibit time- or strain-hardening. Creep strain rate is
usually constant for secondary stage.
13
Creep effects are thermally activated, and its temperature dependence is usually
expressed through the Arrhenius law:
&cr e
Q
RT
Where Q is the activation energy, R is the universal gas constant, and T is absolute
temperature.
14
Creep strain is also usually stress-dependent, especially with dislocation creep. The
steady-state creep behavior (secondary creep) is expressed in various ways.
&cr n
A common modification to the above is the exponential law:
&cr eC
The hyperbolic sine law is yet another common function used to describe secondary
(constant) creep rate:
&cr sinh ( A )
15
16
Type
Primary
Primary
Primary
Primary
Primary
Primary
Primary
Secondary
Secondary
Secondary
Both
Both
Primary
&cr = C1 C2 C3 e C4 /T
C
&cr = C1 C2 [(C3 + 1) ] 3
1
(C3 +1) C4 /T
&cr = C1 C2 t C3 e C4 /T
r
&cr = ft e
C6
f = C1 + C2 2 + C3 3
r = C4 + C5
C1 C2 t C3 +1e C4 /T
cr =
(C3 + 1)
The above three creep laws include the Arrhenius equation and Nortons law, as well as
a time-hardening term. The exponential term for t is usually between -0.5 and -1.0 to
model the decreasing creep strain rate for primary creep. Hence, this model may also
approximate a significant part of secondary creep where creep strain rate is constant.
18
6) Generalized Blackburn
Primary creep
7) Generalized Graham
Primary creep
8) Generalized Exponential
Primary creep
r = C3
C4
C5
&cr = C1 C2 re rt
r = C5 C3 e C4 /T
These are some variants of time-hardening creep laws (see previous slide for
discussion on time-hardening creep). Note that Generalized Blackburn uses
exponential law instead of Nortons law and, like Generalized Exponential, it
includes an exponential form for the time-hardening term.
19
C1 C2 t C3 +1e C4 /T
cr =
+ C5 C6 teC7 /T
(C3 + 1)
&cr = C1
c
t
cpt
c =
+ &mt
1 + pt
c = C7 &mC8 C9
&m = C210C3 C4
p = C10&mC11 C12
Both of these time-hardening laws can be used to model primary and secondary
creep effects directly. If one takes the time derivative of Time Hardening one may
notice that it is both time-hardening and Nortons law. The Rational Polynomial
form is commonly used for steels in the nuclear industry.
20
&cr = C1e /C 2 e C3 /T
13) Norton
Secondary creep
&cr = C1 C2 e C3 /T
These last three creep laws were previously discussed. Because they do not
include any time or strain dependence on creep strain rate, these are suitable to
model secondary creep range (i.e., constant creep strain rate).
21
Highlight the creep model of interests (in the example below, modified time hardening
RMB on the material model and click on Include Property
22
23
C1 C2 t C3 +1e C4 /T
cr =
(C3 + 1)
24
This is useful to establish initial conditions. In this situation, a very small ending TIME
value (e.g., 1e-8) should be set, and creep effects turned off. Solve initial stress state
as 1st load step. Then, to turn creep effects ON and specify the real end time for load
step 2.
Load Step 1
25
Load Step 2
One measure of this which the solver uses is the Creep Strain
Ratio defined as:
Cs =
cr
et
26
27
Although WB-Mechanical sets this limit to 1.0 by default, a creep limit ratio of 0.1 to
10 (10-1000%) is generally recommended, depending on the magnitude of the
equivalent elastic strain developed and the level of accuracy required.
Also, one should be sure to specify a small enough initial, min, and max time step as
well.
28
29
H. Workshop Exercise
Please refer to your Workshop Supplement:
Workshop 3A: Stress Relaxation
30
Lecture B2
Hyperelasticity
ANSYS Mechanical
Advanced Nonlinear Materials
1
A. Background on Elastomers
Elastomers are a class of polymers with the following
properties
Unextended chain
Extended chain
Upon removal of the load, the chains revert back to their original
configuration
They can undergo large elastic (recoverable) deformations, anywhere on the order
of 100-700%. As noted previously, this is due to the untwisting of cross-linked
molecular chains.
There is little volume change under applied stress since the deformation is related
to straightening of chains. Hence, elastomers are nearly incompressible.
Tension
Compression
Unlike plasticity, stresses and strains in hyperelastic are not expressed directly via
modulus and poissons ratio.
Strain energy potential can either be a direct function of principal stretch ratios
strain invariants Ii
W (1 , 2 , 3 )
or
W = W (I1 , I 2 , I 3 )
Through the strain energy function, the stresses and strains can be calculated.
dW
Sij =
dEij
Where Eij are components of the strain tensor
Refer to Section 4.7 of Theory manual for more rigorous mathematical discussion
6
or
L Lo + u
=
=
= 1+ E
Lo
Lo
The above is an example of stretch ratio as defined for uniaxial tension of a
rubber specimen, where E is engineering strain.
There are three principal stretch ratios 1, 2, and 3 which will provide a measure
of the deformation.
I1 = 12 + 22 + 32
I 2 = 12 22 + 22 32 + 32 12
I 3 = 12 22 32
Because we assume that the material is isotropic, some forms of the strain
energy potential are expressed as a function of these scalar invariants.
In other words, strain invariants are measures of strain which are independent of
the coordinate system used to measure the strains, so that is related to our
assumption on isotropic material behavior.
V
J = 12 3 =
Vo
As shown above, J can be thought of as the ratio of deformed to undeformed
volume of the material.
In the case of thermal expansion, the thermal volumetric deformation is
J th = (1 + th )
J total
J el = J =
J th
9
W = Wd I1 , I 2 + Wb ( J )
W = Wd 1 , 2 , 3 + Wb ( J )
10
C. Available Models
The polynomial form of the strain energy potential is based on the first and
second strain invariants. It is a phenomenological model of the form
N
)(
1
2k
W = cij I1 3 I 2 3 + ( J 1)
i + j =1
k =1 d k
i
where the initial bulk modulus and initial shear modulus are
o = 2(c10 + c01 )
2
o =
d1
cij and di are defined as material properties by user.
If unknown, these values can be derived from test data using curve
fitting routine (Discussed in next section).
11
W = (1 + 2 + 3 3) + ( J 1)
i =1 i
i =1 d i
N
o =
i =1
o =
2
d1
i 3
N i
(
W = J (1 + 2 + 3 ) 3 +
J 1)
i =1 i i
i =1 i
N
o =
i =1
1
3
o = i i + i
i =1
However, unlike the regular Ogden model, in the Ogden compressible foam
model, the volumetric and deviatoric terms are tightly coupled. Hence, this
model is meant to model highly compressible rubber behavior.
13
I2
W = + 2 I 3 5
2 I3
14
2(1 + )
=
3(1 2 )
2(1 + 0.25)
=
3(1 2 0.25)
5
=
3
Wb1 =
i =1
1
(J 1)2i
di
1
(J 1)2
d
2
1
J
-1
3
Wb =
lnJ
d 2
Wb2 =
The selections of Wb and the bulk modulus value (=2/d) do not tend to affect results
much unless the model is significantly stretched (leading to finite volume change) or
highly confined.
For the fully incompressible case with d=0, this volumetric term Wb is ignored
(J=1, volume preserved).
15
W =
i =1
Ci
2i 2
L
1
J
-1
i
i
I1 3 +
lnJ
d 2
1
1
11
19
519
C1 = , C2 = , C3 =
, C4 =
, C5 =
2
20
1050
7050
673750
16
= extensibility parameter
= empirical parameter (0 1)
Polynomial
Ogden
Phenomenological Model
1st and 2nd Strain Invariants
Phenomenological Model
Principal Stretches
Mooney-Rivlin
Yeoh
Neo-Hookean
Phenomenological Model
1st and 2nd Strain Invariants
Phenomenological Model
1st Strain Invariant
Phenomenological Model
1st Strain Invariant
2-term M-R
3-term Yeoh
Phenomenological Model
1st and 2nd Strain Invariants
Phenomenological Model
1st Strain Invariant
Ogden-Foam
Neo-Hookean
Arruda-Boyce
Gent
Phenomenological Model
1st Strain Invariant
Micromechanical Model
1st Strain Invariant
Micromechanical Model
1st Strain Invariant
Nearly-/fully-incompressible phenomenological
hyperelastic models based on strain invariants.
18
Nearly-/fully-incompressible micromechanical
models based on 1st strain invariant
In general, the best strain energy density function is the one that produces
the closest curve fit of stress vs. strain test data
In the most challenging applications, there might be only one function that is
appropriate.
19
Note that the derivative expressions of the strain energy potentials are also
considered response functions.
Uniaxial
2 % 2/3 % 2 J% % 4/3 % 2
11 = %
J +
J IC IC
%
J I C
II
Equibiaxial
2 % 2/3 % 2 J% 2 % 4/3 % 2
11 = %
J 4 +
J IC IC
%
J I C
II
J% 2 % 4 J% 4
+ 8
% 4
%
2 % 2/3 % 2 J% 2 % 4/3 % 2
11 = %
J 2 +
J IC IC
%
J I C
II C
J% 2 % 4 J% 4
+ 4
% 2
%
Planar Tension
(Pure Shear)
20
J% % 4 J% 2
+ 2
%
%
21
Easier set-up as it does not require curve fitting. Just read in the test data and insert the
Response Function.
Test data
Response
Function
Disadvantages:
Only works for stress states that fall inside the range of available test data
Might be more expensive in terms of number of iterations to solve and CPU run time
22
V
J=
Vo
Where V and Vo are the updated and original volumes of the element, respectively.
24
J 1
dV
J
Vtol
V
25
2
d 1
Caution: When you issue SOLC command, all control commands associated
with analysis settings (i.e. Autotime stepping and NSUBST for defining
substeps)set earlier in the interactive or input session are reset to their
original default values. You might need to add additional commands to
reestablish user preferences. Refer to documentation on SOLCONTROL
command Default States Table for details.
26
This is due to the fact that hydrostatic pressure (internal DOF) is independent of
deformation. Hydrostatic pressure needs to be determined by a force/pressure
boundary condition. Without this, the hydrostatic pressure cannot be calculated
i.e., there is no unique solution.
For these situations, having at least one node without applied boundary condition
will remedy this situation.
27
References
Some general references on rubber mechanics:
1. R.S. Rivlin, Large Elastic Deformations, Rheology: Theory & Applications - Vol. 1,
ed. F.R. Eirich, Academic Press, Inc., New York, 1956, Chapter 10.
2. R.S. Rivlin, The Elasticity of Rubber, Rubber Chemistry and Technology, 65, pp.
G51-G66, 1992.
3. O.H. Yeoh, Phenomenological Theory of Rubber Elasticity, Comprehensive Polymer
Science, ed. G. Allen, Elsevier, Oxford, 1996, Chapter 12.
4. L.R.G. Treloar, The Physics of Rubber Elasticity (2nd edition), Oxford University Press,
1958 (3rd edition is ~1975)
28
E. Curve-Fitting
WB-Mechanical provides a curve-fitting tool to help translate experimental
data to Strain Energy Potential Function Coefficients for all of the available
hyperelastic models.
29
Curve-Fitting
Test data typically comes from one or more of the following six tests:
Uniaxial Tension
Uniaxial Compression
Biaxial Tension (Circular or rectangular specimen)
Planar Shear
Simple Shear
Volumetric Test (Button specimen)
The test data is collected as engineering stress & strain. Engineering stress
and engineering strain are used for the curve fitting (recall that stretch ratio
=1+E).
30
Curve-Fitting
The following lists the type of test data and format of text file:
Material Behavior
Fully
incompressible
Nearly
Incompressible or
Blatz-Ko
Compressible
Experimental Type
Uniaxial Test
Biaxial Test
Shear Test
Uniaxial Test
Biaxial Test
Shear Test
Volumetric Test
Uniaxial Test
Biaxial Test
Shear Test
Volumetric Test
Column 1
Engineering Strain
Engineering Strain
Engineering Strain
Engineering Strain
Engineering Strain
Engineering Strain
Volumetric Ratio (J)
Longitudinal Strain
Biaxial Strain
Shear Strain
Volumetric Ratio (J)
Column 2
Engineering Stress
Engineering Stress
Engineering Stress
Engineering Stress
Engineering Stress
Engineering Stress
True Stress
Engineering Stress
Engineering Stress
Engineering Stress
Hydrostatic pressure
Column 3
For compressible Ogden foam model, the lateral/thickness strains are required since
the amount of compressibility is not known beforehand.
31
Curve-Fitting
Assuming incompressibility (=0.50), the following modes of deformation are
identical:
1. Uniaxial Tension and Equibiaxial Compression
2. Uniaxial Compression and Equibiaxial Tension
3. Planar Tension and Planar Compression
32
Curve-Fitting
Collected data may need to be adjusted to account for effects such as
hysteresis and stress-softening behavior.
A typical engineering stressstrain curve for a rubber
sample under cyclic loading is
shown on the right.
1.8
1.6
1.4
1.2
1
0.8
0.6
33
0.4
0.2
0
-0.5
0.5
1.5
2.5
Curve-Fitting
Know your material well !!
It is very important to
understand all the factors
that can influence the
stress-strain relationship
Consider factors such as:
Method of manufacturing
Cure time
Load history (magnitude,
rate and sequence)
Environmental conditions
(temperature and humidity)
Designing a good test program that represents the application well is the most
important step toward generating useful FEA simulations of hyperelastic
materials.
34
Curve-Fitting
From the Tool Box in the Engineering Data Cell:
RMB on test data (in this case, Uniaxial) and click on
Include Property to add this item to the Material
Property window
The test data line item will appear in the Properties
Window
35
Curve-Fitting
For compressible material data, lateral strain must also be included with the
shear and biaxial test data. The Lateral Strain column can be added by
setting Has Lateral Strain to Yes
36
Curve-Fitting
For each set of data available:
Open the source file and copy (Ctrl-C) the strain
and stress columns of data
Paste (Ctrl-V) the data into the Table of
Properties window
... Curve-Fitting
After all the test data has been read in, choose a hyperelastic strain energy
density function from the Engineering Data tool box to run the curve fit on.
38
... Curve-Fitting
Note: It is important to read in the material test data BEFORE selecting a strain
energy density function. If the strain energy density function is selected before
reading in the data, the curve fitting tool will not be available.
39
... Curve-Fitting
The next step is to RMB on Curve Fitting and execute Solve Curve Fit. This will
run a least squares curve fitting routine to find the best combination of coefficients
to echo back the test data for the selected strain energy density
Curve-Fitting
Normalized (default ) and absolute error can be used
for the least-squares fitting:
Eabsolute =
(
N
trial
i
iexperiment
i =1
Enormalized =
i =1
trial
i
iexperiment
experiment 2
i
As apparent from the above equation, normalized gives equal weight to all data
points whereas absolute gives greater weight to data points associated with
larger values.
In general, the normalized (default) option should be suitable for most situations.
If there are more points clustered about a certain strain range, that strain range will be
41
Curve-Fitting
Also, depending on application, some test data can be suppressed to
achieve a better curve fit in one mode.
42
Physical instabilities are usually due to local or global geometric instabilities, such as
buckling or wrinkling
Numerical instabilities are due to non-positive definite strain energy density function,
usually resulting from strains outside the expected range of interest. This stems from
insufficient experimental data when curve-fitting material constants.
44
d : d > 0
In other words, the tangent material stiffness matrix should always be positive
definite. To ensure this, the Solver does a preliminary check of the stretch ratio in
the range of 0.1 to 10.0 for the six typical stress paths.
0.1 10.0
The above condition is checked for uniaxial, equibiaxial, and planar cases, both in tension
and compression. (Compression means that the stretch < 1.0, tension is when the stretch
> 1.0)
45
0.110E+01
-0.309E+00
0.118E+01
-0.540E+00
46
A material failing the stability check does not necessarily mean that the solution is
invalid in that region.
47
48
Appendix B3
Element Technology
14. 5 Release
ANSYS Mechanical
Advanced Nonlinear Materials
1
Overview
This lecture is intended to give users a better understanding of element
technology options used in their structural nonlinear simulations.
Overview
However, the analyst of nonlinear problems still has decisions to make. For
example, since large nonlinear models can be very challenging and
computationally expensive, it is sometimes advantageous to drop element
mid-side nodes.
... Overview
Solution Output records the element technology being activated based
on the element order chosen (midside nodes) and the material
association.
Elastic material or
metal plasticity with
higher order elements
Default URI
2D plane stress/strain
metal plasticity with
lower order elements
Enhanced Strain
2D plane strain
elastic material with
lower order elements
Simplified Enhanced Strain
Overview
In addition, material incompressibility can also present problems with
conventional formulations. In anticipation of this challenge, Mechanical
activates a special formulation called Mixed u-P.
Solution output reports when Mixed u-P is activated.
Overview
With Element Control set to Manual, the
program will keep the documented element
technology defaults regardless of the
application and record suggested
formulations in the Solver Output
- The exception to this is Mixed u-P which will
always be activated for fully incompressible
materials.
Overview
The general recommendation is to accept the Program Controlled settings
when they are activated.
It is, however, important to understand these options:
,
For example, we can determine
strains from displacements via:
= B u
The image on the right shows a 4-node quad element with 2x2
integration, integration points shown in red.
1. Note that Mechanical uses a 14pt integration scheme, which is also considered full
integration
In other words, full integration means that the numerical integration rule is
accurate for all components of strain energy for geometrically undistorted
elements.
10
Shear Locking results in bending behavior being too stiff (parasitic shear stresses).
This is a property of the geometry, when thin members are subject to bending.
11
Below are element shear strain plots in MAPDL. Both beams are identical in geometry,
material properties, boundary conditions and loading.
Higher Order Elements
produce correct results
13
Correct Response:
Shear Locking:
For plane stress problems, volumetric locking does not occur because
out-of-plane strains are used to satisfy incompressibility condition.
14
15
= pI + s
1
1 - p
=
3
2
Stress State
(Where: 1 = 2
16
= 3)
+
p
2 - p
3 - p
p = K vol
1
= ( x + y + z )
3
E
K=
3(1 2 )
vol = x + y + z
(
1 2 )
(
=
E
17
+ y + z )
18
As incompressibility
increases, volumetric locking
develops, resulting in
unacceptable error in the
displacement
%18 Error in
displacement calculation
19
Element Control
The element technology is defined by a particular key option (KEYOPT):
Refer to the Elements Reference Manual for more details on each of the 18x element
types and their respective key options.
20
Element Control
The syntax for the KEYOPT command is as follows:
KEYOPT, ITYPE, KNUM, VALUE
KEYOPT,1,1,2
Key Option Value (for enhanced strain)
Key Option Number (for element technology)
Element Type Number
Refer to the ANSYS Commands Manual for more details
21
Formulations
The next few sections present details on each of the formulations
used in Mechanical 18X Structural elements
C.
D.
E.
F.
G.
H.
22
Recall that the stress state can be separated in hydrostatic (p) and deviatoric (s) terms.
= pI + s
p = K vol
s = 2Ge
= K vol I + 2Ge
In the above equation, vol is volumetric strain and e is deviatoric strain. K is the bulk
modulus and G is the shear modulus.
23
B = B v + Bd
Bv
B dV
=
v
V
B = Bv + Bd
= B u
When evaluating B, however, we will use two different integration
orders for volumetric and deviatoric components.
Bv is evaluated with one integration point
(reduced integration)
On the other hand, Bd is evaluated with 2x2
integration points (full integration)
24
= B u
The fact that the volumetric term Bv has reduced integration allows it to be
softer since it is not fully integrated. This allows for solution of nearly
incompressible behavior and overcomes volumetric locking.
However, because the deviatoric term Bd remains the same, parasitic shear
strains still exist, so this formulation is still susceptible to shear locking.
25
Full Integration
Order 1
2x2
3x3
2x2x2
3x3x3
Reduced Integration
Order
1x1
2x2
1x1x1
2x2x2
This is similar to selective reduced integration, but both volumetric and deviatoric
terms have reduced integration.
This formulation leads to a more element flexibility which helps eliminate shear
and volumetric locking.
Reduced integration of volumetric terms allows solution of nearly incompressible problems.
Reduced integration of deviatoric terms prevents shear locking in bending problems.
26
By default, Mechanical, will not use the URI option in the lower order PLANE182
and SOLID185 elements.
27
28
Lower-order URI elements are susceptible to hourglassing, hence URI is not the set
automatically by Simulation.
Both lower- and higher-order URI elements have an integration rule which is one order
lower than full integration. This means stresses are evaluated at 1 point for lowerorder elements and 2x2 or 2x2x2 for higher-order elements. Hence, more elements
may be required to capture stress gradients.
29
Useful when shear or volumetric locking are encountered (e.g., bending dominated
problems or nearly incompressible material behavior).
There are two elements which can use Enhanced Strain, when in quad or hex
shape:
30
Element performs best when nearly rectangular; on the other hand, they do not
31
32
Ri=3,Ro=9
SOLID185 with enhanced strain
SOLID45 with extra shape
Pure elastic material (E=1000)
Different Poissons ratios (nu=0.0, 0.25, 0.3, 0.49, 0.499,0.4999)
Linear analysis
%18 Error in
displacement calculation
33
%1.6 Error in
displacement calculation
Has additional internal degrees of freedom for lower-order quad/hex elements to prevent
shear locking only. The extra internal DOF to treat volumetric locking are not present.
Although the internal DOF are meant to augment the shape functions to provide more
flexibility (as discussed in Section E), this also results in softening of the element, so
volumetric locking is also sometimes alleviated indirectly to some degree.
However, if material incompressibility is a concern, the user should not use Simplified
Enhanced Strain, as it does not address volumetric locking directly.
34
35
Simplified Enhanced Strain can be used with Mixed u-P formulation for nearly- or
fully-incompressible situations.
In these cases, there will be no difference in the use of Simplified Enhanced Strain or
regular Enhanced Strain in conjunction with Mixed u-P
As noted in Section E, Enhanced Strain does not use extra internal DOF for volumetric
terms if used in conjunction with Mixed u-P. Hence, Enhanced Strain and Simplified
Enhanced Strain will be the same if Mixed u-P formulation is also activated.
36
There are three different Mixed u-P formulations that can be used for cases
of nearly or fully incompressible materials:
Users can refer to the ANSYS MAPDL documentation for more details on the
formulations u-P I and u-J. These can be activated manually for the nearly
incompressible cases as necessary using a command object.
37
K uu
K
Pu
K uP u F
=
0 P 0
38
V
J=
Vo
where V and Vo are the updated and original volumes of the element,
respectively.
39
J 1 = 0
This leads to the following volumetric compatibility equation:
J 1
dV
J
Vtol
V
If the model fails to converge because the Mixed u-P volumetric compatability
condition cannot be met, it might be helpful to loosen this tolerance.
Note: Loosening this tolerance has the effect of allowing some small amount of
compressibility in the material. This should only be done as a last resort after other
solution convergence options (i.e. increasing the number of substeps) have been tried.
41
Caution: When you issue SOLC command, all control commands associated
with analysis settings (i.e. Autotime stepping and NSUBST for defining
substeps)set earlier in the interactive or input session are reset to their
original default values. You might need to add additional commands to
reestablish user preferences. Refer to documentation on SOLCONTROL
command Default States Table for details.
42
When the number of pressure DOF (Np) is greater than the number of active
(unconstrained) displacement DOF (Nd), this is an over-constrained model,
which results in locking.
Ideally, the ratio of Nd/Np should be 2/1 for 2D problems or 3/1 for 3D problems.
Over-constrained models can be overcome by mesh refinement, especially in areas
without displacement constraints.
43
Mixed u-P Formulation can be combined with B-bar, URI, Enhanced Strain, or Simplified
Enhanced Strain Formulations in nearly incompressible applications using command
objects.
44
H. Solid-Shell Formulation
A special Solid-Shell Element is available to model thin
to moderately-thick shells in 3D form.
Solid-Shell Formulation
Considerations for Shells:
analyses
decreases
Higher-order 3D solid elements do not have
this problem
46
Solid-Shell Formulation
SOLSH190 has 2x2x2 integration points
Unlike SHELL elements, SZ is not automatically zero. SOLSH190 has 3D stress state
(SZ can be non-zero)
47
48
3rd mode
elem/thick elem/edge
SHELL181
1
10
20
50
SOLID185
1
10
20
50
3
10
20
50
5
10
20
50
SOLSH190
1
10
20
50
3
10
20
50
5
10
20
50
thick
1.00E-03
3.7496
3.4509
3.3743
3533.8000
50.9320
3.7035
3534.0000
50.8300
3.6230
3533.8000
50.9040
3.6708
3.7232
3.4530
3.3751
3.6055
3.4384
3.3764
3.4980
3.4201
3.2714
1.00E-02
3750
3451
3374
39403
4096
3386
39403
4096
3386
39403
4096
3386
3722
3445
3373
3722
3445
3373
3722
3445
3373
1.00E-01
3.74E+06
3.44E+06
3.37E+06
4.31E+06
3.48E+06
3.38E+06
4.31E+06
3.48E+06
3.38E+06
4.31E+06
3.48E+06
3.37E+06
3.72E+06
3.44E+06
3.37E+06
3.72E+06
3.44E+06
3.37E+06
3.72E+06
3.44E+06
3.37E+06
1.00E+00
3.09E+09
2.89E+09
2.84E+09
3.55E+09
3.23E+09
3.14E+09
3.49E+09
3.18E+09
3.10E+09
3.45E+09
3.14E+09
3.07E+09
3.40E+09
3.17E+09
3.11E+09
3.37E+09
3.15E+09
3.09E+09
3.33E+09
3.12E+09
3.06E+09
2.00E+00
1.64E+10
1.57E+10
1.55E+10
2.23E+10
2.07E+10
2.04E+10
2.13E+10
1.99E+10
1.96E+10
2.04E+10
1.91E+10
1.88E+10
2.23E+10
2.07E+10
2.04E+10
2.13E+10
1.99E+10
1.96E+10
2.04E+10
1.91E+10
1.88E+10
Element Control
As stated earlier, the Solver Output reports the element technology being
activated based on the element order chosen by user and the material
association.
Elastic material or
metal plasticity with
higher order elements
Default URI
2D Plane Stress/Strain
Metal Plasticity with
lower order elements
Enhanced Strain
2D Plain Strain
Elastic material with
lower order elements
Fully incompressible
hyperelasticity with
higher or lower order
elements
49
Element Control
Users do have the option to turn Element Control off, thereby:
The exception to this is Mixed u-P which must be turned on for fully incompressible
50
materials.
Refer also to ETCONTROL in Commands Manual
Forcing a full integration order only applies to higher order elements, which have a
uniform reduced integration order by default.
It is sometimes helpful to force full integration when only one element exists across
the thickness of a part for improved accuracy.
51
Element Control
Users can also override the default key option settings by executing the following
KEYOPT command within a command object under the part branch.
Recall: KEYOPT, ITYPE, KNUM, VALUE
Where ITYPE is the Element type number
KNUM is the number of the KEYOPT
VALUE is the value of this KEYOPT
Example, if element type#1 is PLANE182, enhanced strain can be activated with the
following command:
KEYOPT,1,1,2
Key Option Value (for enhanced strain)
Key Option Number (for element technology)
Element Type Number
52
Summary
In summary, there are many different technologies for continuum elements
to alleviate shear and volumetric locking
Lower-order elements can use B-Bar, URI, Enhanced Strain, or Simplified Enhanced
Strain. Moreover, Mixed u-P may be used in conjunction with any of these
formulations.
Higher-order elements usually use URI only (except for SOLID186, which can also
use full integration). Mixed u-P may be toggled on or off, depending on the
problem.
Mechanical will automatically set the best formulation option based on the material
properties and element order, although having an understanding of the pros and
cons of each formulation can be very helpful in interpreting Solution Output with
difficult problems.
54
Lecture C1
Introduction
1-1
June 2009
Inventory #002669
Introduction
A. Welcome!
Training Manual
1-2
June 2009
Inventory #002669
Introduction
Course Objectives
Training Manual
1-3
June 2009
Inventory #002669
Introduction
Course Materials
Training Manual
1-4
June 2009
Inventory #002669
Introduction
Training Manual
Only ANSYS Products that allow the use of Command objects inside
of ANSYS Mechanical are pertinent to this course:
ANSYS
ANSYS
ANSYS
ANSYS
Multiphysics
Mechanical
Structural
Professional
Please note that the following ANSYS Products cannot use Command
objects and are not applicable for this course:
ANSYS DesignSpace
1-5
June 2009
Inventory #002669
Introduction
Training Manual
1-6
June 2009
Inventory #002669
Introduction
Training Manual
1-7
June 2009
Inventory #002669
Introduction
Training Manual
1-8
June 2009
Inventory #002669
Introduction
Training Manual
1-9
June 2009
Inventory #002669
Introduction
Training Manual
1-10
June 2009
Inventory #002669
Introduction
Training Manual
1-11
June 2009
Inventory #002669
Lecture C2
Mechanical APDL
Introduction
2-1
June 2009
Inventory #002669
Training Manual
2-2
June 2009
Inventory #002669
Training Manual
Mechanical APDL can also be run interactively with its own GUI, as
shown below. As noted earlier, it is important to understand how
Mechanical APDL operates in order to take advantage of its solver
technology to its fullest extent.
2-3
June 2009
Inventory #002669
Training Manual
2-4
June 2009
Inventory #002669
Training Manual
2-5
June 2009
Inventory #002669
Training Manual
2-6
June 2009
Inventory #002669
Training Manual
Additional considerations:
A user should not transfer from a Geometry or Model cell, as only a
subset of the model will be transferred to Mechanical APDL:
To verify the model in Mechanical APDL, always transfer from the Setup cell
To postprocess in Mechanical APDL, always transfer fro the Solution cell
Transferring from a Geometry cell will only send the geometric entities
Transferring from a Model cell will only send the mesh (MESH200 elements)
2-7
June 2009
Inventory #002669
Further Information
Training Manual
There are other ways in which Mechanical APDL can interact with
other ANSYS Workbench components, although the discussion is
outside of the scope of this course.
Refer to the following section of the ANSYS Help for details:
Workbench > Getting Started in Workbench > Systems > Component Systems
> Mechanical APDL
2-8
June 2009
Inventory #002669
Training Manual
2-9
June 2009
Inventory #002669
Training Manual
2-10
June 2009
Inventory #002669
Training Manual
2-11
June 2009
Inventory #002669
Training Manual
file.log: Mechanical APDL log (journal) file, which records all actions
performed by the user, whether through commands or the GUI
This file is automatically generated and appended to
file.err: Mechanical APDL error log file, containing all warning and
error messages encountered during a session
This file is automatically generated and appended to
2-12
June 2009
Inventory #002669
Training Manual
2-13
June 2009
Inventory #002669
Resuming Databases
Training Manual
2-14
June 2009
Inventory #002669
Reading Results
Training Manual
2-15
June 2009
Inventory #002669
Training Manual
2-16
June 2009
Inventory #002669
Further Information
Training Manual
There are other files that may be created by Mechanical APDL. For
more details, refer to the following section of the ANSYS Help:
Mechanical APDL (formerly ANSYS) > Basic Analysis Guide > Section
20.4.2 Files that ANSYS Writes
2-17
June 2009
Inventory #002669
Training Manual
The main components of the Mechanical APDL GUI are shown below:
Utility Menu
Command Prompt
ANSYS Toolbar
Standard Toolbar
Graphics Toolbar
Main Menu
Graphics Window
Output Window
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
Status Area
2-18
Active Attributes
June 2009
Inventory #002669
Main Menu
Training Manual
Main Menu:
All analysis-specific actions are available from the
Main Menu, located on the left side of the GUI
Each submenu level is color-coded differently to make
differentiation of levels easy
For each item, the left-most icon indicates the type of
action that will be taken:
A + or - symbol indicates a submenu
An arrow indicates a picking action will be performed
A dialog box icon reflects data to be entered in a window
2-19
June 2009
Inventory #002669
Utility Menu
Training Manual
Utility Menu:
Generally used for analysis-independent actions, such as changing graphics
settings, creating local coordinate systems, defining parameters, etc.
The right-most symbol indicates the type of action to be performed:
> indicates a submenu
indicates a dialog box
+ indicates a picking action
2-20
June 2009
Inventory #002669
Command Prompt
Training Manual
Command Prompt:
The Command Prompt allows users to type in APDL commands. A dynamic
prompt (blue) is a helpful reminder of the necessary arguments.
A history of previously-entered commands is available by selecting the leftmost button (circled below)
To access help for commands or an element, type HELP,command or
HELP,element to bring up the relevant help section (where command is the
APDL command name or element is the element library number)
2-21
June 2009
Inventory #002669
Output Window
Training Manual
Output Window:
In an interactive session, the
Output Window provides feedback
for all actions performed. It is the
same output as the Solution
Information branch in Mechanical.
The contents of the Output Window
are not saved to a file in an
interactive session; hence, the user
can make the DOS window buffer
large enough to store as much
information as required.
Do not close the Output Window.
By clicking on the x icon, one will
abruptly terminate the Mechanical
APDL session. Instead, minimize
the Output Window if it is not
needed.
(The Output Window is typically
grey text on black background but
has been reversed here for clarity.)
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
2-22
June 2009
Inventory #002669
Further Information
Training Manual
2-23
June 2009
Inventory #002669
E. Graphics
Training Manual
2-24
June 2009
Inventory #002669
Training Manual
2-25
June 2009
Inventory #002669
Training Manual
2-26
June 2009
Inventory #002669
Training Manual
By pressing down on the Ctrl key, the user can manipulate the model
in the Graphics window:
Ctrl + Left mouse button pans the model.
Ctrl + Middle mouse button zooms in/out (up-down movement of mouse)
or spins the model about the screen Z-axis (right-left movement of
mouse)
The wheel, if present, can be used to zoom in/out
The user may re-map these actions with the /UIS,BORD command
Ctrl
P Z R
2-27
June 2009
Inventory #002669
Training Manual
A single click with the Right mouse button on the Graphics window
brings up a context-sensitive pop-up menu
Click-drag with the Right mouse button on the Graphics window will
perform a box zoom
2-28
June 2009
Inventory #002669
Training Manual
2-29
June 2009
Inventory #002669
Training Manual
Toggle
Pick / Unpick
Cursor display:
Pick
Unpick
2-30
June 2009
Inventory #002669
Training Manual
When picking items, Mechanical APDL will highlight the entity whose
centroid is nearest to the location where the pick action occurred
Important Tip: In Mechanical APDL, click and hold down the left mouse
button. Drag the mouse on the screen until the desired entity is
highlighted. Then let go of the left mouse button to complete the picking
operation.
In Mechanical, the item directly underneath the cursor when the left mouse
button is clicked is highlighted. However, in Mechanical APDL, it is the
centroid of the element closest to the cursor that is selected.
Note that Selection Planes and Paint Select features in Mechanical are not
present in Mechanical APDL.
If a user uses the tip above, it becomes easy to select an item of interest. By
keeping the left mouse button pressed, the user can move the mouse around
until the correct entity is highlighted.
2-31
June 2009
Inventory #002669
Training Manual
2-32
June 2009
Inventory #002669
Training Manual
2-33
June 2009
Inventory #002669
Training Manual
2-34
June 2009
Inventory #002669
Training Manual
To exit from Mechanical APDL, use Utility menu > File > Exit or
the x icon on the Utility menu
A dialog box will appear asking what data to save
Note that the x icon is for the Utility menu not the Output Window!
2-35
June 2009
Inventory #002669
Training Manual
2-36
June 2009
Inventory #002669
Lecture C3
Element Attributes
3-1
June 2009
Inventory #002669
Overview
Training Manual
Element Types
Material Properties
Real Constants or Section Properties
Element Coordinate Systems
3-2
June 2009
Inventory #002669
Training Manual
3-3
June 2009
Inventory #002669
Processors
Training Manual
3-4
June 2009
Inventory #002669
B. Element Attributes
Training Manual
3-5
June 2009
Inventory #002669
Training Manual
To list the attributes for an element, use Utility menu > List > Picked
Entities +
Query Item should be set to Attributes
On Entities should be changed to Elements
Pick the element(s) of interest recall that by holding down
the left mouse button, one can drag the mouse on the
screen until the desired element is highlighted
By clicking on [OK] or [Apply], the attributes will be shown
Material
Property
ID
Element
Type ID
Real
Constant
ID
Element
Coordinate
System ID
3-6
Section
Property
ID
June 2009
Inventory #002669
Training Manual
3-7
June 2009
Inventory #002669
Training Manual
One may notice from the previous slides that the element attributes
are referred by ID number
In Mechanical APDL, everything is designated via a unique ID number
Node numbers, element numbers
Element type ID, material ID, real constant ID, section property ID
Coordinate system ID
etc.
3-8
June 2009
Inventory #002669
C. Element Type
Training Manual
Node I
Node J
Node I
Node K
Node J
3-9
June 2009
Inventory #002669
Training Manual
3-10
June 2009
Inventory #002669
Training Manual
Element types present in the model can be viewed under Main Menu
> Preprocessor > Element Type > Add/Edit/Delete
Highlight an element type of interest and use [Options] to bring up a
dialog box to change element behavior
3-11
June 2009
Inventory #002669
Training Manual
Use Utility menu > List > Properties > Element Types to get a
concise listing of defined element types.
3-12
June 2009
Inventory #002669
Training Manual
3-13
June 2009
Inventory #002669
Training Manual
Please keep in mind that not all physics may support elements with or
without midside nodes. In these cases, the midside node specification
will be overridden
The [Options] dialog box in Mechanical APDL exposes the underlying
element formulation of the elements. In Mechanical, however, all of these
options are not presented to the user with the exception of the integration
scheme for brick elements
Under the Geometry branch, set Element Control: Manual. Then, per solid
part, the Brick Integration Scheme option will be available.
3-14
June 2009
Inventory #002669
Element Reference
Training Manual
3-15
June 2009
Inventory #002669
Element Reference
Training Manual
3-16
June 2009
Inventory #002669
Element Reference
Training Manual
3-17
June 2009
Inventory #002669
APDL Commands
Training Manual
Changing a keyoption:
KEYOPT,#,keyoption,value where # is the element type ID number,
keyoption is the keyoption number, and value is the new value
3-18
June 2009
Inventory #002669
D. Material Properties
Training Manual
3-19
June 2009
Inventory #002669
Training Manual
3-20
June 2009
Inventory #002669
Training Manual
In the Material Models GUI shown below, the left column lists the
defined material properties by ID number while the right shows
available constitutive models that can be added.
3-21
June 2009
Inventory #002669
Training Manual
For linear material properties, use Utility Menu > List > Properties >
All Materials.
For nonlinear material properties, select Utility Menu > List >
Properties > Data Tables
3-22
Training Manual
3-23
June 2009
Inventory #002669
Training Manual
3-24
June 2009
Inventory #002669
Training Manual
3-25
June 2009
Inventory #002669
APDL Commands
Training Manual
3-26
June 2009
Inventory #002669
Training Manual
3-27
June 2009
Inventory #002669
Training Manual
Check the Element Reference in the Help system for each element to
determine which input is used
3-28
June 2009
Inventory #002669
Training Manual
3-29
June 2009
Inventory #002669
Training Manual
Use Main Menu > Preprocessor > Real Constants > Add/Edit/Delete
to review currently defined real constants
When editing a real constant, the user needs to select the associated
element type for that real constant in the GUI
Note that real constants
and material properties
are not linked with a
specific element type.
The user needs to keep
track of the element type a
real constant set
corresponds to.
Consequently, Mechanical
will generate a body with
the same element type ID,
real constant ID, and
material ID, to make
association simple.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
3-30
June 2009
Inventory #002669
Training Manual
Use Utility Menu > List > Properties > All Real Constants to see a
text listing of real constants
3-31
June 2009
Inventory #002669
Real Constants
Training Manual
Note from the previous slide that real constants are lists of values:
The order (position) of each value is important for each element
For example, in the BEAM4 Element Reference help section, the first real
constant value is the cross-sectional area, while the second real constant
entry is the area moment of inertia Izz.
3-32
June 2009
Inventory #002669
Training Manual
Section properties can be edited from Main Menu > Preprocessor >
Sections (supported element name in parentheses):
Sections are grouped by element type:
Beams (BEAM44, BEAM188, BEAM189)
Pipes (PIPE288, PIPE289, ELBOW290)
Shells:
3-33
June 2009
Inventory #002669
Training Manual
3-34
June 2009
Inventory #002669
Input in Mechanical
Training Manual
3-35
June 2009
Inventory #002669
APDL Commands
Training Manual
3-36
June 2009
Inventory #002669
F. Coordinate Systems
Training Manual
3-37
June 2009
Inventory #002669
Training Manual
3-38
June 2009
Inventory #002669
Training Manual
Actual element results such as stress and strain are calculated in these
element coordinate systems, then transformed back to the global CS
Output of results in the element coordinate system is possible in Mechanical
APDL
3-39
June 2009
Inventory #002669
Training Manual
3-40
June 2009
Inventory #002669
Training Manual
3-41
June 2009
Inventory #002669
Coordinate Systems
Training Manual
3-42
June 2009
Inventory #002669
Coordinate Systems
Training Manual
3-43
June 2009
Inventory #002669
Training Manual
3-44
June 2009
Inventory #002669
Training Manual
3-45
June 2009
Inventory #002669
Training Manual
For solid elements, the element coordinate system will align itself to
be parallel to the local coordinate system it is associated with (ESYS)
For shell elements, the element z-axis is always pointed normal to the
element. The element x- and y-axes are aligned with ESYS as
described in the Help system:
Mechanical APDL (formerly ANSYS) > Element Reference > 2. General
Element Features > 2.3 Coordinate Systems > 2.3.1 Element Coordinate
Systems
For beam elements, local coordinate systems are typically not used
instead, an extra node defines the element z-axis orientation.
Consequently, it is best to define the orientation in DesignModeler.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
3-46
June 2009
Inventory #002669
Training Manual
Mechanical will generate each solid, surface, and line body to have
the same ID numbers for the element attributes:
The element type ID, material property ID, real constant ID, section
property ID will all be the same. By default, the element coordinate
system ID will be 0
If hex-dominant meshing is used for solid bodies, note that 2 element
type IDs will be created one for the tetrahedral elements, the other for
the hexahedral / wedge / pyramid elements
For contact regions, the contact and target side will have sequential
ID numbers
3-47
June 2009
Inventory #002669
Creating Elements
Training Manual
To change the ID numbers for the active element attributes, use the
following APDL commands:
3-48
June 2009
Inventory #002669
Lecture C4
APDL Commands
5-1
June 2009
Inventory #002669
APDL Commands
Overview of APDL
Training Manual
5-2
June 2009
Inventory #002669
APDL Commands
A. APDL Commands
Training Manual
5-3
June 2009
Inventory #002669
APDL Commands
APDL Commands
Training Manual
Those starting with a forward slash / are often graphics or processorrelated, although some also relate to filename management
The /CONTOUR command allows a user to change the min/max range of legend
APDL Commands that begin with an asterisk * are often associated with
control logic, I/O tasks, or user interaction
To write data to an external text file, the *VWRITE command would be used
5-4
June 2009
Inventory #002669
APDL Commands
Training Manual
The user may click on the [Help] button in dialog boxes or type
HELP,Command in the Command Prompt to bring up the relevant,
detailed help section from the Commands Reference
5-5
June 2009
Inventory #002669
APDL Commands
Training Manual
1.
3.
2.
4.
5-6
June 2009
Inventory #002669
APDL Commands
Training Manual
5.
6.
5-7
June 2009
Inventory #002669
APDL Commands
Training Manual
7.
8.
9.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
5-8
June 2009
Inventory #002669
APDL Commands
APDL Commands
Training Manual
5-9
June 2009
Inventory #002669
APDL Commands
APDL Commands
Training Manual
5-10
June 2009
Inventory #002669
APDL Commands
B. Log File
Training Manual
The log file can be accessed from Utility Menu > List > Files > Log
File
The file resides in the solver directory as file.log
All actions, whether executed from the GUI or typed in the Command
Prompt, are recorded in the log file.
5-11
June 2009
Inventory #002669
APDL Commands
Training Manual
APDL contains comments, some of which are shown in the log file:
/COM, !, and C*** all designate the beginning of comments. Everything
after that is after these commands is ignored by ANSYS.
/COM and C*** echoes the comment in the Output Window and/or Output
File, useful to provide feedback to the user
! produces a silent comment and can appear anywhere on a line
In the log file, Mechanical
APDL automatically
includes the software
version number as well as
date & time of run as a
comment.
5-12
June 2009
Inventory #002669
APDL Commands
Training Manual
5-13
June 2009
Inventory #002669
APDL Commands
Training Manual
5-14
June 2009
Inventory #002669
APDL Commands
Training Manual
5-15
June 2009
Inventory #002669
APDL Commands
C. Parameters
Training Manual
5-16
June 2009
Inventory #002669
APDL Commands
Training Manual
5-17
June 2009
Inventory #002669
APDL Commands
Training Manual
5-18
June 2009
Inventory #002669
APDL Commands
Training Manual
Type:
Example:
Arithmetic: + - * /
LENGTH=2 + 3*5
Note: there cannot be a space before * in equation
Exponential: **
SQUARE = 2**4
Note: exponential operator are two asterisks, not a ^ caret sign
Trig. functions: sin(x), acos(x), tanh(x)
PI=ACOS(-1)
Note: Radians assumed but can be changed via *AFUN command
Arith. functions: nint(x), sqrt(x), abs(x)
INTGR=nint(3.4)
Log functions: log10(x), exp(x)
DIST=log(15)
5-19
June 2009
Inventory #002669
APDL Commands
Training Manual
This command can be used to get almost any type of data from the
database, including results.
As will be demonstrated later, this is a very useful way to obtain any
input or output data from the model, and this can also be linked with
Workbench parameter management
5-20
June 2009
Inventory #002669
APDL Commands
Training Manual
Besides using *GET to retrieve data, there are some APDL commands
called *GET functions to do this more easily
NX(n) returns the x-coordinate of node ID n in the active CS
For example, one can use NSEL,S,LOC,X,nx(5) to select all nodes
which have the same x-coordinate value as node ID #5.
Parameters can also be assigned via PARAM=nx(5).
UZ(n) returns the calculated displacement in the z-direction for node n.
NELEM(E,NPOS) returns the ID number of the node in the NPOS position
of element E.
5-21
June 2009
Inventory #002669
APDL Commands
Training Manual
5-22
June 2009
Inventory #002669
APDL Commands
Array Parameters
Training Manual
5-23
June 2009
Inventory #002669
APDL Commands
Array Parameters
Training Manual
Vector (row)
Matrix (row and column)
Third-order tensor (row, column, and plane)
Fourth-order tensor (row, column, plane, and book)
Fifth-order tensor (row, column, plane, book and shelf)
Arrays are used like parameters but with an index:
MY_PARAMETER(3) or ANOTHER_PARM(3,4)
5-24
June 2009
Inventory #002669
APDL Commands
Array Parameters
Training Manual
Regular arrays are discrete values. These can be used for any
purpose, such as retrieving nodal results.
5-25
June 2009
Inventory #002669
APDL Commands
Array Parameters
Training Manual
5-26
June 2009
Inventory #002669
APDL Commands
Training Manual
Defining arrays, tables, and strings is done via the *DIM command:
Defining a 3D (10x6x4) array:
*DIM,myarray,ARRAY,10,6,4
Defining a 4D table that is a function of x, y, z, and time:
*DIM,pressureload,TAB4,10,3,5,2,X,Y,Z,TIME
Defining a 1D string (max 128 characters):
*DIM,mystring,STRING,128
See the *DIM command in the Commands Reference for more details
on the syntax
5-27
June 2009
Inventory #002669
APDL Commands
Training Manual
5-28
June 2009
Inventory #002669
APDL Commands
Training Manual
To refer to a table array, simply use the same notation as earlier for a
regular array, although instead of using an integer index, use the
interpolation column. For indices outside of the defined range, the
last value will be used.
FORCE(3.2) will return 560
FORCE(9) will give 89.4375
FORCE(9.5) will return 0
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
5-29
June 2009
Inventory #002669
APDL Commands
Training Manual
5-30
June 2009
Inventory #002669
APDL Commands
Training Manual
The use of any other index will replace the contents from that
character
If the above command was executed, then the following was issued:
MYSTRING(9)=changed text
then the resulting string would be Here is achanged text
5-31
June 2009
Inventory #002669
APDL Commands
Training Manual
5-32
June 2009
Inventory #002669
APDL Commands
Training Manual
5-33
June 2009
Inventory #002669
APDL Commands
Training Manual
The *VGET command works for arrays. For strings, the use of the
/INQUIRE command allows users to get information of the analysis
For example, /INQUIRE,mystring,DIRECTORY will retrieve the current
solver directory and place it in the string mystring. This helps with file
management when dealing with multiple analyses inside of Mechanical
APDL
Operating system environment variables can also be retrieved with
/INQUIRE and placed in a string.
5-34
June 2009
Inventory #002669
APDL Commands
Operating on Arrays
Training Manual
5-35
June 2009
Inventory #002669
APDL Commands
Operating on Strings
Training Manual
5-36
June 2009
Inventory #002669
APDL Commands
Training Manual
5-37
June 2009
Inventory #002669
APDL Commands
D. Control Logic
Training Manual
Do loops
*DO, *DOWHILE, *CYCLE, *EXIT, *ENDDO, *RETURN
5-38
June 2009
Inventory #002669
APDL Commands
*IF statements
Training Manual
5-39
June 2009
Inventory #002669
APDL Commands
*IF statements
Training Manual
5-40
June 2009
Inventory #002669
APDL Commands
*IF statements
Training Manual
5-41
June 2009
Inventory #002669
APDL Commands
Training Manual
If a user may have a block of commands in a text file that may need to
be skipped temporarily, instead of deleting the commands, one can
enclose these commands with an *IF statement that returns a false
statement:
*IF,1,EQ,2,THEN
<block of APDL commands>
*ENDIF
The above will not execute the APDL commands but skip over them. This
is useful, as the user does not have to delete the APDL commands they
do not want to run.
5-42
June 2009
Inventory #002669
APDL Commands
*DO Loops
Training Manual
5-43
June 2009
Inventory #002669
APDL Commands
*DO Loops
Training Manual
5-44
June 2009
Inventory #002669
APDL Commands
*DO Loops
Training Manual
The *CYCLE and *EXIT commands can be used to break out of the
loop.
*CYCLE will bypass the remainder of the commands in the *DO loop and
go to the next loop (if applicable)
*EXIT will exit out of the *DO loop
The CYCLE and EXIT options of the *IF command are used more
often than the explicit *CYCLE and *EXIT commands. However,
*CYCLE and *EXIT can be used with *IF-*ENDIF in the event that,
before skipping or exiting the loop, other commands need to be
issued.
5-45
June 2009
Inventory #002669
APDL Commands
Branching
Training Manual
5-46
June 2009
Inventory #002669
APDL Commands
Branching
Training Manual
5-47
June 2009
Inventory #002669
APDL Commands
Branching
Training Manual
When using branching, ensure that branching does not occur within
a *DO loop or separate *IF statement
For example, the following is not permitted:
*dowhile,I
block,,1,,1,,1
test=i+test
*if,test,eq,5,:hello
*enddo
If the user wants to branch out of a *DO loop when a criterion is met,
the following presents a better approach:
*dowhile,I
block,,1,,1,,1
test=i+test
*if,test,eq,5,exit
*enddo
*if,test,eq,5,:hello
5-48
June 2009
Inventory #002669
Lecture C4
Using APDL in Mechanical 1
6-1
June 2009
Inventory #002669
Overview
Training Manual
6-2
June 2009
Inventory #002669
A. Preliminaries
Training Manual
6-3
June 2009
Inventory #002669
Unit System
Training Manual
APDL commands may involve the input of values that are unitdependent, such as piezoelectric coefficients. Because Commands
objects are general, there is no mechanism to convert entered
arguments of APDL commands if a user decides to change the active
unit system from the Units menu.
Consequently, it is strongly recommended to manually specify the
solver unit system in the Details view of the Analysis Settings
branch. Solver Units: Manual allows the user to specify the unit
system for the Mechanical APDL solver
By setting Solver Units: Manual with Solver
Unit System set appropriately, the user-specified
unit system will always by used by the
Mechanical APDL solver, regardless of what
the active unit system is in Mechanical
This ensures that, if another user obtains the
Workbench project, their solution will be in the
correct unit system
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
6-4
June 2009
Inventory #002669
Training Manual
6-5
June 2009
Inventory #002669
Creating/Deleting Elements
Training Manual
6-6
June 2009
Inventory #002669
Training Manual
6-7
June 2009
Inventory #002669
Supplementary Branches
Training Manual
6-8
June 2009
Inventory #002669
Other Branches
Training Manual
6-9
June 2009
Inventory #002669
B. Geometry Branch
Training Manual
6-10
June 2009
Inventory #002669
Geometry Branch
Training Manual
Element type
Material Properties
Real Constants/Section Properties
Element Coordinate System
6-11
June 2009
Inventory #002669
Training Manual
6-12
June 2009
Inventory #002669
Training Manual
6-13
June 2009
Inventory #002669
Training Manual
6-14
June 2009
Inventory #002669
Training Manual
6-15
June 2009
Inventory #002669
Training Manual
In all of the above cases, Label refers to the material property name.
See the MP or TB help in the Commands Reference for details.
6-16
June 2009
Inventory #002669
Training Manual
MP,EX,MATID,200e3
MP,NUXY,MATID,0.3
TB,BISO,MATID,1
TBDATA,1,300,2e3
TB,CREEP,MATID,1,3,10
TBDATA,1,3.125E-14,5,0
6-17
June 2009
Inventory #002669
Training Manual
6-18
June 2009
Inventory #002669
Training Manual
6-19
June 2009
Inventory #002669
Training Manual
For composite elements, one must define the material ID numbers used
in each layer within the Commands object
Use material ID numbers that are larger than the number of parts present when
defining the material ID number for each layer
The actual material property definition used in layers only needs to be
performed once in the event that multiple bodies have composite definition
6-20
June 2009
Inventory #002669
C. Remote Points
Training Manual
Point Mass
Joints
Springs
Moment
Remote Force
Remote Displacement
6-21
June 2009
Inventory #002669
Training Manual
The below are some reasons why one may wish to use Commands
objects with Remote Points:
Reduce the interface nodes for creation of CMS superelements for more
efficient system-level analyses
Define monitor locations, such as the average deformation of a given
surface
Create an MNF file for use with Adams/Flex
6-22
June 2009
Inventory #002669
Training Manual
6-23
June 2009
Inventory #002669
Training Manual
6-24
June 2009
Inventory #002669
Remote Points
Training Manual
The parameter TID is the target elements element type ID number. For
example, if one may wish to constrain only UX and UY DOF rather than all
6 (or all 3, if 2D), one can use the following command:
keyopt,TID,4,11
6-25
June 2009
Inventory #002669
Remote Points
Training Manual
6-26
June 2009
Inventory #002669
D. Contact Regions
Training Manual
6-27
June 2009
Inventory #002669
Contact Regions
Training Manual
6-28
June 2009
Inventory #002669
Contact Regions
Training Manual
6-29
June 2009
Inventory #002669
Contact Regions
Training Manual
6-30
June 2009
Inventory #002669
E. Joints
Training Manual
6-31
June 2009
Inventory #002669
Joints
Training Manual
6-32
June 2009
Inventory #002669
Joints
Training Manual
The element type used for joints is MPC184. Note that the joint
(MPC184 element) is connected to the solid model via Remote Points.
If the connection between the joint and solid part needs to be modified,
define a Remote Point with a Commands object, as discussed in an
earlier section of this chapter.
Only insert a Commands object under a Joint branch if the joint
property will be modified. This includes constraining relative DOF,
adding stops/locks, or defining joint material properties
6-33
June 2009
Inventory #002669
Joints
Training Manual
The APDL parameter _jid refers to the element type, material, real
constant, and section ID number of the MPC184 element:
To define nonlinear stiffness for a Translational Joint:
tb,join,_JID,1,4,jnsa
tbpt,,U1,F1
repeat (Each TBPT command defines pair of displacements Ui and forces Fi)
To add a rotational stop for relative Z-rotation for a General Joint between
-45 and 45:
secstop,6,-acos(-1)/2,acos(-1)/2
(Notice input is in radians, and 6 refers to relative DOF 6 or ROTZ)
6-34
June 2009
Inventory #002669
Joints
Training Manual
6-35
June 2009
Inventory #002669
Training Manual
6-36
June 2009
Inventory #002669
Training Manual
6-37
June 2009
Inventory #002669
Training Manual
For Beams, the parameter _bid refers to the beams element type,
material, real constant, and section ID number
To replace the deformable beam with a rigid one, use the following:
mpdele,all,_BID
et,_BID,184,1,0
Note that the Beam has material properties, so density and thermal
expansion may be used, if present. To prevent these materials from
being used, MPDELE is included in the above example to delete the
material definition for _BID (beams material ID).
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
6-38
June 2009
Inventory #002669
Training Manual
6-39
June 2009
Inventory #002669
Lecture C4
Using APDL in Mechanical 2
7-1
June 2009
Inventory #002669
Overview
Training Manual
7-2
June 2009
Inventory #002669
Training Manual
7-3
June 2009
Inventory #002669
Training Manual
7-4
June 2009
Inventory #002669
Training Manual
7-5
June 2009
Inventory #002669
Selection Logic
Training Manual
Selecting elements:
ESEL,type,item,comp,vmin,vmax
Selecting nodes:
NSEL,type,item,comp,vmin,vmax
7-6
June 2009
Inventory #002669
Selection Logic
Training Manual
The type of selections are listed below and shown on the right:
S: From Full
R: Reselect
A: Also select
U: Unselect
INVE: Invert (not applicable to CMSEL)
NONE: Unselect all types
ALL: Select all types
7-7
From Full
Reselect
Also Select
Unselect
Invert
Select None
Select All
June 2009
Inventory #002669
Training Manual
7-8
June 2009
Inventory #002669
Training Manual
7-9
June 2009
Inventory #002669
Training Manual
7-10
June 2009
Inventory #002669
Selection Logic
Training Manual
Selected Elements
Selected Nodes
There are often many ways to achieve the desired selected set using a
combination of APDL selection commands
There may be multiple ways to select a portion of the model one is interested
in, so one should not view there being a single, correct approach. The
various options in the 5 APDL selection commands give the user versatility in
approaching different applications
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
7-11
June 2009
Inventory #002669
Training Manual
Objective: Select
nodes within a radius
of 4e-3 to 7e-3
7-12
June 2009
Inventory #002669
Training Manual
7-13
June 2009
Inventory #002669
Training Manual
The active coordinate system is set via CSYS command. If using this
command, it is good practice to set CSYS,0 to reset the active
coordinate system back to global Cartesian
If this is not done, any nodes created later will be based on (x, y, z) of the
active coordinate system rather than global Cartesian!
7-14
June 2009
Inventory #002669
Training Manual
7-15
June 2009
Inventory #002669
B. Analysis Branch
Training Manual
7-16
June 2009
Inventory #002669
Analysis Branch
Training Manual
7-17
June 2009
Inventory #002669
Training Manual
Enter Preprocessor
Get highest element type ID #
Define FLUID130 with ID AR99+1
Define radius of FLUID130
Define density of 1000
Define speed of sound of 1500
cmsel,s,N_INFINITE
type,AR99+1
real,AR99+1
mat, AR99+1
esurf
/solu
allsel,all
cmsel,all
7-18
June 2009
Inventory #002669
Training Manual
For details on acoustic analyses, see Fluids Guide > Acoustics in the
Help system.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
7-19
June 2009
Inventory #002669
Training Manual
7-20
June 2009
Inventory #002669
Analysis Branch
Training Manual
Points to Remember:
A SOLVE command (solution of matrix equations) will be automatically
executed after the contents of the Commands object(s) are run.
Consequently, do not add a SOLVE command; otherwise, two solutions
will be performed.
If the automatically-added SOLVE command is to be suppressed, use an
Abbreviation to redefine the SOLVE command via
*ABBR,SOLVE,*SET,AR99,1
However, this is considered advanced usage and should not be necessary for
most situations
The Details view of the Command object inserted under the Analysis
Branch gives the user control over which Step the Commands object
will be executed.
For Mode-Superposition Harmonic analyses, the Commands object will be
run both during the modal and harmonic solutions by default. To control this
behavior, use *GET,myflag,ACTIVE,,ANTY to determine the current analysis
type. If the value is 2, a modal analysis is being run while a value of 3
reflects the harmonic solution. Use of *IF commands allows a user to execute
APDL commands just for the modal analysis, for example.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
7-21
June 2009
Inventory #002669
C. Solution Branch
Training Manual
7-22
June 2009
Inventory #002669
Solution Branch
Training Manual
7-23
June 2009
Inventory #002669
Solution Branch
Training Manual
7-24
June 2009
Inventory #002669
Solution Branch
Training Manual
7-25
June 2009
Inventory #002669
Solution Branch
Training Manual
Cautionary note:
If any changes are made to a Commands object under the Solution
branch, the entire analysis must be re-run in order to regenerate the
plots. Hence, when possible, use User Defined Results in Mechanical, or
manually postprocess in Mechanical APDL
7-26
June 2009
Inventory #002669
D. Input Parameters
Training Manual
7-27
June 2009
Inventory #002669
Output Parameters
Training Manual
7-28
June 2009
Inventory #002669
Parameters
Training Manual
7-29
June 2009
Inventory #002669
Workshop 2A
Small vs Large Deflection
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Goal
Compare and contrast results using small deflection theory and large deflection
theory on a model with identical loads and boundary conditions.
Model Description
3D Spring plate
Linear steel material
Meshed with 3D Shell elements
Fixed support at one end, A
250N load at opposite end, B
Save as
Double click on the Model Cell to open the FE Model (Mechanical Session) (or RMB=>Edit)
The spring model is already set up with a fixed boundary condition and a force load on the opposite
end.
Highlight the Fixed Support and Force Load to confirm that the model is properly supported,
loaded and ready to solve.
10
Double click on the Large Deflection Model Cell to open the FE Model (Mechanical
Session) (or RMB=>Edit)
11
12
After solution run is complete, open the Solution Information folder and scroll to
near the bottom of the output. Note the solution now solves with 11 cumulative
iterations made on the stiffness matrix during the run to account for large deflection
effects.
13
14
15
Workshop 2B
Performing a Restart
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Goal
Use Restart Control technology to remedy a nonconverged solution and add a new load
step
Model Description
Same as Workshop 2A
Review the Solution Information Solver Output and Force Convergence plot
Note the warnings and errors recorded early in the run that indicate excessive element distortion
and recommend more substeps as one possible remedy.
Having achieved convergence, we will now use restart technology to add an additional
load step and define a new load without having to start the run from the beginning.
Return to Analysis Settings again
Set Current Restart Point to the last successfully
converged subset (Loadstep 1, Substep 12)
10
11
Note, from the force convergence graph, that the run picks up at the end of LS1, as
expected, and runs successfully to completion.
12
13
Notice the model now solves with only three bisections over 2
load steps and in 74 total iterations (as compared to 124
iterations), cutting the run time significantly. This underscores
the importance of taking advantage of auto time stepping
technology with a sufficient range in nonlinear problems.
14
Workshop 3A
Contact Stiffness Study
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Steps to Follow:
Restore Archive browse for file W3a-stiffness.wbpz
Save as
Double click on the Model Cell to open the FE Model (Mechanical Session) (or
RMB=>Edit)
Open the folders beneath the model branch to become familiar with the model set-up.
Highlight Geometry and refer
to the details window to verify that
this is a 2D axisymmetric model.
Review the Frictionless contact set up and specifications. A single contact pair has already
been set up with the following specifications:
This workshop will focus on a study of the contact stiffness and its influence on results
(surface pressure and penetration).
8
Highlight the Solution Information Branch and scroll up the Solver Output to find the
contact specifications.
Confirm the auto-asymmetric behavior, Augmented Lagrange formulation, gauss
point detection and the user defined Normal Stiffness (FKN) value with no mention
of automatic stiffness updating.
10
11
12
Contact Pressure
Contact Penetration
FKN
Aug Lagrange
0.01
Aug Lagrange
0.1
Aug Lagrange
Aug Lagrange
10
Aug Lagrange
100.0
Norm Lagrange
13
Total Deform
Contact Pressure
Penetration
# of
iterations
N/A
Experiment also with Update Stiffness between iterations @ FKN=100 for comparison.
Which combination offers the best results (in terms of accuracy and # of iterations)?
2013 ANSYS, Inc.
Conclusions
Notice that as stiffness increases, contact penetration decreases while maximum
contact pressure increases. Notice also the general trend toward more iterations
and longer run times leading eventually to convergence troubles at FKN=100.
Note the benefit of using the automatic stiffness updating tool to overcome
convergence trouble at FKN=100.
Note also that regardless of which stiffness value is used, the overall total
displacement of the assembly changes very little. This underscores the need to
know your engineering objectives. If localized contact related results are
unimportant, then the program controlled defaults might be acceptable.
Specifying the right contact stiffness is highly problem dependent .
The correct answer depends on the engineering objectives and is always a
balance between quality (accuracy) and cost (run time).
14
Workshop 3B
Symmetric vs. Asymmetric
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Goal
Use contact to predict pressure profile at spherical interface
between ball and socket.
Socket
Model Description
2D Axisymmetric model of ball and socket joint
Materials:
Ball
Steel on Steel
Contact between parts:
Steps to Follow:
Restore Archive browse for file W3b-Socket.wbpz
Save as
Note: The engineering data, geometry, loads and boundary conditions and
preliminary contact region have already been set up. It remains to redefine the
contact behavior and compare and contrast contact results.
4
Highlight the Engineering Data Cells double click to open and verify the predefined
material properties
Verify that the units are in Metric(Tonne,mm,) system. If not, fix this by clicking on
Utility Menu>Units>Metric(Tonne, mm,..)
Double click (or RMB=>Edit) on the Model Cell to open Mechanical Session
Once inside the Mechanical application, expand each folder in the project tree to
become familiar with the model set up. Confirm material assignments, boundary
conditions, and loads as described on the slide 2.
Highlight the contact region and
modify the specifications as follows:
Type = Frictional
Coefficient = 0.4
Execute a Solve:
10
11
Pressure
Penetration
RMB > Evaluate Results
Recall, this is a symmetric contact region. Hence, there are contact results available on
both the contact and target sides.
Using the Contact Tool, compare and contrast the contact results (status, pressure and
penetration) for Both, Contact and Target
12
Note the differences between the contact and target pressure profiles.
14
Post process the contact results as before. Note that there is now only one answer (on the
contact side) and it is an approximate average of the two results that were available with
the symmetric contact.
(13.466 + 4.2745)/2 = 8.87Mpa
16
Workshop 4A
Metal Plasticity
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Goal:
Define a nonlinear metal plasticity material for a belleville spring geometry and simulate
spring back upon application of and subsequent removal of a displacement load.
Post process stress and strain results
Generate a force vs. deflection curve on the spring.
2D axisymmetric geometry
The spring material is a ductile steel sandwitched between two rigid surfaces.
Frictionless contact is assumed between the spring and the rigid geometries
Belleville spring
Save as
Double click on the Model Cell to open the FE Model (Mechanical Session)
(or RMB=>Edit)
Open the folders beneath the model branch to become familiar with the model set-up.
Review the predefined displacement load on the upper plate for the
three load steps.
10
11
12
13
15
16
17
18
We can now modify the Engineering data in Table B without effecting the model
19
20
21
From the project schematic, highlight and open the model cell in Table B.
All the geometry entities, meshing specs, boundary conditions, loads and analysis
settings are preserved from the previous analysis.
22
23
24
25
26
Workshop 5A
Post Buckling Analysis
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Goal
Use Nonlinear Stabilization tools together with restart technology to simulate
post buckling behavior.
Save as
The frame model is already set up with the displacement boundary conditions and a
force load.
Highlight the BCs and Load to confirm that the model is properly supported and
loaded.
Stabilization = OFF
After a few bisections, the model fails to converge at about 91% of the total load
10
At the point of convergence failure, the structure is beginning to collapse onto itself
and loosing its stability
11
12
Animate results
Over results set
Highlight the last 10% of
displacement
Slow down the animation to
4 seconds per frame to get a
better view of the snap thru
behavior
13
Use the Chart tool and user defined results to graph the nonlinear reaction force vs
displacement in y direction at the point of load application
Re-Solve with more substeps (50 min) to improve the quality of the graph
14
Workshop 6A
Contact Diagnostics
ANSYS Mechanical
Introduction to Structural Nonlinearities
1
Model Description
Save as
The spring assembly is already set up with frictionless contact pairs, a fixed boundary
condition and a displacement load on the rigid component.
Highlight the entities beneath each folder to become familiar with the model and to confirm
that it is properly supported and loaded and ready to solve.
After solution run is complete, highlight the Solution Information folder and scroll to near
the bottom of the output.
The model solves without error.
With 25 initial substeps and Auto Time Stepping turned ON, the contact should
have engaged. In an effort to determine the problem, we will evaluate what the
initial condition of the contact pairs are.
Highlight the Connections Folder: RMB> Insert> Contact Tool
10
The two active pairs both have an initial status of Far Open
Both pairs have a pinball radius of 4mm. Is 4mm enough?
11
By studying a profile of the undeformed geometry we can see that the initial gap is less
then 1.50mm. Hence, the Pinball Radius of 4mm should be sufficient for this contact pair
to be in an initial status of near-open.
Rigid Target
Spring
12
Highlight the contact region representing the contact between the spring and target.
In order for contact to work properly, the contact element normals must be facing
the target element normals.
Recall that surface bodies are meshed with shell elements that have a top and a
bottom face. The reason this contact pair is not working is because the contact
normals are on the wrong side of the surface body with normals that face away
from the target. This needs to be reversed.
Target element
normal direction
Contact element
normal direction
13
From the details window of the contact region, switch the contact shell face from
Bottom to Top . The red color highlighting the contact side should switch.
14
15
From the Solution Information Branch, the contact is now engaging, but the solution fails
to converge after several iterations.
16
These first two converged substeps likely represent the trivial solutions that occur as
the small gap between the two parts is being closed and no contact has been made yet.
This first spike in the Newton-Raphson residual (measure of
imbalance) likely occurs at the point when contact first engages.
From there on out, the solution struggles and fails after two
bisections and many iterations to find a balance.
17
18
19
20
Although this solution is now converged, notice the excessive penetration. This is
because, by default the shell contact detection points are at the midplane of the shells.
By default, contact elements are located at the mid plane of surface bodies, in same
position as the shell elements that represent these bodies.
21
22
23
Workshop 8A
Transient Analysis
(Caster Wheel Test)
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
2012 ANSYS, Inc.
Release 14.5
Workshop 8A - Goals
Our goal is to determine the dynamic
response of a caster wheel exposed to a
side impact such as hitting a curb.
This may be simulated in a physical test by
dropping a heavy Striker Tool on the
side of the wheel.
Striker
Tool
constrained.
Assume the sides of the Striker are constrained
to slide up and down vertical rails.
Assume a damping ratio of 0.02 (i.e. 2%)
Wheel
Constrain End
2012 ANSYS, Inc.
Release 14.5
caster_test2.agdb
Release 14.5
Workshop 8A - Preprocessing
Edit the Model cell to open the Mechanical application.
Release 14.5
Workshop 8A Units
In Mechanical, set the following units system:
m, kg, N, s, V, A
Degrees
RPM
Celcius
Release 14.5
Workshop 8A - Preprocessing
Suppress the upper Striker.
Release 14.5
Workshop 8A - Preprocessing
Define the contact between the bottom of
the Striker Tool and the top Edge of the
Caster Wheel
Release 14.5
Workshop 8A - Environment
Apply constraints on the end of the
bore to oppose loads on the
wheel.
>Insert>Fixed Support
Use Face Select, LMB and pick four
annular surfaces on the bottom of the
axle hole.
Release 14.5
Workshop 8A - Environment
The Striker Tool is guided on rails so it can
only travel up and down when dropped
on the wheel.
>Insert>Frictionless Support
Use LMB and pick all four sides of the Striker
Tool block.
Note: The four sides of the block may consist
of more than four total faces depending on
how the (CAD) geometry was originally
generated.
a Face
a Face
2012 ANSYS, Inc.
Release 14.5
Workshop 8A - Environment
Apply a gravity inertial load
10
Release 14.5
Workshop 8A - Environment
Apply an initial velocity on the Striker.
Use Body Select and pick and >Apply the Striker Part.
Enter 10 m/s for X
initial velocity is assigned to the picked Striker but not the Caster
Wheel
11
Release 14.5
domain
Verify 1 for Number of Steps
Verify 1 for Current Step Number
Verify 0.001 for Step end time
Enter 0.0001 for Initial Time Step
Enter 3e-5 for Minimum Time Step
Enter 2e-4 for Maximum Time Step
12
Release 14.5
Workshop 8A - Results
After the Solution is completed review the results.
Very important in many problems like this
13
Release 14.5
Workshop 8A - Results
To get an overall view of the Dynamic
(transient) results step thru the
TimeLine for each result plot of interest.
14
Release 14.5
Workshop 8B
Transient Analysis of a Gantry Crane
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
2012 ANSYS, Inc.
Release 14.5
Goals
This workshop consists of a gantry crane assembly. The crane is rated
to carry a 5 tons weight. The purpose of this workshop is to compare
the full transient method versus the mode superposition method.
Support # 3
Support # 4
Support # 1
Support # 2
Release 14.5
Assumptions
Well assume supports # 1 to 3 are fixed in all direction, whereas
support # 4 is allowed to move in the x- direction.
A weight of 5 tons (50,000 N) is applied using remote force, and is
scoped to the middle of the horizontal beam.
Release 14.5
Project Schematic
Open the Project page.
From the Units menu verify:
Project units are set to Metric (kg, m, s, C, A,N, V).
Display Values in Project Units is checked (on).
Release 14.5
. . . Project Schematic
Begin a new Workbench session and, from the
Project page, choose Restore Archive . . .
and browse to the file WS08_Transient.wbpz
and Open (location provided by instructor).
When prompted, Save using the default
name in the same location as the archive file.
Release 14.5
. . . Project Schematic
In the Workbench Project and drag and drop a new transient analysis
from the toolbox onto the existing Model cell.
Release 14.5
. . . Project Schematic
In the Workbench Project and drag and drop a new transient analysis
from the toolbox onto the existing Solution cell of the Modal analysis
system.
Release 14.5
. . . Project Schematic
Double click and rename both transient systems as follows:
(B): Full Transient Analysis
(C): MSUP Transient Analysis
Release 14.5
. . . Project Schematic
1. From the Static Structural system double click
(or RMB > Edit) the Model cell.
1.
2.
Release 14.5
Preprocessing
Since we will be using a remote force to model the hanging weight, lets define
a named selection at the location where the remote force will be scoped.
3.
3.
4.
Select the 2 faces shown below, RMB > Insert > named selection.
4.
10
Release 14.5
. . . Preprocessing
RMB and rename both transient systems in the tree as follows:
11
Release 14.5
. . . Preprocessing
7.
8.
9.
Support # 3
Support # 4
Support # 2
12
Release 14.5
. . . Preprocessing
10. Highlight the Full Transient Analysis
(B5) branch, Analysis Settings
13
Release 14.5
. . . Preprocessing
12. Highlight the fixed support and
displacement BCs under Modal (A5,
drag and drop in Full Transient
Analysis (B5)
14
Release 14.5
. . . Preprocessing
12. Under details of Remote Force
a. Scoping Method > Named Selection
b. Named Selection > Selection
X Coordinate = - 0.7135
Y Coordinate = 1.1
Z Coordinate = -4.3905
c. Define By > Components
b.
a.
c.
15
Release 14.5
. . . Preprocessing
d. Y Component> Tabular
e. Fill in the table as shown
e.
d.
16
Release 14.5
. . . Preprocessing
13. Highlight the MSUP Transient Analysis
(C5) branch, Analysis Settings
17
Release 14.5
. . . Preprocessing
14. Highlight the remote force under Full
Transient Analysis (B5), drag and
drop in MSUP Transient Analysis (C5)
18
Release 14.5
. . . Preprocessing
15. Highlight the solution branch under Full
Transient Analysis (B5),
RMB>Insert>Deformation>Directional.
19
Release 14.5
. . . Preprocessing
16. Highlight the Directional Deformation
under Full Transient Analysis (B5),
drag and drop in MSUP Transient
Analysis (C5)
20
Release 14.5
. . . Preprocessing
17. Highlight the both displacement
output
18. Click the New Chart and Table Icon
19. In the Details of the Chart, set the
Output Quantities as shown.
20. Solve
17.
19.
18.
21
Release 14.5
. . . Preprocessing
22
Release 14.5
Workshop 8C
Applying Initial Rotational Velocity
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
2012 ANSYS, Inc.
Release 14.5
Goals
The objective of this workshop is to illustrate the process of applying
initial angular velocity to a wirebond using steps.
Initial angular velocity = 15 rad/sec.
Release 14.5
Project Schematic
Open the Project page.
From the Units menu verify:
Project units are set to Metric (kg, m, s, C, A,N, V).
Display Values in Project Units is checked (on).
Release 14.5
. . . Project Schematic
Begin a new Workbench session and, from the
Project page, choose Restore Archive . . . and
browse to the file W08C_Transient.wbpz and
Open (location provided by instructor).
When prompted, Save using the default name in
the same location as the archive file.
Release 14.5
. . . Project Schematic
1. From the Static Structural system double click
(or RMB > Edit) the Model cell.
1.
2.
Release 14.5
Preprocessing
Since we will be using a remote displacement to apply the angular velocity,
lets define a coordinate system at the origin where the velocity is to be
applied:
3.
4.
Select the cylindrical face shown below, RMB > Insert > coordinate
system.
4.
3.
Release 14.5
. . . Preprocessing
In order to apply an initial angular velocity of 15 rad/sec
Initial angular displacement of 0.0015 rad
The first step end time = 0.001 sec.
Initial velocity of (0.0015/0.001) = 15 rad/sec.
Release 14.5
. . . Preprocessing
5.
Release 14.5
. . . Preprocessing
6.
7.
8.
8.
Release 14.5
. . . Preprocessing
9.
10. At the last cell under RX> RMB> Activate/Deactivate at this step!
10
Release 14.5
Solution
11. Highlight the Analysis Settings and from the details window change
Large Deflection from to ON.
11
Release 14.5
. . .Solution
6.
7.
12
Release 14.5
. . .Solution
14. Solve the model:
Choose solve from the tool bar or RMB Solution branch
and choose Solve.
13
Release 14.5
Postprocessing
14. Highlight the solution branch> Total Deformation
14
Release 14.5
Workshop 2A
Contact Interference Fit
ANSYS Mechanical
Advanced Connections
1
Goal
Use interface treatment tools to simulate an interference fit
between surfaces.
Tip
Model Description
Insulator
Housing
melt
channel
wall
Save as
Note: The engineering data, geometry, loads and boundary conditions for the thermal
and structural runs have already been set up. It remains to specify the contact surface
offset at the tip-housing face seal, run the solution and post process contact results.
Double click (or RMB=>Edit) on the Thermal Model Cell to open Mechanical Session
10
11
Note:
The two bonded contact regions are assigned two contact pairs that act equal and
opposite to each other to enforce the contact. This reflects Symmetric behavior.
The frictionless contact region has only one active pair, reflecting Asymmetric
behavior. The companion frictionless pair (grayed out) is inactive. It is initially in a
Near Open status with a small gap.
The initial penetration at the bonded regions is essentially zero and is ignored by
default.
12
Highlight the Solution Information Folder and switch Solution Output to Force Convergence
13
14
Highlight the Contact Tool and filter out the bonded contact pairs by clicking off the
checkmark in box next to each region
15
Using the Time line in the Graph window, post process the contact pressure for each load
step
Loadstep 1
Loadstep 2
Loadstep 3
50Mpa for LS2 due to thermal differential expansion. It drops back to zero as a result of
melt channel pressure load at LS3.
16
Post process the contact penetrations and gaps for each load step
Note, in particular, the max gap profile (gap =0.049181)at the end of LS3. This interface must
remain closed in order to prevent leakage in operation.
17
18
Recall, prior to defining the 0.050 Offset, the initial gap was
reported as 1.0567e-3 (slide 12).
0.05 - 1.0567e-3 = 4.8943e-2
Hence, the offset has been correctly introduced
19
Highlight the Solution Information Folder and switch Solution Output to Force
Convergence
The Solution takes a few more iterations then the first run, because of the contact offset, but it
still converges relatively easily
20
Because of the initial interference, a maximum pressure concentrated at the melt channel wall of
about 500Mpa is now established and maintained throughout the load history.
21
Note also that when you zoom in on the frictionless contact region, there appears to be a
small gap where we expect an interference.
This is expected as the Offset is a like a rigid region created by a mathematical adjustment to the
Rigid region
22
RMB>Insert>Probe>Force Reaction
In Details of Force Reaction Set..
Location Method = Contact Region
Contact Region = Frictionless- Housing To Nozzle tip
RMB>Evaluate Results
23
24
This peak stress is much higher then the actual yield strength of the tip material.
Localized yielding is expected and will likely reduce the preload.
25
26
In the Details Window, turn Nonlinear Effects ON to include the plasticity effects
27
Execute a SOLVE
The convergence now takes over 20 iterations, up from just 9 when all materials
were considered linear elastic.
28
Notice the dramatic difference in pressure distribution at the seal face as well as the peak value
when compared with same results published with linear materials
29
Post process the preload at the frictionless contact resulting from the interference
fit as before.
Compare the preload and contact pressure results with same results generated
using linear materials. Notice, the change in preload is not nearly as dramatic as
the change in contact pressure. Why?
30
31
Post process equivalent stress and compare to results published for linear materials
32
Workshop 2B
Contact Stabilization
ANSYS Mechanical
Advanced Connections
1
Goal
Resolve rigid body motion convergence issues due to open contact status
Model Description
Plate
Pin
Save as
Double click (or RMB=>Edit) on the Model Cell to open a Mechanical Session
The solution quickly fails. Open the Solver output to discover the reason for non
convergence
Note also the diagnostic message
Basically the contact failed and the plate flew off until the Uy DOF exceeded the default
limit of 1e6.
10
11
12
13
14
15
Note also the reaction force at the pin has increased by less then 0.2 % due to the
presence of additional damping forces being added at this interface
- Compare this number to the applied load 5080N (=100Mpa*50.8mm2)
16
Workshop 2C
Contact with Friction
ANSYS Mechanical
Advanced Connections
1
Goal
seal).
Run 2 load step analysis to simulate assembly of the three parts
together.
Post Process force along axis to assembly parts.
Piston
O-ring
Model Description
2D Axisymmetric
Piston is constrained from movement.
Cylinder is displaced to simulate assembly
Materials:
Steel for Piston and Cylinder
Elastomer for O-Ring
1st load reconciles interference between piston and inside
diameter of O-ring
2nd load step slides cylinder onto piston-O-ring subassembly.
2013 ANSYS, Inc.
Cylinder
Save as
Double click (or RMB=>Edit) on the Model Cell to open a Mechanical Session
Once inside the Mechanical application, verify the working unit system
Note: Auto contact detection did not create adequate contact relationships for this
model. There is only one bonded contact pair created by default and it is insufficient for
representing the assembly.
Ramped Effects
Normal Stiffness = 0.1
Updated stiffness each iteration
target
Insert an additional manual contact region between O-ring and Cylinder wall by
highlighting Contact branch and RMB>Insert>Manual Contact.
Defined this new region with specifications below.
Contact
Target
Highlight Analysis Settings and specify two load steps with different Auto Time Stepping
10
11
12
Change the contour bar to clarify the deformation of the O-ring geometry
Animate the result
13
Insert and post process contact status, pressure, frictional stress and penetration for O-ring To
Piston Contact
Workshop 1A
Connection Worksheet
ANSYS Mechanical
Advanced Connections
1
Goal
Use Connection Worksheet together with Redundancy Analysis tool to evaluate
and resolve an overconstrained condition
Model Description
Assembly of 12 parts with many
contacts and joints, one longitudinal
spring and one beam element.
Materials:
Linear structural steel
Steps to Follow:
Launch a WB-Mechanical Session.
From the Project page, Utility Menu=> File=> Restore Archive browse for file
W1a_Connection.wbpz
Save as
Double click (or RMB=>Edit) on the Model Cell to open Mechanical Session
Open the Solver Output, scrolling up to find several messages indicating that the
Lagrange Multiplier Option does not satisfy Joint Conditions .
With Connections Folder highlighted, click on Worksheet button in the Utility Menu
Taking the default Preferences, click Generate
10
From the Contact Information Table, all of the contact regions are Bonded, Face-toFace, with program controlled default specifications with the exception of Contact
Region 7, which is an MPC pair that has been suppressed.
11
Scroll down to the Connection Matrix. Note there are multiple connections involving
parts 1,4,5 and 11
12
This brings up a table below the graphics window that lists all the constrained DOFs
associated with the Joints.
Click on the yellow lightning bolt to run the Redundancy Analysis
13
14
Clicking on the Set button will apply these changes to the actual joint definitions in
the model
Verify the changes made by examining the expanded Joint Folder, compare with the
original settings (see slide 7)
15
16
17
Workshop 4A
Hyperelastic Curve Fitting
ANSYS Mechanical
Advanced Nonlinear Materials
1
Goal
Use curve-fitting tool to create a hyperelastic material model from test data.
Analyze 3d tensile rubber test specimen
Plot and graph results
Model Description
Steps to Follow:
Restore Archive browse for file WS4A-hyper.wbpz
Save as
Open the folders beneath the model branch to become familiar with the model set-up.
From the Toolbox, expand the Experimental Stress Strain Data Folder
Highlight Uniaxial Test Data, RMB>Include Property
Repeat for:
Biaxial Test Data
Shear Test Data
10
Note:
The question mark next to
each cell indicates that no
data has been read in yet
c
Click to edit Master text styles
11
12
The Table of Properties should now display the Uniaxial Test Data in tabular form.
The Chart should display of the data in graphical form.
13
Repeat procedure for biaxial test data and shear test data using excel files tensioneb.xls and tension-pt.xls respectively.
14
From the Toolbox, open the Hyperelasticity Folder and highlight Yeoh 3rd Order with
RMB> Include Property.
You should now see a Yeoh 3rd order cell in the Properties Dialogue box with undefined
constants; hence, the question mark.
15
16
When complete, the Engineering Data Chart will display all three modes of test
data in dot-dash lines. Superimposed on this is the predicted Yeoh behavior in
solid lines for comparison.
Note: The Coefficients have been calculated, but no material model has been saved to the
Engineering Data yet. This is by design. If you are not satisfied with the resulting curve fit,
you can try other functions, or perhaps suppress a less dominate mode of loading and rerun
the curve fitting routine for a better result.
17
Change the Error Norm from Normalized Error to Absolute Error and run the curve
fitting routine again.
Recall the normalized error approach gives equal weight to all data points while the absolute
error approach gives more weight to larger strain values.
This results in a slightly improved curve fit at higher strain values.
18
Once a successful curve fit is achieved, copy the data to the Engineering properties
Highlight Curve Fitting RMB> Copy Calculated Values to Property
The Yeoh coefficients are now copied to the Properties Table. Notice the D parameters are all
zero. This is in keeping with the assumption that the material will be fully incompressible if no
volumetric strain data is read into the curve fitter.
19
20
Return to the Mechanical Session and specify Analysis Settings as shown below:
21
22
23
Select Vertex as shown and insert User defined results to post process stress
and strain along x direction
Vertex for user defined post processing
24
Add chart tool and insert EPELX and SX user defined results as objects for
plotting stress vs strain as shown below.
25
26
27
28
29
Main Menu > Preprocessor > Material Props > Material Models
Structural > Nonlinear > Elastic > Hyperelasticity > Curve Fitting
30
/PREP7
TBFT,EADD,1,UNIA,NR_23C_ST_SCL_1_SEG38
Notes:
The first set of test data requested is uniaxial
tension data. This should be in the format of
engineering strain vs. engineering stress in a
space- or tab-delimited text file.
31
TBFT,EADD,1,BIAX,NR_23C_EB_SCL_1_SEG38
TBFT,EADD,1,SHEA,NR_23C_PT_SCL_1_SEG38
Notes:
For this example, volumetric test data is not used and
incompressibility will be assumed.
32
33
34
35
TBFT,PLOT,1,UNIA,HYPER,YEOH,3
TBFT,PLOT,1,BIAX,HYPER,YEOH,3
TBFT,PLOT,1,SHEA,HYPER,YEOH,3
TBFT,FSET,1,HYPER,YEOH,3
Notes:
For this workshop, the uniaxial mode of
deformation is most important, so the curve-fit
would have matched much better if we used only
uniaxial data. However, since most products do
not experience a uniaxial state of stress, we used
all three modes of deformation. Doing so results
in a less-than-perfect match for a particular mode
of deformation but still can capture all three
states of stress generally well.
36
Workshop 3A
Stress Relaxation
ANSYS Mechanical
Advanced Nonlinear Materials
1
Goal
Predict rate dependent stress relaxation of structure using an implicit time hardening
creep model.
Model Description
C-Clamp assembly consisting of a 3D solid
body meshed with tetrahedral elements to
represent the clamp and a line body
meshed with beam elements to represent
the bolt
C-Clamp
Materials:
clamp
High strength rate independent steel for
bolt
Bolt
C 2 C3 +1 C 4 /T
C1 t e
cr =
(C3 + 1)
Load specifications:
10,000N bolt pretension loading for 150 seconds
Save as
From this Schematic, you can see that Engineering (material) Data
and Geometry have already been defined (green check marks).
Double click on the Model Cell to open the FE Model (Mechanical Session) (or
RMB=>Edit)
Once inside the Mechanical application, verify the working unit system
Expand Geometry branch and note the two different body types (solid body for the clamp, line
Highlight the Solid body representing the clamp and change material assignment to the
Creep model
10
Highlight the Analysis Settings branch, set number of load steps to 2 and define the
Solution Control specifications as shown for each load step.
Note:
LS1 establishes the static stress state in one substep at time zero (=1e-006 s) with the Creep Effects
11
turned Off.
LS2 activates the creep calculation (end time =150 s) over several substeps, allowing bisections
if/when creep strain exceeds 10 times the elastic strain.
12
13
Workshop 2
Analyzing a Beam &
Shell Model with Command
Objects
WS2-1
June 2009
Inventory #002669
Workshop 2
Introduction
Training Manual
WS2-2
June 2009
Inventory #002669
Workshop 2
Workshop Objectives
Training Manual
WS2-3
June 2009
Inventory #002669
Workshop 2
Training Manual
Windows Start menu > Programs > ANSYS 12.0 > Workbench
WS2-4
June 2009
Inventory #002669
Workshop 2
Training Manual
Review the model setup. Notice that the model is a multibody part of
surface and line bodies. There are two Steps for the analysis
WS2-5
June 2009
Inventory #002669
Workshop 2
Training Manual
Check the two result sets by selecting the desired Step in the Graph or
Tabular Data sections and right-click to Evaluate This Result
WS2-6
June 2009
Inventory #002669
Workshop 2
Training Manual
Although there are two Steps in this model, because the analysis is
linear, these two Steps are independent
The first Step has gravity and temperature loading
The second Step includes pressure loading
The next set of instructions will demonstrate reviewing the mesh and
results in Mechanical APDL. Do not worry too much about the
details, as many of these points will be discussed again.
WS2-7
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-8
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-9
June 2009
Inventory #002669
Workshop 2
Training Manual
4. In Mechanical APDL, from the Utility menu, select File > Resume
Jobname.db
WS2-10
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-11
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-12
June 2009
Inventory #002669
Workshop 2
Training Manual
The ANSYS Help system will appear with details of this element type
When finished reviewing the Help manual, use File > Close to close
the Help window. Then click on [Cancel] and [Close] to close the two
dialog boxes.
WS2-13
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-14
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-15
June 2009
Inventory #002669
Workshop 2
Training Manual
In the dialog box, set Elem / Attrib numbering to Element type num
Change [/NUM] Numbering shown with to Colors only
Click on [OK]
WS2-16
June 2009
Inventory #002669
Workshop 2
Training Manual
Hold down the Ctrl key and use the right mouse button to change the
view. Note that the location clicked will serve as the rotation center
Use Ctrl + left mouse button to pan the model
Notice that the parts are differentiated by color
WS2-17
June 2009
Inventory #002669
Workshop 2
Training Manual
One may notice that the outside has different colors, but the inside
may be the same color. This brings up two points:
For each part in Mechanical, a unique element type ID will be generated
for the Mechanical APDL model
Pressures are applied with surface effect elements
WS2-18
June 2009
Inventory #002669
Workshop 2
Training Manual
WS2-19
June 2009
Inventory #002669
Workshop 2
Training Manual
Not only are there elements that represent the physical structure, but
there are also special elements that are for loading purposes only
Structural and thermal surface effect elements exist to allow users to
apply complex loading on surfaces.
Contact elements are similar they do not represent the physical
structure but are meant to define interaction between parts
WS2-20
June 2009
Inventory #002669
Workshop 2
Training Manual
Equivalent APDL
commands that can
be typed in the
Command Prompt:
ESEL,S,TYPE,,73
/REPLOT
WS2-21
June 2009
Inventory #002669
Workshop 2
Training Manual
When the previous steps are performed, now only the orange
elements will be shown on the Graphics window:
Notice in the Output Window that a subset of elements are selected
The Output Window always gives text feedback after an action is
performed, so it is a good idea to always refer to the Output Window to
see if a command has been successfully executed.
WS2-22
June 2009
Inventory #002669
Workshop 2
Training Manual
ESEL,S,TYPE,,73
WS2-23
June 2009
Inventory #002669
Workshop 2
Examining Loads
Training Manual
7. To list the applied pressures, use Utility menu > List > Loads >
Surface > On All Elements
WS2-24
June 2009
Inventory #002669
Workshop 2
Examining Loads
Training Manual
WS2-25
June 2009
Inventory #002669
Workshop 2
Examining Loads
Training Manual
WS2-26
June 2009
Inventory #002669
Workshop 2
Examining Loads
Training Manual
One may have noticed from the listing of the pressures that the
numeric value is initially not shown:
Loads are represented with tables, so the temporal and spatial variation
can be captured (e.g., pressure as a function of time)
When listing or plotting pressures in the Mechanical APDL Preprocessor
or Solution processor, the table name (in this case, _LOADVARI53) is
shown. As will be discussed later, we can list or modify the contents of
this table.
When listing or plotting pressures in the Mechanical APDL
Postprocessor, the actual numeric value is shown (e.g., if postprocessing
results at time=1 second, the pressure evaluated at time=1 second will be
listed or displayed)
WS2-27
June 2009
Inventory #002669
Workshop 2
Examining Loads
Training Manual
9. Select Main menu > General Postproc > Read Results > Last Set
APDL commands:
/POST1
SET,LAST
10. Utility menu > List > Loads > Surface > On All Elements
APDL command:
SFELIST
WS2-28
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
1. Reselect all elements by using Utility menu > Select > Everything
WS2-29
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
Select Element Solution > Stress > von Mises stress and click [OK]
APDL command is PLESOL,S,EQV
WS2-30
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
WS2-31
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
WS2-32
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
4. Use Utility menu > PlotCtrls > Hard Copy > To File.. to save the
graphics snapshot to an image file
WS2-33
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
5. To see the beam and shell elements with their cross-section shown,
use Utility menu > PlotCtrls > Style > Size and Shape
WS2-34
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
The resulting plot will look similar to below, where beam and shell
elements are shown as 3D elements
WS2-35
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
WS2-36
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
6. Display the element plot with Utility menu > Plot > Elements
Change On Entities:
to Elements
Click on the element
shown on the right.
(It does not have to be
exact. Also, click and
hold down the left mouse
button, drag the mouse,
then when the desired
element is highlighted,
let go of the left mouse
button.)
Click on [OK]
WS2-37
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
WS2-38
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
8. Use Utility menu > Select > Entities to select element type ID 33
WS2-39
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
9. Display the element coordinate system via Utility menu > PlotCtrls
> Symbols
WS2-40
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
Each element will now display its element coordinate system. This is
important for orthotropic or anisotropic materials, where different
material directions may have different material behavior. Also,
postprocessing can be done in the element coordinate system, too.
The black (or white) axis is the element x-axis
The green-yellow axis is the element y-axis
The blue axis is the element z-axis
Colors are the same as the
global coordinate system
axis colors (Right-click and Fit
the view to see the global triad)
In Mechanical, the default
element coordinate system
can be set under the Details
view for each part, under the
Geometry branch
WS2-41
June 2009
Inventory #002669
Workshop 2
Postprocessing Results
Training Manual
10. Use Utility menu > File > Exit .. to exit Mechanical APDL
11. Exit ANSYS Workbench. You do not need to save the Workbench
project.
WS2-42
June 2009
Inventory #002669
Workshop 2
Summary
Training Manual
WS2-43
June 2009
Inventory #002669
Workshop 6
Solving a Piezoelectric
Problem with Commands
Objects
WS6-1
June 2009
Inventory #002669
Workshop 6
Overview
Training Manual
WS6-2
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-3
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-4
June 2009
Inventory #002669
Workshop 6
Workshop Objectives
Training Manual
WS6-5
June 2009
Inventory #002669
Workshop 6
Training Manual
Windows Start menu > Programs > ANSYS 12.0 > Workbench
WS6-6
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-7
June 2009
Inventory #002669
Workshop 6
Training Manual
5. Change the unit system to MKS by selecting Units menu > Metric
(m, kg, N, s, V, A)
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
WS6-8
June 2009
Inventory #002669
Workshop 6
Training Manual
Notice that the Coordinate System has already been defined. Piezo
ceramics have a polarization direction, so the element coordinate
system is important in specifying the correct orthotropic properties
WS6-9
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-10
June 2009
Inventory #002669
Workshop 6
Training Manual
As with any other situation, when switching element types with the ET
command, ensure that both element types are compatible. In the present
case, the ceramic parts are swept-meshed with 20-node bricks, which
would result in SOLID186 element type. Since SOLID226 is also a 20node brick, they are compatible. If this part were meshed with 10-node
tetrahedra, one would use SOLID227 instead.
See the Elements Reference for additional inforation on SOLID226.
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
WS6-11
June 2009
Inventory #002669
Workshop 6
Training Manual
The capability to input the piezoelectric strain matrix [d] is also available
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
WS6-12
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-13
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-14
June 2009
Inventory #002669
Workshop 6
Training Manual
10. Click on the Solve icon in the Toolbar to initiate the solution
11. When the solution is done, select the Solution branch. In the
Tabular Data view, highlight all cells, right-click, and select
Create Mode Shape Results
WS6-15
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
WS6-16
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
Consider the two modes below. The mode on left is at 15.7 kHz while
the mode on the right is at 17.9 kHz.
The displacement at the end of the horn is more uniform for the 17.9 kHz
mode, which may be a more desirable effect for this case.
Assuming that the operation of the device will excite the 17.9 kHz
mode, the next steps will involve performing a harmonic response
analysis
June 2009
Inventory #002669
Workshop 6
Training Manual
1. Close Mechanical
2. In the Workbench Project Schematic, drag-and-drop a Harmonic
Response (ANSYS) analysis system onto the Model cell (B4)
WS6-18
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-19
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-20
June 2009
Inventory #002669
Workshop 6
Training Manual
The first command applies a voltage of zero (ground) to the nodes in the
Named Selection neg while the second command applies a voltage of
700 (peak) to the nodes in the Named Selection pos
WS6-21
June 2009
Inventory #002669
Workshop 6
Training Manual
WS6-22
June 2009
Inventory #002669
Workshop 6
Request Results
Training Manual
WS6-23
June 2009
Inventory #002669
Workshop 6
Request Results
Training Manual
WS6-24
June 2009
Inventory #002669
Workshop 6
Training Manual
10. Solve the model by clicking on the Solve icon in the Toolbar
Determine speed of sound in the material (e.g., steel ~5000 m/s). This is
obtained by calculating the bulk modulus from the elastic modulus and
Poissons ratio, then using c = sqrt(K/
)
The wavelength is =c/f. For 20 kHz, the wavelength in steel is 0.25 m.
The number of elements per wavelength should be around 10-20.
An element size of 10 mm is sufficient for the above purposes. However, if
the frequency gets higher, one can see that the mesh density must be smaller
in order to capture high-frequency response.
WS6-25
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
WS6-26
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
Note that one can control the automatic scaling to a lower value
13. In the Details view, change the phase angle to 90 and compare
results
Phase Angle 0
ANSYS, Inc. Proprietary
2009 ANSYS, Inc. All rights reserved.
Phase Angle 90
WS6-27
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
14. Select the Solution branch. With the Vertex selection filter, select
the same vertex in the middle (corner for symmetry) of the end of
the horn.
WS6-28
June 2009
Inventory #002669
Workshop 6
Review Results
Training Manual
WS6-29
June 2009
Inventory #002669