5
14.5 Release
Lecture 5
Harmonic Analysis
ANSYS Mechanical
Linear and Nonlinear Dynamics
2012 ANSYS, Inc. March 28, 2013 2 Release 14.5
Harmonic Analysis
Topics Covered
A. What is Harmonic Analysis
B. Theory and Terminology
C. Contact in Harmonic Analysis
D. Full Harmonic Analysis
E. Damping in Full Harmonic Analysis
F. Loads and Boundary Conditions
G. Analysis settings Full Harmonic
2012 ANSYS, Inc. March 28, 2013 3 Release 14.5
Harmonic Analysis
Topics Covered
H. Modesuperposition Harmonic Analysis
I. Damping in Modesuperposition Harmonic Analysis
J. Analysis settings Mode Superposition anslysis
K. Workshop 5
2012 ANSYS, Inc. March 28, 2013 4 Release 14.5
A. What is Harmonic Analysis
Input:
Harmonic loads (forces, pressures, and imposed displacements) of known
magnitude and frequency.
May be multiple loads all at the same frequency.
Forces and displacements can be inphase or outof phase.
Body loads can only be specified with a phase angle of zero.
Output:
Harmonic displacements at each DOF, usually out of phase with the applied
loads.
Other derived quantities, such as stresses and strains.
2012 ANSYS, Inc. March 28, 2013 5 Release 14.5
... What is Harmonic Analysis
Assumptions and Restrictions:
The entire structure has constant or frequencydependent stiffness, damping,
and mass effects.
No nonlinearities are permitted.
Transient effects are not calculated.
Acceleration, bearing, and moment loads are assumed to be real (inphase)
only.
2012 ANSYS, Inc. March 28, 2013 6 Release 14.5
... What is Harmonic Analysis
Assumptions and Restrictions:
All loads and displacements vary
sinusoidally at the same known
frequency (although not necessarily in
phase).
All loads and displacements, both input
and output, are assumed to occur at the
same frequency.
Calculated displacements are complex if:
damping is specified, or
applied load is complex.
( )
angle phase
freqency
amplitude where
sin
=
=
=
+ =
u
e
u e
F
i i i
t F F
 F1
 F2
2012 ANSYS, Inc. March 28, 2013 7 Release 14.5
Governing equation for a massspring
damper system, subject to a sinusoidal
force is
t f ku u c u m O = + + sin
2
1 , e e =
n d
( ) ( ) ( ) ( )
2
2
2
2 1
n n
k f
u
e e O + O
=
( )
( )
2
1
1
2
tan
n
n
e
e

