Blog

Using Residual Vectors to Improve Random Vibration Analysis Accuracy

Residual vectors in random vibration analysis improve stress accuracy with fewer modes. See APDL steps and validation in Ansys Mechanical.

Published
Nov 12, 2026
Read time
4 min read
Author
Mitchell Hortin
Figure 6 Equivalent stress result for random vibration with 100 modes residual vectors in random vibration

Introduction to Residual Vectors in Random Vibration Analysis

When performing modal superposition random vibration analysis, you must expand enough modes to achieve accurate results. This means covering either 1.5 times the frequency range of the input random vibration PSD or a high cumulative effective mass participation ratio, often around 90–95% in the excitation directions of interest. That target is useful, but it can become expensive for large finite element models because each additional mode adds computational cost and result file storage requirements.

Using residual vectors in random vibration analysis provides a practical way to improve the completeness of a modal basis without extracting and expanding a large number of additional modes. These pseudo-modes capture high-frequency structural response that may not be adequately represented by the extracted mode shapes alone.

This post walks through why residual vectors matter, how they fit into a modal workflow, and how to use them in a downstream random vibration analysis.

How Residual Vectors Improve Random Vibration Analysis

The residual vector method subjects the structure to a load, usually an acceleration, and computes the static deflection of the structure in response to that load. The method then subtracts the deflection already accounted for by the modal analysis, and what is left over is the residual vector. The residual vector is treated as a pseudo-mode and added to the mode set for the modal analysis.

Residual vectors are effective at capturing high-frequency responses when the response of the system tracks the load amplitude in a quasi-static manner. They will not make up for missing modes at lower frequencies that induce significant dynamic amplification. That said, residual vectors are a valuable method for capturing high-frequency behavior when expanding more modes isn’t an option due to performance or storage constraints.

Workflow

Residual vectors can be incorporated into a random vibration analysis through GUI options, but these come with some restrictions on the loads and the types of random vibration PSD that can be applied. In this guide, we demonstrate how to accomplish this with APDL command snippets that can be added to any modal superposition random vibration analysis.

Modal Analysis

To instruct the modal analysis to compute residual vectors, insert a command snippet in the modal environment of the model tree. Use the following syntax:

RESVEC,ON
ACEL,1,0,0
SOLVE
ACEL,0,1,0
SOLVE
ACEL,0,0,1
SOLVE

This command snippet turns on the computation of residual vectors and applies a unit acceleration in each coordinate direction, which produces three residual vectors. If the user is only interested in results in one coordinate direction, the acceleration loads in the other directions can be omitted.

The residual vectors may or may not show up in the graphical view of the computed modes, but they should be visible in the participation factor summary.

Random Vibration Analysis

To instruct the random vibration analysis to use the residual vectors, insert a command snippet in the random vibration analysis environment of the model tree. Use the following syntax:

RESVEC,ON
ACEL,0,0,0

An additional crucial detail is to set the Step Selection Mode of the command snippet to Participation Factors Calculation in the details of the command snippet as shown below.

residual vectors in random vibration step analysis mode settings

This will turn on the use of residual vectors and set the acceleration to 0.

The user can verify that the residual vectors are being used by reviewing the solver output and searching for a section that reports the modes used in the analysis. In the example below, 20 modes come from the modal analysis and 3 modes come from residual vectors.

residual vectors in random vibration frequencies used

Validating Residual Vectors Against a 100-Mode Analysis

As an example, we will examine the geometry shown below:

Figure 1 Example geometry showing the fixed boundary conditions residual vectors in random vibration
Figure 1: Example geometry showing the fixed boundary conditions.

The input PSD for the random vibration analysis is shown below. This will be applied in the X axis direction.

Figure 2 Input PSD for random vibration in the X direction. residual vectors in random vibration
Figure 2: Input PSD for random vibration in the X direction.

The modal analysis is set to expand 20 modes, which covers a range up to 85 Hz, which is less than half the frequency range of the random vibration input PSD.

Figure 3 Results of modal analysis with 20 modes expanded residual vectors in random vibration
Figure 3: Results of modal analysis with 20 modes expanded.

The image below shows the equivalent stress results for random vibration with 20 modes without residual vectors. Note that the max equivalent stress is 302 MPa.

Figure 4 Equivalent stress results for random vibration with 20 modes without residual vectors in random vibration
Figure 4: Equivalent stress results for random vibration with 20 modes without residual vectors.

The image below shows the equivalent stress results for random vibration with 20 modes and residual vectors included. Note the difference in max equivalent stress and the stress pattern.

Figure 5 Equivalent stress results for random vibration with 20 modes with residual vectors in random vibration
Figure 5: Equivalent stress results for random vibration with 20 modes with residual vectors.

For verification, we ran an equivalent analysis, except that the modal analysis expanded 100 modes. This provides coverage up to 282 Hz, which is close to the guideline of 1.5 times the frequency range of the input PSD. The equivalent stress results for this analysis are shown below.

Figure 6 Equivalent stress result for random vibration with 100 modes residual vectors in random vibration
Figure 6: Equivalent stress result for random vibration with 100 modes.

Using this as a reference, we can see that the results with residual vectors are much closer to the reference result in terms of max equivalent stress and stress pattern. It’s not a perfect replacement, but it may be an acceptable approximation when expanding enough modes is not practical.

Residual Vectors in Random Vibration Analysis Example Archive

Download the archive project here: ResidualVectorsCaseStudy.wbpz

Improve Your Structural Dynamics Simulations

Need help improving the accuracy and efficiency of modal or random vibration analyses? SimuTech Group’s Ansys experts can help you optimize your simulation workflows and evaluate results with confidence.

Contact Our Simulation Experts

At a glance
Published
Nov 12, 2026
Talk with an engineer
Written by
mitchell-hortin-headshot Mitchell Hortin, M.S. Mechanical Engineering Senior Staff Engineer LinkedIn

Mitchell Hortin is a CAE engineer with 10 years of experience in structural analysis and engineering software development. He brings a strong foundation in computational mechanics, linear algebra, and system modeling, with extensive hands-on experience using, validating, and providing technical support for engineering analysis tools. His career spans both startups and large organizations, where he has built a track record of delivering high-quality work on schedule. Mitchell holds an M.S. in Mechanical Engineering from Brigham Young University with a focus on biomechanics and materials science, and is currently pursuing a Ph.D. emphasizing computational mechanics.

Share

We're here to help

Our team of experienced engineers can assist you at any step of your process.