Professional Documents
Culture Documents
15.0 Release
Introduction to Mechanical
APDL (MAPDL)
1 © 2015 ANSYS, Inc. March 30, 2015
Demonstrate use of a Parameterized
Input File to Create a Simple Model
Details on many of the commands used in this input file will be covered later in the course.
1) Use the Mechanical APDL Product Launcher to start MAPDL in a working directory
2) Copy the text file named “APDL_basic.inp” into the same working directory
3) Use File > Read Input from… and browse for “APDL_basic.inp”, then click OK
The model runs very quickly. When completed, you should be looking at the image on the
previous slide.
Afterwards
• Open “APDL_basic.inp” using Notepad and inspect its contents. Note that the commands
are grouped according to functionality, and that a comment follows every line of APDL in
the file describing what the command does.
• Documentation of any command you see in the text file may be viewed by typing
help,command on the command line in the MAPDL GUI.
The next set of commands define parameters that are substituted in the fields of
the commands that follow. Simple editing changes may be made to these
parameters to investigate their affect on results. Note that some parameters are
defined using arithmetic expressions including previously defined parameters.
After that, the geometry is created. A rectangle is first made, then a circle. A
Boolean operation is used to subtract the circle from the rectangle.
Next, element attributes are defined, and the geometry is meshed with elements
having these attributes.
You may make editing changes to the parameters at the top of the file and rerun it,
bearing in mind that the hole radius must be less than half the height of the bar
and the x coordinate of its center must not be such that the hole falls outside of
the domain of the bar.