O
O
=
max
max
2012 ANSYS, Inc. March 28, 2013 10 Release 14.5
... Theory and Terminology
Take two time derivatives:
Substitute and simplify:
This can then be solved using one of two methods.
} { } { } { ( )
} { } { } { ( )
} { } { } { ( )
t i
t i
t i
e u i u u
e u i u i u
e u i u u
O
O
O
+ O =
+ O =
+ =
2 1
2
2 1
2 1
      ( ) } { } { ( ) } { } { ( )
2 1 2 1
2
F i F u i u K C i M + = + + O + O
2012 ANSYS, Inc. March 28, 2013 11 Release 14.5
... Theory and Terminology
Solution Techniques:
Full Harmonic Response Analysis
solves a system of simultaneous equations directly using a static solver
designed for complex arithmetic:
Mode Superposition Response Analysis
expresses the displacements as a linear combination of mode shapes.
      ( )
 
} { } { ( )
{ }
} { } { ( )
{ }
 { } { }
c c c
F u
K
F u K
F i F u i u K C i M
c c
c
=
+ = + + O + O
2 1 2 1
2
      ( ) } { } { ( ) } { } { ( )
( )
jc jc j j j
f y i
F i F u i u K C i M
= + O + O
+ = + + O + O
2 2
2 1 2 1
2
2 e , e
2012 ANSYS, Inc. March 28, 2013 12 Release 14.5
Contact regions are available in harmonic analysis; however, since this
is a purely linear analysis, contact behavior will differ for the nonlinear
contact types, as shown below:
Contact behavior will reduce to its linear counterparts.
Contact Type Static Analysis
Linear Dynamic Analysis
Initially Touching
Inside Pinball
Region
Outside Pinball Region
Bonded Bonded Bonded Bonded Free
No Separation No Separation No Separation No Separation Free
Rough Rough Bonded Free Free
Frictionless Frictionless No Separation Free Free
Frictional Frictional
q = 0, No Separation
q > 0, Bonded
Free Free
C. Contact in Harmonic Analysis
2012 ANSYS, Inc. March 28, 2013 13 Release 14.5
D. Full Harmonic Analysis
Exact solution.
Generally slower than MSUP.
Supports all types of loads and boundary conditions.
Solution points must be equally distributed across the frequency domain
Solves the full system of simultaneous equations using the Sparse matrix
solver for complex arithmetic.
      ( )
 
} { } { ( )
{ }
} { } { ( )
{ }
 { } { }
c c c
F u
K
F u K
F i F u i u K C i M
c c
c
=
+ = + + O + O
2 1 2 1
2
2012 ANSYS, Inc. March 28, 2013 14 Release 14.5
E. Damping in Full Harmonic Analysis
1. Rayleigh Damping:
Alpha damping and Beta damping are used to define Rayleigh damping
constants and . The damping matrix [C] is calculated by using these
constants to multiply the mass matrix [M] and stiffness matrix [K]:
Equivalent damping
      K M C  o + =
2 2
e
e
o
+ =
2012 ANSYS, Inc. March 28, 2013 15 Release 14.5
... Damping in Full Harmonic Analysis
1. Material Damping:
Material damping is inherently present in a material (energy is dissipated by
internal friction), so it is typically considered in a dynamic analysis.
Energy dissipated by internal friction in a real system does not depend on the
cyclic frequency.
The simplest device to represent it is to assume the damping force is
proportional to velocity and inversely proportional to frequency
g = constant structural damping ratio
    K g C
O
=
2
g = Equivalent damping
2012 ANSYS, Inc. March 28, 2013 16 Release 14.5
The complete expression for the structural damping matrix, [C], is
g is constant damping.
     
   
     
damping
ic Viscoelast
1
damping
Gyroscopic
1
damping
Element
1
damping Structural
1
damping Mass
1
1
2 2
= = =
=
=
O
+ + +

.

\

O
+ +

.

\

O
+ +
+ =
v
g
e
mb
ma
N
l
m
N
l
l
N
k
k
N
j
j j
m
j
N
i
i
m
i
C G C
K g K g
M M C
 
o o
... Structural Damping Matrix [C]
2012 ANSYS, Inc. March 28, 2013 17 Release 14.5
The value of g, o and  can be input using the following:
[1] Materialdependent damping value
(MassMatrix Damping Multiplier, and kMatrix Damping
Multiplier)
. Structural Damping Matrix [C]
     
= =

.

\

O
+ + =
mb ma
N
j
j j
m
j
N
i
i
m
i
K g M C
1 1
2
 o
g
i
i
i
+ + =
2 2
e
e
o
Equivalent damping
2012 ANSYS, Inc. March 28, 2013 18 Release 14.5
[2] Directly as global damping value
(Details section of Analysis Settings)
. Structural Damping Matrix [C]
      K g M C

.

\

O
+ + =
2
 o
g
i
i
i
+ + =
2 2
e
e
o
Equivalent damping
2012 ANSYS, Inc. March 28, 2013 19 Release 14.5
F. Loads and Boundary Conditions
Structural loads and supports may also be used in harmonic analyses
with the following exceptions:
Loads Not Supported:
Gravity Loads
Thermal Loads
Rotational Velocity
Pretension Bolt Load
Compression Only Support (if present, it behaves similar to a Frictionless Support)
Remember that all structural loads will vary sinusoidally at the same
excitation frequency
Loads can be out of phase with each other.
Transient effects are not calculated.
Remote Force, Moment, and Acceleration loads may be defined,
although these loads are assumed to act at a phase angle of zero.
2012 ANSYS, Inc. March 28, 2013 20 Release 14.5
... Loads and Boundary Conditions
A list of supported loads are shown below:
Not all available loads support phase input. Accelerations, Bearing
Load, and Moment Load will have a phase angle of 0.
If other loads are present, shift the phase angle of other loads, such that
the Acceleration, Bearing, and Moment Loads will remain at a phase angle
of 0.
2012 ANSYS, Inc. March 28, 2013 21 Release 14.5
... Loads and Boundary Conditions
Specifying harmonic loads requires:
1. Amplitude F
imax
2. phase angle u, and
3. Frequency e
( )
angle phase
freqency
amplitude
max
where
sin
max
=
=
=
+ =
u
e
u e
i
F
i i i
t F F
2012 ANSYS, Inc. March 28, 2013 22 Release 14.5
... Loads and Boundary Conditions
Amplitude and phase angle
The load value (magnitude) represents the amplitude (F
1max
and F
2max
).
Phase angle u is the phase shift between two or more harmonic loads.
u is not required if only one load is present.
 F
1
 F
2
Amplitude
Phase Angle
2012 ANSYS, Inc. March 28, 2013 23 Release 14.5
F. Analysis Settings Full Harmonic
Analysis Settings > Options
Frequency Range: Specified in cycles per second (Hertz)
Range Minimum >> Minimum Frequency
Range Maximum >> Maximum Frequency
Solution Intervals
Solution Method
A range of 0500 Hz with 10
solution intervals gives solutions
at frequencies of 50, 100, 150, ,
450, and 500 Hz. Same range
with 1 substep gives one solution
at 500 Hz.
2012 ANSYS, Inc. March 28, 2013 24 Release 14.5
F. Analysis Settings Full Harmonic
Analysis Settings > Options
Solution Intervals
Evenlyspaced
frequency points
2012 ANSYS, Inc. March 28, 2013 25 Release 14.5
... Analysis Settings Full Harmonic
Analysis Settings > Output Controls
Analysis Settings > Damping Controls
2012 ANSYS, Inc. March 28, 2013 26 Release 14.5
... Full Harmonic Analysis
Analysis Setting > Solution Method > Full
2012 ANSYS, Inc. March 28, 2013 27 Release 14.5
... Results Frequency Response
Frequency Response:
display how the response varies with frequency
Frequency (Hz)
Frequency (Hz)
A
m
p
l
i
t
u
d
e
(
m
)
P
h
a
s
e
A
n
g
l
e
(
o
)
2012 ANSYS, Inc. March 28, 2013 28 Release 14.5
... Results Phase Response
Phase Response:
show how much a response lags behind the applied loads.
Angle (
o
)
 Force  Output
2012 ANSYS, Inc. March 28, 2013 29 Release 14.5
... Results Contour Plots
Contour plots include:
stress,
elastic strain, and
deformation.
For these results, you must specify
a frequency and phase angle.
2012 ANSYS, Inc. March 28, 2013 30 Release 14.5
... Results Contour Plots
A contour result can be created from a Frequency Response.
The Phase Angle of the contour result has the same magnitude as the
frequency result type but an opposite sign.
The sign of the phase angle is reversed so that the response amplitude of
the frequency response plot for that frequency and phase angle matches
with the contour results.
RMB
2012 ANSYS, Inc. March 28, 2013 31 Release 14.5
Note: The sign of the phase angle
in the contour result is reversed so
that the response amplitude of the
frequency response plot for that
frequency and phase angle
matches with the contour results.
RMB
1. By Frequency
... Results Contour Plots
2012 ANSYS, Inc. March 28, 2013 32 Release 14.5
RMB
2. By: Maximum Over Frequency
... Results Contour Plots
2012 ANSYS, Inc. March 28, 2013 33 Release 14.5
RMB
3. By: Frequency of Maximum
... Results Contour Plots
2012 ANSYS, Inc. March 28, 2013 34 Release 14.5
RMB
4. By: Maximum over Phase
... Results Contour Plots
2012 ANSYS, Inc. March 28, 2013 35 Release 14.5
RMB
5. By: Phase of Maximum
Note: The sign of the
phase angle is reversed.
... Results Contour Plots
2012 ANSYS, Inc. March 28, 2013 36 Release 14.5
14.5 Release
Mode Sup Harmonic Analysis
ANSYS Mechanical
Linear and Nonlinear Dynamics
2012 ANSYS, Inc. March 28, 2013 37 Release 14.5
G. Modesuperposition Harmonic Analysis
Approximate solution; accuracy depends on whether an adequate
number of modes have been extracted.
Generally faster than FULL.
Does not support nonzero imposed harmonic displacements.
Solution points may be either equally distributed across the frequency
domain or clustered about the natural frequencies of the structure.
Solves an uncoupled system of equations by performing a linear
combination of orthogonal vectors (mode shapes).
      ( ) } { } { ( ) } { } { ( )
( )
jc jc j j j
f y i
F i F u i u K C i M
= + O + O
+ = + + O + O
2 2
2 1 2 1
2
2 e , e
2012 ANSYS, Inc. March 28, 2013 38 Release 14.5
Mode Superposition Method
Example:
Here, the sum of mode shape 1 and mode shape 2 approximates the final
response. Since mode shapes are relative, the coefficients y
1
and y
2
are
required.
Mode shapes (eigenvectors) are also known as generalized coordinates, and
in this case, coefficients y
1
and y
2
are the DOF.
y
1
y
2
+ =
e
1
e
2
2012 ANSYS, Inc. March 28, 2013 39 Release 14.5
2 2
i
i
m d
i i
e
e
o
+ + + =
Stiff.
Coef.
Mass
Coef.
Constant
ratio
H. Damping in ModeSup Harmonic Analysis
2012 ANSYS, Inc. March 28, 2013 40 Release 14.5
I. Analysis Settings ModeSup Harmonic
Analysis Settings > Options
Frequency Range
Range Minimum >> Minimum Frequency
Range Maximum >> Maximum Frequency
Solution Intervals
Solution Method > Mode Superposition
2012 ANSYS, Inc. March 28, 2013 41 Release 14.5
Analysis Settings > Options
Cluster Results > Yes
Without Cluster Option
Analysis Settings ModeSup Harmonic
With Cluster Option
2012 ANSYS, Inc. March 28, 2013 42 Release 14.5
Analysis Settings > Options
Include Residual Vector
In MSUP analysis, the dynamic response will be approximate when
the applied loading excites the higher frequency modes of a
structure.
The residual vector method:
employs additional modal transformation vectors in addition to the
eigenvectors in the modal transformation .
accounts for high frequency dynamic responses with fewer eigenmodes.
... Analysis Settings ModeSup Harmonic
2012 ANSYS, Inc. March 28, 2013 43 Release 14.5
... Modesuperposition Harmonic Analysis
Setup a modesup transient analysis in the schematic by:
1. linking a modal system to a transient structural system at the solution level.
Notice in the transient branch, the modal analysis result becomes an initial condition.
2012 ANSYS, Inc. March 28, 2013 44 Release 14.5
... Modesuperposition Harmonic Analysis
2. Or, Analysis Setting > Solution Method > Mode Superposition
(Standalone Analysis)
2012 ANSYS, Inc. March 28, 2013 45 Release 14.5
14.5 Release
ANSYS Mechanical
Linear and Nonlinear Dynamics
Workshop 5
Harmonic Response
(FixedFixed Beam)