Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Online Finite
Element Analysis
Consultancy
Service Search this site
Updates to Page:
Last edited on 10th October 2016 to account for changes in ANSYS release
17 [new method of applying cross sectional area to Link180]
Overview
In this tutorial you will examine the 1-D displacement of a stepped bar in
tension using ANSYS. The problem is adapted from example 1.1. on page 9
of the textbook Practical Stress Analysis with Finite Elements (2nd Ed) by
Bryan J. Mac Donald. You will determine the displacement distribution and
stress distribution in the bar due to the applied loading and boundary
conditions. A one-dimensional structural truss element (often also called a
"spar", "spring" or "link" element) will be used for this analysis. We will use SI
system units for this tutorial: length = m, mass = kg, time = sec, force = N,
stress/pressure = Pa. In this case the bar is made from steel and the applied
force is 10,000 N.
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 1/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 2/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
Figure 2: Dividing the problem into three finite elements and four nodes.
We can easily calculate the cross sectional area of each element from the
information given in the example in the book "Practical Stress Analysis with
Finite Elements":
The figure below shows the finalised model where the bar is modelled as a
series of three elastic springs (or trusses) with equivalent stiffness to the three
uniform cross section elements shown in the figure above.
It can be clearly seen from figure 3 that the bar has been divided into three
truss elements (E1, E2 and E3). Each of these will have a length of 0.2m. The
points at each end of each element are called nodes. These are numbered 1
to 4 in figure 3 and the x coordinate of each node is: N1 x = 0, N2 x = 0.2m,
N3 x = 0.4m and N4, x = 0.6m
1. Click on the windows icon in the left lower corner of your screen.
3. Find Ansys XX.X in the list of programs and click on it. Where XX.X is
the version number of ANSYS available to you. If you are running
ANSYS ver 14.0 then the XX.X will be 14.0, i.e. you should click on
Ansys 14.0
5.
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 3/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
6. When the product launcher displays your screen should look like this:
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 4/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
7. It is very important that you specify the working directory and the job
name. We advise setting up a special directory for your ANSYS work
and always using this. Similarly you should give each ANSYS model a
different Job Name. If you forget to do this then ANSYS will
automatically give each analysis the name "file" and things will quickly
become confused. In this case, let's use the Job Name "Tutorial_01"
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 5/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
9. Click on "Run" in the product launcher window to start the main ANSYS
GUI. Once the main GUI launches you can close the product launcher
window.
10. Once the main GUI opens it is useful to set the preferences: in the
Main Menu select Preferences and make sure that Structural and h-
method are selected.
3.
4. Select Link in the left hand menu and 3Dfinit stn 180 in the right hand
menu and then click Ok
5. This will define element type 1 as a LINK 180 element. LINK 180 is
actually a 3D truss element but we are going to use it as a 1D truss by
later supressing some of it's degrees of freedom.
1. In the Main Menu select Preprocessor > Sections > Link > Add
2. Enter the number "1" (for element number 1) in the dialog box that
appears and then click on OK to move on to the next step.
3. In the next dialog box that appears, enter the value for cross sectional
area for element 1: 0.000433m2 and then click OK
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 6/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
5. Click on Preprocessor > Sections > Link > Add again and enter
"2" in the "Add Link Section" box that appears.
6. This time enter the value for the cross sectional area for element 2:
0.000299 m2 and then click Ok
7. Repeat this process for element 3 using the value given above
(0.000166m2)
8. . When you are finished you should have three section property sets
defined: you can check this by clicking on Utility menu > List >
Properties > Section Properties
1. In the Main Menu click on Preprocessor > Material Props > Material
Models, the Define Material Model Behaviour dialog box will now
appear.
2. Expand the options in the right hand pane of the dialog box: Structural
> Linear > Isotropic
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 7/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
3. In the dialog box that pops up, enter suitable material parameters for
steel ( E = 210 x 109 Pa, Poissons ratio = 0.3):
4. Click on Ok to close the dialog box in which you entered the material
parameters.
1. In the Main Menu click on Preprocessor > Modeling > Create >
Nodes > In Active CS
2. In the dialog box that appears: enter the x-coordinate for node 1 (i.e. 0)
and click on Apply (note that Apply issues the command to create the
node but keeps the dialog box open, clicking Ok would also issue the
command to create the node but would close the dialog box).
3. Now enter the x-coordinate for node 2 (i.e. 0.2) and click Apply
4. Enter the x-coordinate for node 3 (i.e. 0.4) and click Apply
5. Enter the x-coordinate for the final node, node 4 (i.e. 0.6) and click Ok
to dismiss the dialog box.
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 8/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
6. You may have notice nodes appearing on the main window when you
clicked apply. You should now be able to see 4 nodes in the main
window (note that node 1 is at the origin so you may not be able to see
it due to the display of the triad at the origin, this is OK):
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 9/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
7. We must now create the elements that join the nodes together: click on
Preprocessor > Modeling > Create > Elements > Auto Numbered >
Thru Nodes
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 10/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
8. In the main window click on node 1 and then node 2. Then click Apply
in the dialog box. You should see a line element appear joining nodes 1
and 2.
9. Now click on node 2 and then node 3 and click Apply. A line element
should appear joining nodes 2 and 3.
10. Finally, click on node 3 and then node 4 and click Ok. A line element
should appear joining nodes 3 and 4.
12. All three elements were created with the default section number of 1.
This means that, at the moment, all elements currently have the same
cross sectional area. This cross sectional area should only be applied
to element 1, so we need to change the section properties associated
with elements 2 and 3. In order to do this we use the following
command: Preprocessor > Modeling > Move/ Modify > Elements >
Modify Attrib
13. Pick element number 2 and then click Ok in the dialog box.
14. In the dialog box that appears, change the Attribute to Change to
Section Num and the New Attribute Number to 2, then click on Ok.
15. Repeat this process (steps 12-14) for element 3 to change its real
constant to 3.
16. We can check that all is as it should be by going to the Utility Menu
(top of the window) and selecting: List > Elements > Nodes &
Attributes, you should get this:
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 11/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
17. If your list looks different then it is likely you have made a mistake at
some point.
18. The key points are that each element has a different section number
(SEC) and that element 1 joins nodes 1 & 2, element 2 joins nodes 2&3
and element 3 joins nodes 3&4.
2. Preprocessor > Loads > Define Loads > Apply > Structural >
Displacement > On Nodes
4. Select both UY and UZ in the next dialog box that appears and enter a
value of 0 for displacement value
5. Click Ok to close the dialog box. Your screen should now look like this:
7. The original bar is held rigidly at it's left hand edge. In order to model
this we will constrain the leftmost node (i.e. node 1) from moving in the
x-direction.
8. Again, select: Preprocessor > Loads > Define Loads > Apply >
Structural > Displacement > On Nodes
10. This time select UX only and enter a value of 0 for displacement value
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 12/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
11. Click Ok to close the dialog box. Your should have noticed an extra
constraint appear at node 1 (blue triangle pointing in the horizontal
direction)
1. Select Preprocessor > Loads > Define Loads > Apply > Structural
> Force/ Moment > On Nodes
3. In the dialog box that appears make sure that the direction of force is
set to FX and that the Force/ Moment value is 100000
5. You should see a red arrow appear on node 4 pointing to the right.
1. In the Main Menu select Solution > Analysis Type > New Analysis
2. Make sure that Static is selected in the dialog box that pops up and
then click on Ok to dismiss the dialog.
4. A new window and a dialog box will pop up. Take a quick look at the
infromation in the window ( /STATUS Command) before closing it.
6. Once the problem has been solved you will get a message to say that
the solution is done, close this window when you are ready.
1. In the Main Menu select General Postproc > List Results > Nodal
Solution > DOF solution > Displacement Vector Sum and click Ok
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 13/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
6. The truss element that we have used is quite basic and it is difficult to
get stress results directly from it. In order to access stress results we
have to define an element table.
7. Select General Postproc > Element Table > Define Table > Add
8. Edit the options in the dialog box so that they look like this:
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 14/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
12. Now select General Postproc > Element Table Data and pick
"AXIALSTR" in the list that appears. Once you click on OK you should
get a listing like this:
13. This listing gives the stress in each element, for example element 1
has an axial stress of 0.23079 x 108 Pa or 23.079 MPa
We will now validate our obtained results against those given the book
"Practical Stress Analysis with Finite Elements": by Bryan J. Mac Donald. The
results comparison is summarised in the table below:
As the table above clearly shows, our finite element results are consistent with
those given in the book. The very small differences can be accounted for due
to computational round offs.
Summary
The log file for this tutorial may also be used as an input file to automatically
run the analysis in ANSYS. In order to use this file as an input file save it to
your working directory and then select Utility Menu > File > Read input
from... and select the file. You should notice ANSYS automatically building
the finite element model and issuing all the commands detailed above.
Quitting ANSYS
To quit ANSYS select Utility Menu > File > Exit.... In the dialog box that
appears click on Save Everything (assuming that you want to) and then click
on Ok
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 16/17
8/26/2017 ANSYS 1D Structural Truss Tutorial : Stepped Bar in Tension - Online Finite Element Analysis Consultancy Service
https://sites.google.com/site/onlinefiniteelement/ansys-tutorials/ansys-1d-structural-truss-tutorial 17/17