Beruflich Dokumente
Kultur Dokumente
Tutorial
Structural Dynamic Analysis of a Cantilever Beam
written by: Amir Muradali
The purpose of this tutorial is to explore the dynamic analysis capabilities of
ANSYS. These capabilities include
Modal Analysis: Determining the mode frequencies and mode shapes of structures.
Harmonic Analysis: Analysing the steadystate
behavior of a structure subject to cyclic loads.
Transient Analysis: Determining the dynamic response of a structure under more g
eneral timedependant
loads.
Spectral Analysis: Studying the response of structures under the action of loads
with known "spectra" (eg. random
loading conditions).
The ANSYS version 5.2 was used to develop this tutorial.
Introducing the Problem
A full dynamic analysis will be done for the cantilever beam shown below. The be
am has a square cross section and is made
of steel.
ANSYS Structural Dynamic Modelling Tutorials
Building the Model
We will model a cantilever beam with Beam2D Elastic elements.
Select Preprocessor from the ANSYS Main Menu . We will follow the order presente
d in the Preprocessor Menu beginning
with selecting the element type.
Choosing Element type: Element type -> Choose Beam 2D Elastic element.
Setting Constants for Chosen Element type: Real constants -> enter crosssectiona
l
properties (of the beam) in the
dialog box as shown below.
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 2/26
Specifying Material Properties for Chosen Element type: Material Properties -> e
nter material properties as
shown below
Note: For dynamic analysis, both the stiffness and the material density have to
be specified.
Creating the Geometry of Cantilever: Modelling -> Create -> Keypoints -> In Acti
ve CS.. -> specify 2
keypoints (the ends of the cantilever beam) as follows:
keypoint x y z
1 0 0 0
2 1 0 0
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 3/26
Join the two keypoints with a line. Modelling -> Create -> Lines -> Straight lin
e -> Click on both keypoints.
Setting Meshing Options: Meshing -> Shape & Size -> for picked lines -> select t
he line and then specify 10
element divisions in the dialog box that pops up.
Meshing the line: Meshing -> mesh -> lines -> pick the line and click OK.
Dynamic Analysis
We are now ready to perform full dynamic analysis on the beam.
Modal Analysis of a Cantilever Beam
We are going to determine the first 5 modes and the respective frequencies of th
e cantilever beam.
Modal Analysis in ANSYS is done in 4 steps:
Building the model (Preprocessing)
Note: To obtain accurate higher mode frequencies, this mesh would have to be ref
ined even more (i.e. instead of 10
elements, we would have to model the cantilever using 15 or more elements depend
ing upon the highest mode
frequency of interest).
To view the first mode shape, select - read results - First Set (1st Mode) from
the Post Processing menu.
To view the deformed shape, select plot results -> Deformed shape
To animate the mode shape, select Plot Ctrls from the ANSYS Utility Menu (Blue m
enu at the top). Then select
Animate -> Mode Shape
To view the next mode shape, select - read results - Next Set from the Post Proc
essing . You can then view the
mode shape or animate it using the same procedure as above.
The first four mode shapes should look like the following:
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 6/26
The animated mode shapes are shown below.
Mode 1
Mode 2
Mode 3
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 7/26
Mode 4
Using the Reduced Method for Modal Analysis
This method employs the use of Master Degrees of Freedom. These are degrees of f
reedom that govern the dynamic
characteristics of a structure. For example, the Master Degrees of Freedom for t
he bending modes of cantilever beam are
For this option, a detailed understanding of the dynamic behavior of a structure
is required. However, going this route means
a smaller (reduced) stiffness matrix, and thus faster calculations.
The steps for using this option are quite simple.
Instead of specifying the Subspace method, select the Reduced method and specify
5 modes for extraction.
Click OK and another window should open up for options for the Reduced method. W
e already specified 5 modes to
be extracted, however we could also specify a frequency range within which all m
odes of interest lie. This window
looks like the following
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 8/26
Note: For this example both the number of modes and frequency range was specifie
d. ANSYS then extracts the
minimum number of modes between the two.
Select Master DOF -> -User Selected- Define -> Select all nodes except the left
most node (to be constrained later).
Then select UY as the 1st degree of freedom (shown below).
After we have selected our MDOFs we can now apply constraints and obtain the sol
ution using the same steps as
shown in the example above.
Modal Analysis of a Clamped Plate
Here is another problem for which the first 8 modes were calculated. The clamped
plate is shown below together with the
material properties.
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 9/26
See if you can obtain the first 8 modes of this structure. These modes should lo
ok like the following. The contours represent
relative stress distribution.
Modes 1 to 4
Modes 5 to 8
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 10/26
The first 8 mode frequencies are
Harmonic Analysis of a Cantilever Beam
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 11/26
For this problem, we will conduct a harmonic forced response test on a cantileve
r beam. We will do this by applying a cyclic
load (harmonic) at the end of the beam and observing the response at that locati
on. The frequency of the load will be varied
from 1 100
Hz. The figure below depicts the beam with the application of the load.
ANSYS provides 3 methods for conducting a harmonic analysis. These 3 methods are
the Full , Reduced and Modal
Superposition methods.
This example demonstrates the Full method because it is simple and easy to use a
s compared to the other two methods.
However, this method makes use of the full stiffness and mass matrices and thus
is the slower and costlier option.
There are 3 steps involved for the Full Harmonic Response Analysis of a structur
e. These steps are:
Building the Model
Applying Loads and Constraints
Reviewing the Results
Building the Model If
not already completed, link to this section to build the model.
Applying Loads and Constraints
Open up the Solution Menu, and select New Analysis...-> Harmonic
Click on Analysis Options... The following window will open showing the methods
available for harmonic analysis.
Select Full.
We will now constrain the beam and apply a harmonic load at the end of the beam.
Applying Constrains: Click Apply -> Displacement -> On Nodes and click on the no
de at x=0. Constrain all the
degrees of freedom at this node.
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 12/26
Applying Load: From the Apply menu, click on Force/Moment -> On Nodes and click
the node at x=1. Apply a load in
the Y direction with a real value of 100 and an imaginary value of 0.
Note: By specifying a real and imaginary value of the load we are providing info
rmation on magnitude and phase of
the load. In this case the magnitude of the load is 100 N and its phase is 0. Ph
ase information is important when you
have two or more cyclic loads being applied to the structure as these loads coul
d be in or out of phase. For harmonic
analysis, all loads applied to a structure must have the SAME FREQUENCY.
We have not yet set the frequency of the load. For harmonic analysis we can obse
rve the structural response to a load over a
range of frequencies.
To do this, select Time/Frequency below the -Load Step Opts- (Solution Menu). Se
lect Freq & Substeps... and
specify a frequency range of 0 100Hz
with 100 substeps.
By doing this we will be subjecting the beam to loads at 1 Hz, 2 Hz, 3 Hz, .....
100 Hz. We will specify a stepped
boundary condition (KBC) as this will ensure that the same amplitude (100 N) wil
l be applyed for each of the
frequencies. The ramped option, on the other hand, would ramp up the amplitude w
here at 1 Hz the amplitude would
be 1 N and at 100 Hz the amplitude would be 100 N.
You should see the following in the ANSYS Graphics window
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 13/26
We can now solve the problem. -Solve- Current LS
Reviewing the Results
We want to observe the response at x=1 (where the load was applyed) as a functio
n of frequency. We cannot do this with
General PostProcessing (POST1), rather we must use TimeHist PostProcessing (POST
26). POST26 is mainly used to
observe certain variables as a function of either time or frequency.
Enter POST26 by selecting TimeHist Postprocessing from the ANSYS Main Menu.
In here we have to define variables that we want to see plotted. By default, Var
iable 1 is assigned either Time or
Frequency. In our case it will be assigned Frequency. We want to see the displac
ement UY at the node at x=1, which
is node #2. (To get a list of nodes and their attributes, select List -> nodes f
rom the Utility Menu).
Select Define Variables... and the following window should pop up.
Select Add.. from this window and the following window should appear
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 14/26
We are interested in the Nodal DOF solution at node 2, so click OK. For stresses
, we would have to select Element
Results in this window.
The following dialog box will open up. Enter values as shown below (note UY has
been selected).
Thus far we have only pointed the variables to the results we would like to see.
We now have to store the data under
the variable names into memory.
Click on Store Data.. in the TimeHist PostProcessing menu.
The following dialog box will appear. By default the merge with existing data op
tion will be selected. We don't have
any data stored in memory so we could just click on OK. However, change the opti
on to Replace. This will erase all
of the previously "stored" data in the memory. This option was chosen for demons
tration purposes because numerous
results from an ANSYS job may be of interest, however, only a limited number of
variables can be stored in memory.
We now should have 2 variables in memory, frequency (1) and UY at node 2 (2).
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 15/26
To view these variables select List Variables... and set variable 1 as the first
variable to list and variable 2 as the
second. You should see the following window with the values of both variables li
sted.
Note that by default ANSYS names variable number 1 as Time, whether the variable
is time or frequency.
We now want to plot UY vs. frequency. To do this select Graph Variables.. and se
lect variable 2 as the first
variable to plot. You should see the following figure.
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 16/26
Note that we get peaks at the right frequencies (from the modal analysis) at app
roximately 8.3 and 51 Hz.
To get a better view of the response, we should be viewing the log scale of UY.
To do this enter the following in the
ANSYS Input Window
/gropt,logy,1
/replot
You should now see the following
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 17/26
This is the response at node 2 for the cyclic load applied at this node from 0 1
00
Hz.
Harmonic Analysis using the Reduced and Modal Superposition Methods.
These other methods available for harmonic analysis are a bit more involved and
require a good physical understanding of
the problem at hand.
The Reduced Method employs the use of Master Degrees of Freedom. The dynamic beh
avior of the structure should be
known before assumptions can be made as to which degrees of freedom can be assig
ned as MDOF. The steps involved in
using this method are
Building the Model (Preprocessing).
Selecting MDOFs and Applying the Loads and Constraints (Solution).
Expanding the Solution or Performing an Expansion Pass (Solution).
Reviewing the Results (TimeHist Postprocessing).
The Modal Superposition Method is the fastest of the three methods. It however i
nvolves several steps including doing a
Modal Analysis on the structure. These steps are
Building the Model (Preprocessing).
Applying Constraints and Calculating the Modes (Solution).
Applying Loads and Obtaining the Harmonic Solution (Solution).
Performing an Expansion Pass (Solution).
Reviewing the Results (TimeHist Postprocessing).
Transient Dynamic Analysis
Transient dynamic analysis is a technique used to determine the dynamic response
of a structure under a timevarying
load.
The time frame for this type of analysis is such that inertia or damping effects
of the structure are considered to be important.
Cases where such effects play a major role are under step or impulse loading con
ditions, for example, where there is a sharp
load change in a fraction of time.
If inertia effects are negligible for the loading conditions being considered, a
static analysis may be used instead.
For our case, we will impact the end of the beam with an impulse force and view
the response at the location of impact.
06/09/2015 Dynamic Analysis
http://www.mece.ualberta.ca/tutorials/ansys/AT/Dynamic/Dynamic.html 18/26
Since an ideal impulse force excites all modes of a structure, the response of t
he beam should contain all mode frequencies.
However, we cannot produce an ideal impulse force numerically. We have to apply
a load over a discrete amount of time dt.
After the application of the load, we track the response of the beam at discrete
time points for as long as we like (depending
on what it is that we are looking for in the response).
The size of the time step is governed by the maximum mode frequency of the struc
ture we wish to capture. The smaller the
time step, the higher the mode frequency we will capture. The rule of thumb in A
NSYS is
time_step = 1 / 20f
where f is the highest mode frequency we wish to capture. In other words, we mus
t resolve our step size such that we will
have 20 discrete points per period of the highest mode frequency.
It should be noted that a transient analysis is more involved than a static or h