ANSYS Mechanical APDL Introductory Tutorials
ANSYS Mechanical APDL Introductory Tutorials
ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Introductory Tutorials
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Introductory Tutorials
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. v
Introductory Tutorials
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
vi of ANSYS, Inc. and its subsidiaries and affiliates.
Welcome to the Mechanical APDL Introductory
Tutorials
The Mechanical APDL Introductory Tutorials provide an introduction to the extensive capabilities of the
Mechanical APDL family of products. Each tutorial is a complete step-by-step analysis procedure. You
can choose from several analysis disciplines. The tutorials are designed to be run interactively, on the
same screen as the program. Included are full color graphics and animations that are exact replicas of
what appear at several points within the steps of the tutorials. A glossary of terms is also included that
you can view as a stand-alone document with an alphabetical listing of the terms, or you can view the
definition of terms on demand by simply clicking on linked terms within the context of the tutorials.
Before you begin a tutorial, read Start Here (p. 1) for recommendations on preparing your screen for
displaying the tutorial window on the same screen as the program, as well as descriptions of the formats
and conventions used in the tutorials.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. vii
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
viii of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Start Here
• About These Tutorials (p. 1)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Start Here
The tutorial window containing the tabs was removed by clicking the Undock button (large button
located furthest to the right), then minimizing the tabbed window.
The tutorial window is moved to the right side of the screen, and the Mechanical APDL window is
reduced horizontally to accommodate the tutorial window. Use this layout as an example and adjust
your own display, based on the size of your monitor.
If a Mechanical APDL dialog box appears on top of either a tutorial or the Mechanical APDL window,
move it anywhere on the screen by dragging the window header.
1.1.2.1. Tasks
A task contain the specific actions needed to complete the task. Example tasks include "Add areas,"
"Define material properties," "Mesh the area," and "Plot the deformed shape." A typical tutorial re-
quires approximately 20 tasks, with the number varying according to analysis complexity.
1.1.2.2. Actions
For each task, individually numbered actions guide you through the task.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
About These Tutorials
A menu path is typically one of the first action within a task. An example of a menu path action is:
A menu path represents the complete location of a particular function in the Graphical User Interface
(GUI). The first part of the path (Main Menu) determines where the function is found. It is usually
either the Main Menu or the Utility Menu. Go to that region to perform the function. The remaining
part of the path lists the menu topics that you select with the mouse.
Actions presented after a menu path either guide you through completing a dialog box, or show
you how to pick graphical locations (p. 3).
For completing a dialog box, some actions are followed by a red arrow ( ) indicating that a small
picture of the dialog box is available if you scroll to the right. The picture includes large red numbers,
each referencing the corresponding action. (The numbers are positioned in the dialog box at the
locations where you are to perform the actions (button, box, drop-down list, etc.). )
• Items that you need to fill in reproduce the wording in the dialog boxes and are in quotes, followed
by an equal sign, then the value you should enter. Example:
4. [Pick All]
• Actions, locations, or any other items that may not be obvious are enclosed in parentheses before
or after GUI wording in quotes. Examples:
2. (double-click) “Structural”
5. (drop down) “Action”
7. “Scaler Tet 98” (right column)
Here, red numbers are displayed on the picture at the locations where you are to pick. The red
number is a cross-reference to the action.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Start Here
When applicable, you will be instructed to set preferences (p. 7) for the tutorial analysis. Setting a
preference for a given engineering discipline instructs Mechanical APDL to display only those menu
options that apply to the specified discipline. (If you do not set preferences, menu options for all
disciplines appear, but non-applicable options are dimmed based on the element types used in the
model.)
Set preferences at or near the beginning of an analysis. (Most of the tutorials include this step before
the model is meshed.) You can set a preference by selecting:
then checking the box associated with the desired engineering discipline, and selecting OK.
After successfully performing the Structural tutorial, feel free to try any of the others in any order.
You can select a problem that demonstrates the Mechanical APDL features in your discipline, but all
introductory tutorials demonstrate universal Mechanical APDL analysis techniques in some way. You
can learn something from every tutorial.
You can access a tutorial via the Table of Contents or by clicking on the name of the tutorial in the
following list:
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Glossary
1.2. Glossary
Analysis Options Typical analysis options are the method of solution, stress stiffening on
or off, and Newton-Raphson options for nonlinearities.
Analysis Type Any of seven analysis types offered in Mechanical APDL: static, modal,
harmonic, transient, spectrum, eigenvalue buckling, and substructuring.
Whether the problem is linear or nonlinear will be identified here.
Applicable Products Indicates which Mechanical APDL licenses can be used to run the example
problem. Applicable products are determined by the discipline and
complexity of the problem. Possibilities include: ANSYS Multiphysics,
ANSYS Mechanical, ANSYS Professional, ANSYS Structural, ANSYS Emag,
ANSYS PrepPost.
Element Options Many element types also have additional element options to specify such
things as element behavior and assumptions, element results printout
options, etc.
Element Types Used Indicates the element types used in the problem; over 100 element types
are available in Mechanical APDL. You select an element type which
characterizes, among other things, the degree-of-freedom set (displace-
ments and/or rotations, temperatures, etc.) the characteristic shape of
the element (line, quadrilateral, brick, etc.), whether the element lies in
2-D space or 3-D space, the response of your system, and the accuracy
level you're interested in.
Features Demonstrated Lists the noteworthy Mechanical APDL features demonstrated in the
problem.
Gaussian Distribution The Gaussian or normal distribution is a very fundamental and commonly
used distribution for statistical matters. It is typically used to describe
the scatter of the measurement data of many physical phenomena. Strictly
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Start Here
You provide values for the mean value μ and the standard deviation
σ of the random variable x.
fX(x)
µ
x
Help Resources Information in the Mechanical APDL help system that is relevant to the
overall topics covered in a particular tutorial.
Interactive Time Required This is an approximate range, in minutes, for you to complete the inter-
active step-by-step solution. Of course the amount of time it takes you
to perform the problem depends on the computer system you use, the
amount of network "traffic" on it, the working pace that is comfortable
for you, and so on.
Jobname The file name prefix used for all files generated in an analysis. All files
are named Jobname.ext, where ext is a unique Mechanical APDL extension
that identifies the contents of the file. The jobname specified in the
launcher when you start Mechanical APDL is called the initial jobname.
You can always change the jobname within a Mechanical APDL session.
Level of Difficulty Three levels are offered: easy, moderate, and advanced. Although the
"advanced" problems are still easy to follow using the interactive step-
by-step solution, they include features that are typically thought of as
advanced Mechanical APDL capabilities, such as nonlinearities, macros,
or advanced postprocessing.
Lognormal Distribution The lognormal distribution is a basic and commonly used distribution. It
is typically used to describe the scatter of the measurement data of
physical phenomena, where the logarithm of the data would follow a
normal distribution. The lognormal distribution is very suitable for phe-
nomena that arise from the multiplication of a large number of error ef-
fects. It is also correct to use the lognormal distribution for a random
variable that is the result of multiplying two or more random effects (if
the effects that get multiplied are also lognormally distributed).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Glossary
may have multiple material property sets (to correspond with multiple
materials) within one analysis. Each set is given a reference number.
Plane Stress A state of stress in which the normal stress and the shear stresses directed
perpendicular to the plane are assumed to be zero.
Postprocessing Mechanical APDL analysis phase where you review the results of the
analysis through graphics displays and tabular listings. The general
postprocessor (POST1) is used to review results at one substep (time
step) over the entire model. The time-history postprocessor (POST26) is
used to review results at specific points in the model over all time steps.
Preferences The Preferences dialog box allows you to select the desired engineering
discipline for context filtering of menu choices. By default, menu choices
for all disciplines are shown, with non-applicable choices dimmed based
on a set of element types in your model. If you prefer not to see the
dimmed choices at all, you should turn on filtering.
Preprocessing Mechanical APDL analysis phase where you provide data such as the
geometry, materials, and element types to the program.
Real Constants Provide additional geometry information for element types whose geo-
metry is not fully defined by its node locations. Typical real constants
include shell thicknesses for shell elements and cross-sectional properties
for beam elements. All properties required as input for a particular ele-
ment type are entered as one set of real constants.
Solution Mechanical APDL analysis phase where you define analysis type and op-
tions, apply loads and load options, and initiate the finite element solu-
tion. A new, static analysis is the default.
Uniform Distribution The uniform distribution is fundamental for cases where no other inform-
ation apart from a lower and an upper limit exists. It is useful to describe
geometric tolerances. It can also be used in cases where no evidence
exists that any value of the random variable is more likely than any other
within a certain interval.
You provide the lower and the upper limit xmin and xmax of the ran-
dom variable x.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Start Here
fX(x)
xmin xmax
Working Plane (WP) An imaginary plane with an origin, a 2-D coordinate system (either
Cartesian or Polar), a snap increment, and a display grid. It is used to
locate solid model entities. By default, the working plane is a Cartesian
plane located at the global origin.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Structural Tutorial
Static Analysis of a Corner Bracket
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Structural Tutorial
2.1.2.1. Given
The dimensions of the corner bracket are shown in the accompanying figure. The bracket is made
of A36 steel with a Young’s modulus of 30E6 psi and Poisson’s ratio of .27.
Your approach is to use solid modeling to generate the 2-D model and automatically mesh it with
nodes and elements. (An alternative approach is to create the nodes and elements directly.)
Build Geometry
1. Define rectangles. (p. 12)
3. Change working plane to polar and create first circle. (p. 13)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
10. Move working plane and create second pin hole. (p. 19)
Define Materials
13. Set Preferences. (p. 20)
Generate Mesh
17. Mesh the area. (p. 22)
Apply Loads
19. Apply displacement constraints. (p. 23)
Obtain Solution
21. Solve. (p. 25)
Review Results
22. Enter the general postprocessor and read in the results. (p. 25)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Structural Tutorial
Select an arbitrary global origin location, then define the rectangle and circle primitives relative to
that origin. For this analysis, use the center of the upper-left hole. Begin by defining a rectangle
relative to that location.
X1 = 0
X2 = 6
Y1 = -1
Y2 = 1
X1 = 4
X2 = 6
Y1 = -1
Y2 = -3
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
performs a replot upon execution of the dialog box. The replot operation repeats the last plotting
operation that occurred (in this case, an area plot).
Save the work you have done thus far. The program
stores any input data in memory to the Mechanical
APDL database. To save the database to a file, use
the SAVE operation, available as a tool on the
Toolbar.
4. Toolbar: SAVE_DB.
2.1.3.3. Step 3: Change working plane to polar and create first circle.
Create the half circle at each end of the bracket. You will actually create a full circle on each end
and then combine the circles and rectangles with a Boolean (p. 5) add operation (discussed in
step 5). To create the circles, you will use and display the working plane (p. 8) (WP).
Before you begin, use the Pan-Zoom-Rotate graphics-control tool to zoom out within the Graphics
Window to see more of the circles as you create them.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Structural Tutorial
6. Click on Polar.
WP X = 0 (in
Graphics Window
shown below)
WP Y = 0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
While positioning the cursor for picking, the dynamic WP X and Y values are displayed in the Solid
Circular Area dialog.
As an alternative to picking, you can type the values along with the radius into the appropriate
fields.
WP X = 0
WP Y = 0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Structural Tutorial
9. Toolbar: SAVE_DB.
3. Toolbar: SAVE_DB.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Structural Tutorial
3. Toolbar: SAVE_DB.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
WP Y = 0
4. Move mouse to radius of .4 (shown in the picking menu) and click left button to create circle.
2.1.3.10. Step 10: Move working plane and create second pin hole.
1. Utility Menu> WorkPlane> Offset WP to> Global Origin
WP Y = 0
4. Move mouse to radius of .4 (shown in the picking menu) and click left mouse button to create circle.
It appears that one of the pin-hole areas is missing; however, it is there (indicated by the presence
of its lines). You cannot see it in the final display because the bracket area is drawn on top of
it. An easy way to see all areas is to plot the lines instead.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Structural Tutorial
9. Toolbar: SAVE_DB.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
6. Material> Exit
A higher-order element enables you to have a coarser mesh than with lower-order elements while
still maintaining solution accuracy. Also, Mechanical APDL generates some triangle-shaped elements
in the mesh that would otherwise be inaccurate when using used lower-order elements.
Specify plane stress with thickness as an option for PLANE183. (Thickness is defined as a real constant
in Step 16: Define real constants. (p. 22).)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Structural Tutorial
3. OK for PLANE183.
3. Type in 0.5.
4. OK.
6. Click on Mesh.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
Your mesh may vary slightly from the mesh shown. You may see slightly different results during
postprocessing. For a discussion of results accuracy, see Planning Your Approach.
A new, static analysis is the default, so specifying an analysis type for this problem is unnecessary.
Also, no analysis options (p. 5) exist for this problem.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Structural Tutorial
8. Toolbar: SAVE_DB.
When a circle is created in Mechanical APDL, four lines define the perimeter; therefore, apply the
pressure to two lines making up the lower half of the circle. Because the pressure tapers from a
maximum value (500 psi) at the bottom of the circle to a minimum value (50 psi) at the sides, apply
pressure in two separate steps, with reverse tapering values for each line.
The Mechanical APDL convention for pressure loading is that a positive load value represents pressure
into the surface (compressive).
3. Apply.
6. Apply.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
8. Apply.
11. OK.
Mechanical APDL stores the results of this single-load-step problem in the database and in the
results file, Jobname.RST (or Jobname.RTH for thermal, Jobname.RMG for magnetic). The database
can contain only one set of results at any given time, so in a multiple-load-step or multiple-substep
analysis, Mechanical APDL stores only the final solution in the database.
The results you see may vary slightly from what is shown due to variations in the mesh.
2.1.8.1. Step 22: Enter the general postprocessor and read in the results.
1. Main Menu> General Postproc> Read Results> First Set
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Structural Tutorial
3. OK.
6. OK.
4. OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Static Analysis of a Corner Bracket
8. OK.
The values shown are representative and may vary from the values that you obtain.
Many other options are available for reviewing results in the general postprocessor. You will see
some other options in other tutorials.
You have finished the analysis. Exit the program in the next step.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Structural Tutorial
• Save geometry, loads, and solution data (one set of results only).
• Save geometry, loads, solution data, and postprocessing data (save everything).
• Save nothing.
You can save nothing here, but use one of the other save options if you want to keep your data
files.
1. Toolbar: Quit.
3. OK.
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Thermal Tutorial
Solidification of a Casting
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Thermal Tutorial
Objective: Track the temperature distribution in the steel casting and mold during solidification.
3.1.2.1. Given
Material Properties for Sand
Conductivity (KXX) 0.025 Btu/(hr-in-oF)
Density (DENS) 0.054 lb/in3
Specific heat (C) 0.28 Btu/(lb-oF)
Initial Conditions
Temperature of steel 2875 oF
Temperature of sand 80 oF
Convection Properties
Film coefficient 0.014 Btu/(hr-in2-oF)
Ambient temperature 80 oF
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
The mold material (sand) has constant material properties. The casting (steel) has temperature-de-
pendent thermal conductivity and enthalpy; both are input in a table of values versus temperature.
The enthalpy property table captures the latent heat capacity of the metal as it solidifies. Radiation
effects are ignored.
Solution control is used to establish several nonlinear options, including automatic time stepping.
Automatic time stepping determines the proper time step increments needed to converge the
phase change nonlinearity. This means that smaller time step sizes will be used during the transition
from molten metal to solid state.
Input Geometry
2. Read in the geometry of the casting. (p. 32)
Define Materials
3. Define material properties. (p. 33)
Generate Mesh
6. Mesh the model. (p. 35)
Apply Loads
7. Apply convection loads on the exposed boundary lines. (p. 37)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Thermal Tutorial
Obtain Solution
8. Define analysis type. (p. 38)
11. Set time, time step size, and related parameters. (p. 40)
Review Results
14. Enter the time-history postprocessor and define variables. (p. 41)
3. [OK]
2. File name: casting.inp (Click the link to download the file in .zip format.)
3. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
3. “KXX” = 0.025
4. [OK]
6. “C” = 0.28
7. [OK]
8. (double-click) “Density”
9. “DENS” = 0.54
10. [OK]
The metal casting is defined as material number 2. These properties change significantly as the
metal cools down from the liquid phase to the solid phase. They are therefore entered in a table
of properties versus temperature.
13. [OK]
15. [Add Temperature] three times to create fields for the four temperatures.
16. “T1” = 0
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Thermal Tutorial
Copy the four temperatures so that you can paste them into the Enthalpy dialog box.
24. Select the temperatures by holding the left mouse button and dragging across the temperature row
so that the row is highlighted.
26. [OK]
28. [Add Temperature] three times to create fields for the four temperatures.
29. Paste the temperatures into the dialog box by highlighting the T1 temperature field, and pressing
Ctrl+V.
34. [OK]
2. [Graph]
3. [OK]
5. [Graph]
6. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
7. Material> Exit
8. Toolbar: SAVE_DB
2. [Add ...]
5. [OK]
6. [Close]
7. Toolbar: SAVE_DB
Specify a SmartSize of 4. This will allow a slightly finer mesh than the default.
5. [Mesh]
Mesh the mold area first. Note that the material attribute reference number defaults to 1 and
there is no need to set attributes before meshing the area.
6. Pick the mold area A5. (Hint: Place the mouse cursor on top of the A5 label when you pick—this is the
picking "hot spot," based on the centroid of the area.)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Thermal Tutorial
7. [OK]
Before meshing the casting area, set the material attribute to that of steel (material 2).
10. [OK]
14. [OK]
Note: The mesh you obtain may vary slightly from the mesh shown here. As a result of this, you
may see slightly different results during postprocessing. For a discussion of results accuracy,
see Planning Your Approach in the Modeling and Meshing Guide.
To verify that the elements have the right materials, plot them with different colors for different
materials.
19. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
Note: the elements of material 1 form the sand mold. The elements of material 2 form the steel
casting. You can also plot the elements showing materials in different colors without displaying
the associated material numbers.
22. [OK]
2. Main Menu> Preprocessor> Loads> Define Loads> Apply> Thermal> Convection> On Lines
4. [OK]
6. “Bulk temperature” = 80
7. [OK]
8. Toolbar: SAVE_DB
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Thermal Tutorial
3. [OK]
5. [OK]
You will access this help topic by clicking on the Help button from within the Nonlinear Solution
Control dialog box.
Before clicking on the Help button in the next step, you should be aware that the help inform-
ation may appear in the same window as this tutorial, replacing the contents of the tutorial. If
this is the case, after reading the help information, you will need to click on the Back button to
return to this tutorial. If the help information appears in a separatewindow from the tutorial,
you can minimize or close the help window after you read the help information.
3. If the help information replaced the tutorial, click on the Back button to return to the tutorial. If the
help information appears in a separate window, you can close or minimize that window.
The mold is initially at an ambient temperature of 80oF and the molten metal is at 2875oF. Use select
entities to obtain the correct set of nodes on which to apply the initial temperatures. First select
the casting area, then select the nodes within that area and apply the initial molten temperature
to those nodes. Next, invert the selected set of nodes and apply the ambient temperature to the
mold nodes.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
4. [OK]
6. [OK]
13. [OK]
18. [Invert] This is an action command; the selected set of nodes is immediately inverted.
21. Main Menu> Solution> Define Loads> Apply> Initial Condit'n> Define
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Thermal Tutorial
24. [OK]
Always select Everything again after you have finished selecting the nodes.
3.1.8.4. Step 11: Set time, time step size, and related parameters.
Stepped boundary conditions simulate the sudden contact of molten metal at 2875 oF with the
mold at ambient temperature. The program selects automatic time stepping, enabling the time-
step size to be modified depending on the severity of nonlinearities in the system. (For example,
the program uses smaller time steps during the phase change.) The maximum and minimum time-
step sizes represent the limits for this automated procedure.
7. [OK]
3. [OK]
4. Toolbar: SAVE_DB
2. Review the information in the status window, then select File> Close (Windows), or Close (Linux), to
close the window.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
While Mechanical APDL solves the analysis, the Graphical Solution Tracking (GST) monitor plots the
"Absolute Convergence Norm" as a function of the "Cumulative Iteration Number." Notice that the
solution is assumed to have converged for values less than or equal to the convergence criteria.
3.1.9.1. Step 14: Enter the time-history postprocessor and define variables.
Use the time-history postprocessor to look at the variation of temperature with respect to time at
one point on the casting (on the symmetry plane).
4. [OK]
The node at the center of the casting on the symmetry plane is the node of interest. Use a "get
function" to define a variable equal to the value of the node number at the location of interest
(16,6,0). By using a variable to identify the node at the center point, the analysis will be more
flexible in that the center node will always be used even if the mesh, and therefore node
numbers, change.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Thermal Tutorial
8. [Accept}
Note the center point node number. This number can vary due to differences in the mesh.
9. [Close]
14. [OK]
Notice that the solidification region is approximately 2643oF - 2750oF. Your graph may vary slightly.
To generate an animation, enter the General Postprocessor and read the first set of results.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Solidification of a Casting
6. [OK]
As indicated in the brackets at the upper left corner of the dialog box, the command to specify
non_uniform contours is /CVAL.
9. “V1” = 2643
The three values represent the upper bounds of the first, second, and third contours, respectively.
12. [OK]
4. [OK]
During the animation, notice the three separate colors - red for temperatures greater than 2750
o
F (molten steel), green for temperatures between 2643 oF and 2750 oF (the "mushy" phase-
change region), and blue for temperatures below 2643 oF (the solidified steel and the sand
mold). As you would expect, the last region to solidify is the material at the center of the casting.
(Remember that a symmetry model was used.)
5. Make selections in the Animation Controller (not shown), if necessary, then [Close].
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Thermal Tutorial
To visualize the temperature distribution throughout the model over the 4 hour span, animate
the temperature distribution with the default contour settings. To change the contour settings
back to their default value, enter /CVAL in the Input Window. (Alternatively, you can go back
to the Non_Uniform Contours window and set all values to zero.)
8. [OK]
9. Make selections in the Animation Controller (not shown), if necessary, then [Close].
3. [OK]
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Electromagnetics Tutorial
Magnetic Analysis of a Solenoid Actuator
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Electromagnetics Tutorial
4.1.2.1. Given
The dimensions of the solenoid actuator are in centimeters.
The back-iron is the stationary iron component of the actuator that completes the magnetic circuit
around the coil.
The stranded, wound coil of 650 windings with 1 amp/turn supplies the predefined current. The
current per winding is 1 amp.
The air-gap is the thin rectangular region of air between the armature and the pole faces of the
back-iron.
Objective: For the given current, determine the force on the armature.
The air gap is modeled so that a quadrilateral mesh is possible. A quadrilateral mesh allows for a
uniform thickness of the air elements adjacent to the armature where the virtual work force calcu-
lation is performed. This is desirable for an accurate force calculation.
The program requires current to be input in the form of current density (current over the area of
the coil).
The assumption of no leakage at the perimeter of the model means that the flux is acting parallel
to this surface. The assumption is enforced by the flux parallel boundary condition placed around
the model, used for models where the flux is contained in an iron circuit.
Forces for the virtual work calculation are stored in an element table and then summed. The force
is also calculated by the Maxwell Stress Tensor method and the two values are found to be relatively
close.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Magnetic Analysis of a Solenoid Actuator
Input Geometry
1. Read in geometry input file. (p. 48)
Define Materials
2. Set preferences. (p. 48)
Generate Mesh
4. Define element type and options. (p. 49)
Apply Loads
9. Define the armature as a component. (p. 52)
Obtain Solution
13. Solve. (p. 54)
Review Results
14. Plot the flux lines in the model. (p. 54)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Electromagnetics Tutorial
2. File name: solenoid.inp (Click the link to download the file in .zip format.)
3. [OK]
2. (check) “Magnetic-Nodal”
3. [OK]
Material 1 is used for the air elements, Material 2 for the back-iron elements, Material 3 for the coil
elements, and Material 4 for the armature elements.
3. “MURX” = 1
4. [OK]
5. Edit> Copy
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Magnetic Analysis of a Solenoid Actuator
8. “MURX” = 1000
9. [OK]
13. [OK]
17. [OK]
20. [OK]
or
2. [Add...]
5. [OK]
6. [Options...]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Electromagnetics Tutorial
8. [OK]
9. [Close]
3. Pick four areas of air gaps, A13, A14, A17, and A18 (the picking "hot spot" is at the area number label).
4. [OK]
6. [Apply]
7. Pick the five back-iron areas, A7, A8, A9, A11, A12.
8. [OK]
10. [Apply]
12. [OK]
14. [Apply}
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Magnetic Analysis of a Solenoid Actuator
16. [OK]
18. [OK]
1. Main Menu> Preprocessor> Meshing> Size Cntrls> ManualSize> Lines> Picked Lines
3. [OK]
5. [OK]
3. [OK]
5. [Mesh]
6. [Pick All]
7. [Close]
For a simplified model, select a coarse mesh. For production, however, use a finer mesh, especially
in the air-gap region.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Electromagnetics Tutorial
10. [OK]
Your mesh may vary slightly from the mesh shown here. As a result, you may see slightly different
results during postprocessing (p. 7). For a discussion of results accuracy, see Planning Your Approach
in the Modeling and Meshing Guide.
2. [Pick All]
5. [OK]
6. Toolbar: SAVE_DB
5. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Magnetic Analysis of a Solenoid Actuator
10. [OK]
3. [OK]
2. Main Menu> Preprocessor> Loads> Define Loads> Apply> Magnetic> Excitation> Curr Density>
On Areas
4. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Electromagnetics Tutorial
6. [OK]
2. Main Menu> Preprocessor> Loads> Define Loads> Apply> Magnetic> Boundary> Vector Poten>
Flux Par'l> On Lines
4. [OK]
5. Toolbar: SAVE_DB
1. Main Menu> General Postproc> Plot Results> Contour Plot> 2D Flux Lines
2. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Magnetic Analysis of a Solenoid Actuator
Your results may vary slightly from what is shown here due to variations in the mesh.
3. [OK]
or
4. [OK]
1. Main Menu> General Postproc> Plot Results> Contour Plot> Nodal Solu
2. Select "Magnetic Flux Density," then "Magnetic flux density vector sum."
3. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Electromagnetics Tutorial
Next, you will see how the flux density is distributed throughout the entire actuator.
Up to this point, the analysis and all associated plots have used the 2-D axisymmetric model,
with the axis of symmetry aligned with the left vertical portion of the device.
Mechanical APDL continues the analysis on the 2-D finite element model, but enables you to
generate a three-quarter expanded-plot representation of the flux density throughout the device,
based on the defined axisymmetry. The function is purely graphical, and no changes to the
database occur.
6. [OK]
8. [Iso]
9. [Close]
3. [OK]
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 5: Micro-Electromechanical System (MEMS) Tutorial
Multiphysics Analysis of a Thermal Actuator
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Micro-Electromechanical System (MEMS) Tutorial
The thermal actuator works on the basis of a differential thermal expansion between the thin arm
and blade.
The required analysis is a coupled-field multiphysics analysis that accounts for the interaction (coupling)
between thermal, electric, and structural fields.
A potential difference applied across the electrical connection pads induces a current to flow through
the arm and blade. The current flow and the resistivity of the polysilicon produce Joule heating (I2R)
in the arm blade. The Joule heating causes the arm and the blade to heat up. Temperatures in the
range of 700 -1300 oK are generated. These temperatures produce thermal strain and thermally induced
deflections.
The resistance in the thin arm is greater than the resistance in the blade. Therefore, the thin arm
heats up more than the blade, which causes the actuator to bend towards the blade. The maximum
deformation occurs at the actuator tip. The amount of tip deflection (or force applied if the tip is re-
strained) is a direct function of the applied potential difference. Therefore, the amount of tip deflection
(or applied force) can be accurately calibrated as a function of applied voltage.
These thermal actuators are used to move micro devices, such as ratchets and gear trains. Arrays of
thermal actuators can be connected together at their blade tips to multiply the effective force.
Primary Objective:
• Determine the blade-tip deflection for an applied potential difference across the electrical connection
pads.
Secondary Objectives:
5.1.2.1. Given
You are provided with a solid model in an IGES file. Dimensions are in micrometers. The thermal
actuator has an overall length of approximately 250 micrometers, and a thickness of 2 micrometers.
The given potential difference across the electrical connection pads is 5 volts.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
This tutorial uses the direct method to evaluate the actuator. The direct approach is the most efficient
method for this problem. If it were necessary to include the effects of temperature-dependent
material properties and/or thermal radiation, however, a more efficient option would likely be the
sequential method. The nonlinear thermal-electric problem could be solved using SOLID227 elements
with only the TEMP and VOLT degrees of freedom active, and the mechanical problem could be
solved using SOLID187 elements. The temperatures calculated in the thermal analysis could be
applied as loading to the mechanical model using the LDREAD command.
For this problem, you first import the file actuator.iges. Next, you define the element type as
SOLID227 using the structural thermoelectric degrees of freedom (KEYOPT(1) = 111): UX, UY, UZ,
TEMP, VOLT. The element simulates the coupled thermal-electric-structural response.
To define material properties for this analysis, you must convert the given units for Young's modulus,
resistivity, and thermal conductivity to μMKSV units. The units have been converted to μMKSV for
you.
Next, you mesh the model with the coupled field elements. You then apply voltages to the electrical
connection pads and set their temperature to an assumed 30 oC. You then mechanically fix the
electrical connection pads in the X, Y, and Z directions.
Finally, you obtain the solution and post process the results to achieve the analysis objectives.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Micro-Electromechanical System (MEMS) Tutorial
Import Geometry
1. Import IGES file. (p. 60)
Define Materials
2. Define element type. (p. 61)
Generate Mesh
4. Mesh the model. (p. 62)
Apply Loads
5. Plot areas. (p. 62)
Obtain Solution
8. Solve. (p. 66)
Review Results
9. Plot temperature results. (p. 67)
2. “No defeaturing”
3. [OK]
4. File name: actuator.iges (Click the link to download the file in .zip format.)
5. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
2. [Add ...]
5. [OK]
6. [Options]
8. [OK]
9. [Close]
3. “EX” = 169e3
4. “PRXY” = 0.22
5. [OK]
7. “ALPX” = 2.9e-6
8. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Micro-Electromechanical System (MEMS) Tutorial
11. [OK]
14. [OK]
2. (check) “SmartSize”
4. [Mesh]
5. [Pick All]
6. [Close] MeshTool
3. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
4. [OK]
5. Pick electrical connection pad 1 (the upper pad). Ensure that you have picked the correct area by
holding the mouse button down and dragging the mouse until ONLY the pad area highlights, then
release the button.
6. [OK]
7. Main Menu> Preprocessor> Loads> Define Loads> Apply> Electric> Boundary> Voltage> On
Areas
8. [Pick All]
By choosing Pick All, you pick only the area representing pad 1 because that is the only entity
you currently have selected.
10. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Micro-Electromechanical System (MEMS) Tutorial
11. Main Menu> Preprocessor> Loads> Define Loads> Apply> Thermal> Temperature> On Areas
15. [OK]
16. Main Menu> Preprocessor> Loads> Define Loads> Apply> Structural> Displacement> On Areas
20. [Apply]
23. [Apply]
26. [OK]
Notice that Mechanical APDL has cumulatively added the displacement boundary condition
symbols to the pad after you applied them (i.e., X constraint, then Y constraint, then Z constraint).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
4. [OK]
5. Pick electrical connection pad 2 (the lower pad). Ensure that you have picked the correct area by
holding the mouse button down and dragging the mouse until only the pad area highlights, then release
the button.
6. [OK]
7. Main Menu> Preprocessor> Loads> Define Loads> Apply> Electric> Boundary> Voltage> On
Areas
8. [Pick All]
By selecting Pick All, you pick only the area representing pad 2 because that is the only entity
you currently have selected.
10. [OK]
11. Main Menu> Preprocessor> Loads> Define Loads> Apply> Thermal> Temperature> On Areas
15. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Micro-Electromechanical System (MEMS) Tutorial
16. Main Menu> Preprocessor> Loads> Define Loads> Apply> Structural> Displacement> On Areas
20. [Apply]
23. [Apply]
26. [OK]
Notice how Mechanical APDL has cumulatively added the displacement boundary condition
symbols to the pad after you applied them (X constraint, then Y constraint, then Z constraint).
Before solving the problem, select the entire finite element model.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
or
Close (Linux platforms), after reviewing the information in the status window.
3. [OK]
3. “DOF solution”
4. “Nodal Temperature”
5. [OK]
Refer to the legend beneath your plot for a numerical interpretation of the colors in the plot.
The electrical connection pads are the same color, reflecting the constant temperature boundary
condition. There is a change in color in the blade, as viewed from the pads-end to the blade-tip
end, indicating that the voltage difference across the pads causes a temperature difference across
the blade. The thin arm is at higher temperatures than the blade.
1. Main Menu> General Postproc> Plot Results> Contour Plot> Nodal Solu
2. “DOF solution”
3. “Electric potential”
4. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Micro-Electromechanical System (MEMS) Tutorial
Refer to the legend beneath your plot for a numerical interpretation of the colors in the plot. Note
that the electrical connection pads are distinctly two different colors, reflecting the voltage difference
across the pads. The change in color of the blade, as viewed from the pads-end to the blade-tip
end, indicates that the voltage drop from pad 1 to pad 2 is distributed along the electrical conduction
path of the actuator.
2. “DOF solution”
3. “Y-Component of displacement”
4. [OK]
Refer to the legend beneath your plot for a numerical interpretation of the colors in the plot.
The electrical connection pads are the same color, indicating that the pads are constrained in
all directions. Notice the gradual change in color in the blade and thin arm, as viewed from the
pads end to the blade-tip end. This display, along with the animation you will generate next,
clearly show the bending of the thermal actuator.
The color of the blade tip indicates a deflection of approximately 3.07 micrometers, resulting
from the 5 volts applied across the pads. You have achieved the primary objective of this ana-
lysis.
8. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Multiphysics Analysis of a Thermal Actuator
5. [OK]
6. Pick the electrical connection pad on the thin side of the actuator (lower pad as shown below).
7. [OK]
12. [OK]
15. [OK]
Scroll to the bottom of the list and note that the total heat flow is approximately 8.07e9 pW
and the total current is approximately 3.23e9 pA.
or
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Micro-Electromechanical System (MEMS) Tutorial
2. “Quit - No Save!”
3. [OK]
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 6: Contact Tutorial
Interference Fit and Pin Pull-Out Contact Analysis
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Contact Tutorial
Objectives: First load step – observe the interference fit stresses of the pin which is geometrically
thicker than its pinhole. Second load step – observe the stresses, contact pressures and reaction forces
due to the motion of the pin being pulled out of the block.
6.1.2.1. Given
Both solids are made of structural steel (stiffness = 36e6, Poisson's ratio = 0.3) and are assumed to
be flexible.
• Load Step 1: Interference Fit -- solve the problem with no additional displacement constraints. The pin
is constrained within the pinhole due to its geometry. Stresses are generated due to the general misfit
between the target (pinhole) and the contact (pin) surfaces.
• Load Step 2: Pull-out -- move the pin by 1.7 units out of the block using degree-of-freedom displacement
conditions on coupled nodes. Explicitly invoke Automatic Time Stepping to guarantee solution conver-
gence. Read results for every 10th substep during solution.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
2. Scroll down to the MEMORY STATISTICS heading and read the number of MB for Requested Initial
Work Space.
3. If the memory amount is acceptable, proceed with the tutorial. If the number is too low, quit
Mechanical APDL without saving changes, restart Mechanical APDL and, in the Interactive dialog,
enter the appropriate number in the Memory requested for Total Workspace field before selecting
Run.
Input Geometry
1. Read in the model of the pin and the block. (p. 74)
Generate Mesh
4. Mesh solid volume. (p. 75)
Load Step 1
10. Define interference fit analysis options. (p. 79)
Load Step 2
12. Set DOF displacement for pin. (p. 80)
Postprocessing
16. Expand model from quarter symmetry to full volume. (p. 81)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Contact Tutorial
2. File name: block.inp (Click the link to download the file in .zip format.)
3. OK
3. EX = 36e6
4. PRXY = 0.3.
5. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
2. Click Add.
5. Click OK.
6. Click Close.
3. Pick the horizontal and vertical lines on the front edge of the pin.
4. Click OK.
7. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Contact Tutorial
3. Click OK.
2. Select the Contact Wizard button (located in the upper left corner of the Contact Manager).
7. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
8. Click Next.
25. Toolbar>SAVE_DB.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Contact Tutorial
2. Pick the four interior areas that were exposed when original model was quartered.
3. Click OK.
3. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
used settings for a structural static or full transient analysis. The controls consist of tabbed pages,
each offering a related set of solution controls.
2. Select Large Displacement Static from the Analysis Options pull-down menu. Continue with the
next step.
5. Toolbar>SAVE_DB.
2. Review the information in the status window, then File> Close to close the window.
3. Click OK to begin the solution. Select Yes if a Verify window appears, and ignore any warning messages,
but do not close the warning message window yet.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Contact Tutorial
4. Select Z coordinates.
6. Click OK.
6. Enter 10 for the Min no. of substeps. Continue with the next step.
3. Click OK.
5. Toolbar>SAVE_DB.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
By default, Mechanical APDL displays only the first five warning messages. If more warnings occur
(which may happen during the solution of this load step), they are not displayed, nor is the "Solution
is Done!" message displayed.
To ensure that the “Solution is Done!” message appears, change the setting that controls the
number of messages that are displayed from 5 to 100. Type the following command in the Input
Window, then press Enter:
/NERR,100,100,OFF
The command also ensures that your Mechanical APDL analysis does not end if an error occurs
during solution.
You can then proceed with the following steps to obtain the solution:
or
3. Click OK to begin the solution. Ignore any warning messages, but do not close the warning message
window yet.
6.1.9. Postprocessing
6.1.9.1. Step 16: Expand model from quarter symmetry to full volume.
1. Utility Menu> PlotCtrls> Style> Symmetry Expansion> Periodic/Cyclic Symmetry
3. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Contact Tutorial
5. Toolbar>SAVE_DB.
3. Click OK.
4. Main Menu> General Postproc> Plot Results> Contour Plot> Nodal Solu
6. Click OK.
3. Click OK.
8. Click OK.
10. Main Menu> General Postproc> Plot Results> Contour Plot> Nodal Solu
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
4. Click OK.
5. Main Menu> General Postproc> Plot Results> Contour Plot> Nodal Solu
7. Click OK.
6. (In the right column) Contour data for animation = von Mises SEQV.
7. Click OK.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Contact Tutorial
8. Make selections in the Animation Controller (not shown), if necessary, then Close.
2. Click OK.
3. Make note of all the node numbers whose Z coordinates are 4.5.
or
9. Click OK.
10. Pick a node on the front surface of the pin whose number corresponds to one of the nodes listed above
for z = 4.5. (Hold down the left mouse button and drag the mouse cursor across the front of the pin.
The highlighted node numbers appear in the picking menu. Upclick on the one you want to select.)
12. Verify that the node number you picked above is displayed in the Node number field.
Your node number may be different from the one shown here.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Interference Fit and Pin Pull-Out Contact Analysis
3. Click OK.
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 7: Modal Tutorial
Modal Analysis of a Model Airplane Wing
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Modal Tutorial
7.1.2.1. Given
The wing is made of low density polyethylene with a Young's modulus of 38x103 psi, Poisson's ratio
of 0.3, and a density of 8.3E-5 lbf-sec2/in4.
Use solid modeling to generate a 2-D model of the cross-section of the wing. Create a reasonable
mesh and extrude the cross-section into a 3-D solid model (to be meshed automatically).
Input Geometry
1. Read in geometry input file. (p. 89)
Define Materials
2. Set preferences. (p. 89)
Generate Mesh
4. Define element type. (p. 90)
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Modal Analysis of a Model Airplane Wing
Apply Loads
7. Unselect 2-D elements. (p. 92)
Obtain Solution
9. Specify analysis types and options. (p. 93)
Review Results
11. List the natural frequencies. (p. 94)
2. File name: wing.inp (Click the link to download the file in .zip format.)
3. [OK]
2. (check) “Structural”
3. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Modal Tutorial
3. “EX” = 38000
4. “PRXY” = 0.3
5. [OK]
6. (double-click) “Density”
7. “DENS” = 8.3e-5
8. [OK]
9. Material> Exit
2. [Add...]
11. [OK]
12. [CLOSE]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Modal Analysis of a Model Airplane Wing
4. [OK]
5. [Mesh]
6. [Pick All]
7. [Close] Warning.
8. [Close] Meshtool
9. Toolbar: SAVE_DB
For this analysis, the maximum node limit of ANSYS ED was taken into consideration. That is why
the 4-node PLANE182 element, rather than the 8-node PLANE183 element was used.
The mesh contains a PLANE182 triangle, resulting in a warning. If you are not using ANSYS ED, you
can use PLANE183 during the element definitions to avoid the warning.
Your mesh may vary slightly from the mesh shown. As a result, you may see slightly different results
during postprocessing. For a discussion of results accuracy, see Planning Your Approach.
4. [OK]
6. [Pick All]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Modal Tutorial
8. [OK]
10. [Iso]
11. [Close]
5. “Min,Max,Inc” = 1
6. (check) “Unselect”
7. [Apply]
3. (check) “Z coordinates”
4. “Min,Max” = 0
6. [Apply]
7. Main Menu> Preprocessor> Loads> Define Loads> Apply> Structural> Displacement> On Nodes
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
Modal Analysis of a Model Airplane Wing
10. [OK] Note that by leaving “Displacement” blank, a default value of zero is used.
12. [Sele All] to immediately select all nodes from entire database.
2. (check) “Modal”
3. [OK]
5. (check) “Block Lanczos” (Block Lanczos is the default for a modal analysis.)
8. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Modal Tutorial
or
4. [Yes]
5. [Yes]
Based on previous discussions, the warnings are accepted. Messages appear in the verification
window because PLANE182 elements have been defined but not used in the analysis; instead,
they were used to mesh a 2-D cross-sectional area.
3. [OK]
4. Make selections in the Animation Controller (not shown), if necessary, then choose Close.
7. [OK]
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
Modal Analysis of a Model Airplane Wing
Repeat red steps 4 through 7 above, and view the remaining three modes.
3. [OK]
Although you have exited the Mechanical APDL program, you can still view animations via the
ANIMATE program (p. 97). The program runs only on Windows computers and is useful for:
• Viewing Mechanical APDL animations on a Windows computer regardless of whether the files were
created in Windows (AVI files) or Linux (ANIM files).
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 8: ANIMATE Program
Using ANIMATE to View Animations on a Windows Computer
The standalone ANIMATE program enables you to view Mechanical APDL animation files on a Windows
computer regardless of whether the files were created on a Windows (AVI files) or Linux (ANIM files)
computer. You can run ANIMATE without Mechanical APDL. Its small 250kB file size makes it easy to
transport.
If you create and view AVI animation files on a Windows computer, the ANIMATE program provides a
better frame speed and window-size control than does Windows Media Player.
For ANIM files created on Linux workstations, you can view the files directly on a Windows computer
using the ANIMATE program. On the Windows computer, you can also convert an ANIM file to an AVI
file (a substantial file-size reduction).
When using ANIMATE to view 3-D model animations saved as ANIM files, you can pan, zoom, or rotate
the model while the animation is in progress.
If you have just created an animation in Mechanical APDL and want to use it with ANIMATE now,
save the animation to a file and name it: Utility Menu> PlotCtrls> Animate> Save Animation
For Linux users, create the ANIM file using pixmap animation (rather than display list animation): Utility
Menu>PlotCtrls>Device Options, then check Pixmaps for Animation mode. Transfer the file to a Windows
file system (via FTP, SAMBA, or some other file-system-transfer utility).
1. Start Animate.exe.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
ANIMATE Program
2. Select any AVI or ANIM animation file created using pixmap animation.
3. Click Controller.
If you are viewing an ANIM file, continue with the remaining steps.
9. Compare the size of the original ANIM file with the size of the AVI file. Note the smaller file size of the
AVI file.
Release 2020 R1 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.