PSD Random Vibration Tutorial For Femap and NX Nastran 2
PSD Random Vibration Tutorial For Femap and NX Nastran 2
PSD Random Vibration Tutorial For Femap and NX Nastran 2
Table of Contents
1. INTRODUCTION ............................................................................................................................................................ 4
2. THE PSD FUNCTION ...................................................................................................................................................... 5
3. THE NX NASTRAN METHOD ......................................................................................................................................... 7
4. PSD UNITS .................................................................................................................................................................... 8
5. EXAMPLE 1: CANTILEVER BEAM ................................................................................................................................... 9
5.1 PROBLEM DEFINITION ........................................................................................................................................................................................9
5.2 ANALYTICAL SOLUTION .....................................................................................................................................................................................10
5.3 DEFINING THE SYSTEM DAMPING .......................................................................................................................................................................11
5.4 CREATING THE PSD FUNCTION ..........................................................................................................................................................................12
5.5 CREATING THE MODAL FREQUENCY TABLE/SETTING UP THE LOAD SET OPTIONS FOR DYNAMIC ANALYSIS ........................................................................13
5.6 LOADING & CONSTRAINING THE MODEL ..............................................................................................................................................................15
5.7 SPECIFYING GROUPS FOR NODAL AND ELEMENTAL OUTPUT ....................................................................................................................................16
5.8 CREATING AN ANALYSIS SET – SIMPLE PSD ..........................................................................................................................................................17
5.9 INTERPRETING THE OUTPUT...............................................................................................................................................................................24
5.10 POSITIVE CROSSINGS ...................................................................................................................................................................................25
5.11 FATIGUE ANALYSIS USING RMS STRESS AND POSITIVE CROSSINGS .......................................................................................................................27
5.12 FATIGUE ANALYSIS – TIME TO FAILURE ...........................................................................................................................................................28
6. EXAMPLE 2: SOLID MESHED BEAM ............................................................................................................................ 29
6.1 ANALYTICAL SOLUTION .....................................................................................................................................................................................30
6.2 PSD FUNCTION INPUT......................................................................................................................................................................................31
6.3 PSD STRESS RESULTS .......................................................................................................................................................................................32
6.4 COMPARING MILES’ APPROXIMATION AND PSD RESULTS ........................................................................................................................................33
Applied CAx / Predictive Engineering White Paper
Page 2 of 45
Please share with your friends and visit us online
Random Vibration Analysis 2017
7. CONCLUSION.............................................................................................................................................................. 34
8. RECOMMENDED READINGS ....................................................................................................................................... 34
9. APPENDIX................................................................................................................................................................... 35
9.1 FLOW CHART FROM NX NASTRAN THEORETICAL MANUAL ......................................................................................................................................35
9.2 CREATING MODAL FREQUENCY TABLE .................................................................................................................................................................36
9.3 AUTOCORRELATION FUNCTION...........................................................................................................................................................................39
9.4 MULTIPLE EXCITATION SPECTRUMS.....................................................................................................................................................................42
9.5 WHY WE DO A PSD ANALYSIS ............................................................................................................................................................................45
1. INTRODUCTION
Random vibration is vibration which can only be
described in a statistical sense. The magnitude at any
given moment is not known, but is instead described in
a statistical sense via mean values and standard
deviations.
Frequency PSD
(Hz) (G2/Hz)
20 0.01
100 0.05
900 0.05
1,100 0.01
For more of the nitty gritty math details see NASA’s webpage on random vibration here: https://femci.gsfc.nasa.gov/random/
A system subject to random vibration does not have a single resultant stress. Luckily for us, the stress results do typically
follow a Gaussian distribution (think bell-curve):
The Gaussian distribution allows stress results to be reported statistically. FEMAP will generate 1-σ stresses, which
represent the stress that the system will likely see 68% of the time. The 2-σ stress level covers 95% of cases, and 3-σ
covers 99.7%. Most of the time a system is designed to the 3-σ stress level.
Image By Dan Kernler (Own work) [CC BY-SA 4.0 (http://creativecommons.org/licenses/by-sa/4.0)], via Wikimedia Commons
The g(w) represents the system transfer function. A systems transfer function simply represents its output to input
ratio. NX Nastran performs a frequency response analysis on the system to obtain the system transfer function, and then
does the random vibration analysis as a post processing step based upon this transfer function.
4. PSD UNITS
It can be tricky keeping track of the units in any analysis; this is especially true with PSD analysis. The table below shows
the input and output units for a few of the most common unit systems. It doesn’t matter which system you go with but
be sure you are consistent throughout your analysis. The table below shows the properties for aluminum in each unit
system.
SI (mm,Mg,sec) 6.89e4 MPa 2.71e-9 Mg/mm3 1 g2/Hz 9807 mm/s2 1000 mm 1.0e-3MPa
Imperial (in, snail, sec) 10.0 e6 psi 2.54e-4 snail/in3 1 g2/Hz 386.1 in/s2 39.37 in 0.145 psi
Ψ
Steinberg, Dave S. Vibration Analysis for Electronic Equipment. 2nd ed. New York: John Wiley & Sons, 1988. 226-231.
1 𝑔
𝑓𝑛 = √ = 110.5 𝑄 = 2√𝑓𝑛 = 21
2𝜋 𝑌𝑆𝑡
In English units, the max PSDout = 13.14e6 in2/s4. This can also be verified against the FE Model.
Note: When approximating transmissibility (Q), the square root of the natural frequency should be scaled by 0.5 – 2 per Steinberg. In this case there is 100%
mass participation for the first mode, thus 2 is appropriate.
An approximation of the transmissibility of the beam is Q = 21. This value yields a critical damping ratio of 2.38%; this is
what we will use.
5.5 CREATING THE MODAL FREQUENCY TABLE/SETTING UP THE LOAD SET OPTIONS FOR DYNAMIC ANALYSIS
The Modal Frequency Table is a function which defines
which frequencies NX Nastran will obtain a solution
for; that is, each frequency represents a separate
solution that is written out to the results file. The
function can either be created manually, or FEMAP can
create one for you. If you do not know about which
frequencies you’d like the analysis to focus, it is
preferable to have FEMAP set it up, otherwise you will
most likely end up with a large amount of extraneous
output.
To have FEMAP set up the table for you, you must first run an eigenvalue analysis. Once the eigenvalue
analysis has run, FEMAP will know about which frequencies to concentrate.
The normal modes will be used to define the solution frequencies of the Random Analysis. Think of it as
guiding the Random Analysis such that only frequencies of interest (significant frequencies) are processed.
This greatly limits the amount of post-processing that is required for the Random Analysis. More will be
said on this later on….
Select Next…
PSD Functions: Generates ‘PSDF’ output set for each frequency in the
Modal Frequency Table
Autocorrelation Functions: Creates output for the autocorrelation
functions if applicable
Root Mean Square: Generates ‘CRMS’ results for each frequency in
the Modal Frequency Table
Select your PSD Function and be sure to select Apply. If desired Choose your constraint set and load created for the
you can scale the PSD function in the “Factor” input here. PSD analysis
Statistically speaking, this stress value represents the 1-σ value and will be
experienced 68.3% of the time. A 2-σ stress of 2*3,162 or 6,324 psi will be
experienced 27.1% of the time and a 3-σ value of 9,486 psi will be n1 n2 n3
experienced 4.33% of the time. These values represent 99.73% of the Rn
stresses the beam will see at point A. It is probable that the beam will see N1 N 2 N3
stresses at and above the 4σ level, but this will only happen 0.27% of the
time, so we will ignore them.
All three σ level stresses fall into the “run-out” range on a fatigue curve for
aluminum. To demonstrate how to treat the problem if this is not the
case, let us assume that there is a small hole in the beam which causes a
stress concentration factor of 3. This would put the 1-σ stress level at
9,486 psi. We can use Miner’s cumulative damage index to get a sense of
how long the beam will last under this condition. Miner’s cumulative
damage is given by the equation on the right.
# of Cycles
infinite 11.0E6 cycles 14.0E4 cycles
to Fail
1 𝑔
𝑓𝑛 = √ ( ) = 110.6 𝐻𝑧 𝑄 = 2√𝑓𝑛 ≈ 21
2𝜋 𝑌𝑚𝑎𝑥
Utilizing Miles’ Equation to estimate Grms we see that Grms is approximately 27 Gs:
𝜋
𝐺𝑜𝑢𝑡𝑅𝑀𝑆 = √ 𝑃𝑆𝐷𝑖𝑛 𝑓𝑛 𝑄 = 27𝐺 ′ 𝑠
2
Damping Function
𝑖𝑛
10,300
𝑠 2 = 27 𝐺𝑠
𝑖𝑛
386.09 2
𝑠
Hand Calculations:
𝐹𝑑 = 27 ∗ 𝑊 ∗ 𝑆𝑎 = 13.5 𝑙𝑏𝑓
𝑇
𝑀𝑐 (𝐹𝑑 𝐿)( )
𝑆𝑡𝑟𝑒𝑠𝑠 = = 2 = 3,240 𝑝𝑠𝑖
𝐼 𝐼
This comparison between the PSD results, Miles’ equation, and hand calculations offer some insight into the relative
accuracy of the analysis.
7. CONCLUSION
The topic of Random Vibration is complex. What is presented here is a brief introduction to the theory and
implementation of the subject. It is suggested that the user read a bit of the documentation provided on this subject
within the NX Nastran library that is installed with every license of FEMAP & NX Nastran.
For a lot of FEA work, a straightforward recipe to accomplish your analysis task is seldom available and if it does, could
easily lead you down the wrong path. Thus, I’m fond of saying that nothing beats having a good theoretical
understanding of what you are doing and being highly suspicious of any result generated in “color”. Or as I have read
“Computer models are to be used but not necessarily believed.”
8. RECOMMENDED READINGS
Linear Dynamics for Everyone, Three Part Series on Vibration (www.PredictiveEngineering.com)
Principles of Vibration Analysis: Normal Modes to PSD to Direct Transient (www.AppliedCAx.com)
Vibration Analysis for Electronic Equipment by Dave S. Steinberg
NX Nastran Basic Dynamic Analysis User's Guide
9. APPENDIX
9.1 FLOW CHART FROM NX NASTRAN THEORETICAL MANUAL
PSD analysis is statistical and the 1-sigma stress output is simply the stress the structure will likely see when subject to a
specified acceleration spectrum. The random vibration solver doesn’t calculate the stress at every frequency—it only
solves for the stress at the frequencies specified in the Modal Frequency Table. The simplified process is that it solves for
the stress at each value in the Modal Frequency Table, and then combines those stress results to give the RMS stress.
The red line in the image below shows the response at the natural frequency. The orange lines show the response at
multiple points with a 10% spread from the natural frequency. As you can see, the response drops off as you move away
from the natural frequency so adding more solve points, or a greater spread from the natural frequency does not
improve accuracy of the results, but it does add significant computational cost.
The chart below shows Modal Frequency Tables (X-axis is frequency, Y-axis is arbitrary) with varying number of solution
points and the resultant RMS stress on a simply supported beam. With a single solve point at the natural frequency it
significantly overestimates the RMS stress. The default 5 points with 10% spread gives a more reasonable result, and you
can see even going up to an impractical 55 points with 20% spread gives a result within a few percent of the default table
configuration.
1-σ RMS Stress, 1 Point at fn 1-σ RMS Stress, 5 Points with 10% Spread 1-σ RMS Stress, 55 Points with 20% Spread
If we take our beam example and plot the autocorrelation function for displacement on a couple of nodes we can get a
more intuitive idea of what is going on. No matter the lag time, the autocorrelation at the excitation node is very close to
zero. At lag = 0, the autocorrelation for the node at the end of the beam is high while the node at the middle of the beam
is lower amplitude, and follows the same sinusoidal pattern. From this plot we can infer that a small lag time results in a
high autocorrelation at the beam end, and it tapers off as you increase the lag time. It is worth noting that the period of
the sinusoidal response shown here is 0.009 seconds, which matches the 110 Hz natural frequency of the beam.
Excitation Node
Middle Node
At this point you may be wondering how to generate the autocorrelation function in your analysis. In the first NASTRAN
Output dialogs, select “Autocorrelation Functions” or “All”. Choose the desired nodal or elemental outputs to plot, and
then enter the desired Autocorrelation Function Time Lag values.
First the boundary conditions must be set up as shown—with your excitation points defined in separate load sets and all
of the constraints in one Constraint Set.
With the boundary conditions set up, prepare the random analysis in the usual manner, but do not specify boundary
conditions. Instead, specify the boundary conditions as subcases in the Analysis Set Manager.
After that is set up, go back to edit the PSD Factors tab. Here you will notice it looks a little different than the previous
method. You can now choose PSD Functions for each subcase, and you can correlate the two sub cases for coupled
analysis if desired. If you do not wish to correlate the sub cases, leave the settings at their default values.