ANSYS Modal and Harmonic Analysis: Natural Frequencies, Vibration, and Resonance
A guide to modal and harmonic analysis in ANSYS Workbench covering natural frequency extraction, mode shape evaluation, harmonic response to rotating machinery, resonance avoidance, and PSD random vibration analysis.

ANSYS Modal and Harmonic Analysis: Natural Frequencies, Vibration, and Resonance
I'll be honest — vibration analysis wasn't something I paid much attention to until a bracket I designed started cracking at a frequency I hadn't even considered. That taught me real fast why modal and harmonic analysis matter. Let me walk you through how I approach vibration simulation in ANSYS, from pulling out natural frequencies to checking whether your structure will shake itself apart at resonance.
Modal Analysis
Setup
- Drag "Modal" to Project Schematic
- Import geometry and assign materials
- Define boundary conditions (supports only — no loads in modal)
- Set number of modes: 6-20 (typical)
Pre-Stressed Modal
- Link Static Structural solution to Modal setup
- Modal analysis includes pre-stress effects:
- Tension stiffening: Increases natural frequency (e.g., guitar string)
- Compression softening: Decreases natural frequency (e.g., column)
- Spin softening: For rotating structures (e.g., turbine blade)
Solver Options
- Analysis Settings:
- Solver type:
- Block Lanczos: Default, fast for most problems
- PCG Lanczos: For large models with many modes
- Unsymmetric: For non-symmetric matrices (fluid-structure)
- Damped: For damped modal analysis
- Max modes to find: 6-20
- Frequency range: 0-10000 Hz (limit search range)
- Solver type:
Running Modal Analysis
- Solve
- Results:
- Frequencies: Listed in Hz (cycles per second)
- Mode shapes: Deformation pattern for each mode
- Participation factors: How much each mode contributes in each direction
- Effective mass: Mass participating in each mode
Interpreting Results
Frequency Table
| Mode | Frequency (Hz) | Direction | Description | |------|---------------|-----------|-------------| | 1 | 12.5 | Y (vertical) | First bending | | 2 | 31.2 | X (lateral) | First lateral | | 3 | 45.8 | Z (torsional) | First torsion | | 4 | 78.3 | Y (vertical) | Second bending | | 5 | 95.1 | X (lateral) | Second lateral | | 6 | 112.4 | Y+Z (coupled) | Bending-torsion |
Mode Shape Evaluation
- Insert > Total Deformation (for each mode)
- View mode shape:
- Bending mode: Deflection in one direction
- Torsional mode: Twisting about an axis
- Axial mode: Extension/compression
- Coupled mode: Combination of above
- Identify critical modes:
- Modes in the direction of expected excitation
- Modes with high effective mass
Effective Mass Check
- Check effective mass per mode:
- Sum of effective mass should be ≥ 90% of total mass
- If not: extract more modes
- High effective mass = important mode for dynamic response
Mass Participation
| Mode | Frequency (Hz) | Eff. Mass X (kg) | Eff. Mass Y (kg) | Eff. Mass Z (kg) | |------|---------------|-----------------|-----------------|-----------------| | 1 | 12.5 | 0.1 | 4500 | 0.2 | | 2 | 31.2 | 4200 | 0.5 | 0.1 | | 3 | 45.8 | 0.2 | 0.3 | 3800 | | Total | - | 4203 | 4503 | 3803 |
Total mass = 5000 kg. Y-direction participation = 90% (good). Extract more modes if < 90%.
Harmonic Analysis
Setup
- Drag "Harmonic Response" to Project Schematic
- Link Modal solution to Harmonic setup (for mode-superposition method)
- Or use "Full" method (direct solution, slower but more accurate)
Analysis Settings
- Set:
- Frequency range: 0-200 Hz (must cover modes of interest)
- Number of intervals: 100-500 (resolution of frequency sweep)
- Method:
- Mode Superposition: Fast, uses modal results
- Full: Direct harmonic solution, includes all modes
- Constant or proportional damping:
- Constant damping ratio: 2-5% (typical for steel)
- Proportional damping (Rayleigh): α and β coefficients
Damping
-
Modal damping ratio (ζ):
- Steel structures: 0.5-2%
- Concrete structures: 2-5%
- Bolted joints: 3-7%
- Welded joints: 1-3%
- Composite structures: 2-5%
-
Rayleigh damping:
- C = α × M + β × K
- α: Mass-proportional (low frequency damping)
- β: Stiffness-proportional (high frequency damping)
- Calculate from two frequencies and damping ratios:
- α = 2 × ζ × ω1 × ω2 / (ω1 + ω2)
- β = 2 × ζ / (ω1 + ω2)
Harmonic Load
- Insert > Force (or Displacement, Pressure)
- Set:
- Magnitude: Amplitude (e.g., 1000 N)
- Phase angle: 0° (in-phase) or specified
- Frequency: Swept across specified range
Rotating Machinery Excitation
- For unbalanced rotor:
- Force = m × e × ω²
- m: Unbalanced mass (kg)
- e: Eccentricity (m)
- ω: Rotational speed (rad/s) = 2π × RPM / 60
- Example:
- m = 0.1 kg, e = 0.01m, RPM = 3000
- F = 0.1 × 0.01 × (2π × 3000/60)² = 987 N
- Apply as rotating force:
- FX = F × cos(ωt)
- FY = F × sin(ωt)
Results
Frequency Response Plot
- Insert > Frequency Response
- Select a vertex or face
- Set:
- Variable: Displacement, velocity, or stress
- Direction: X, Y, or Z
- View:
- Amplitude vs. frequency: Peak at resonance
- Phase vs. frequency: Phase shift at resonance
Resonance Identification
- Peaks in frequency response = resonance
- Compare peak frequencies to modal frequencies:
- Should match (within damping bandwidth)
- If not: check damping and excitation direction
Stress at Resonance
- Insert > Equivalent Stress
- Set frequency to resonant frequency
- View stress distribution at resonance
- Check:
- Fatigue: Alternating stress at resonance (may cause failure)
- Yield: Peak stress at resonance (may cause permanent deformation)
Random Vibration (PSD) Analysis
Setup
- Drag "Random Vibration (PSD)" to Project Schematic
- Link Modal solution to PSD setup
- Requires modal analysis with sufficient modes
PSD Input
- Insert > PSD Base Excitation
- Set:
- PSD type: Acceleration, velocity, or displacement
- Direction: X, Y, or Z
- PSD table: Frequency vs. PSD value (g²/Hz)
Typical PSD Spectra
Transportation (ASTM D4169): | Frequency (Hz) | PSD (g²/Hz) | |----------------|-------------| | 1 | 0.0001 | | 10 | 0.01 | | 40 | 0.01 | | 100 | 0.001 | | 200 | 0.001 |
Earthquake (El Centro): | Frequency (Hz) | PSD (g²/Hz) | |----------------|-------------| | 0.5 | 0.005 | | 2 | 0.05 | | 5 | 0.02 | | 10 | 0.005 | | 25 | 0.001 |
Results
- 1σ (1 standard deviation): 68.3% probability
- 3σ: 99.7% probability
- Insert > Directional Deformation (1σ)
- Insert > Equivalent Stress (1σ)
- For design:
- Use 3σ values for conservative design
- σ3σ = 3 × σ1σ
Resonance Avoidance
Frequency Separation
- Identify excitation frequencies:
- Rotating equipment: f = RPM / 60
- Blade passing: f = RPM × Nblades / 60
- AC frequency: 50 or 60 Hz
- Wind vortex shedding: f = St × V / D
- Compare to natural frequencies:
- Safe separation: fnat / fexc > 1.5 or fnat / fexc < 0.67
- If within ±20%: resonance risk
Design Modifications
If natural frequency is too close to excitation:
- Increase stiffness: Add material, increase section, add bracing
- fnat ∝ √(k/m) — increasing k raises fnat
- Reduce mass: Remove material (if strength permits)
- fnat ∝ √(k/m) — decreasing m raises fnat
- Add damping: Dampers, viscoelastic materials, friction joints
- Reduces resonance amplitude
- Change excitation: Change RPM, add variable frequency drive
- Detune: Modify geometry to shift natural frequency away from excitation
Verification Checklist
- [ ] Boundary conditions match actual support conditions
- [ ] Mass is correctly distributed (density and geometry)
- [ ] Number of modes captures 90%+ effective mass
- [ ] Frequency range covers expected excitation frequencies
- [ ] Damping values are realistic for the structure type
- [ ] Harmonic load magnitude and direction are correct
- [ ] No resonance within ±20% of excitation frequency
- [ ] Stress at resonance is below fatigue limit
- [ ] PSD spectrum matches expected environment
- [ ] 3σ stress is below yield for random vibration
Common Vibration Issues
Missing Modes
Symptom: Effective mass < 90% of total mass. Fix: Extract more modes. Check for rigid body modes (should be ~0 Hz if free-free).
Resonance at Operating Speed
Symptom: Natural frequency matches excitation frequency. Fix: Increase stiffness (raise fnat) or reduce mass (raise fnat) or add damping (reduce amplitude) or change operating speed.
Excessive Vibration Amplitude
Symptom: Displacement at resonance exceeds allowable. Fix: Add damping (most effective at resonance). Increase stiffness (shifts resonance and reduces amplitude). Reduce excitation force.
PSD Stress Exceeds Yield
Symptom: 3σ stress > yield strength. Fix: Increase stiffness or strength. Add damping. Redesign to reduce stress concentration at high-stress modes.
Wrapping Up
If I could give one piece of advice about vibration analysis, it's this: don't skip the effective mass check. I've seen too many analyses where someone extracted six modes, called it done, and missed a critical mode that held 40% of the mass in a direction that mattered. Extract enough modes to get 90%+ effective mass, use realistic damping (not the default), and make sure no natural frequency sits within 20% of your excitation frequency. Do that, and you'll catch resonance issues before they become field failures.
Source Verification
More Ansys Workbench Guides
workflow
ANSYS Fluent CFD: Meshing, Boundary Conditions, and Flow Analysis
13 min read
workflow
ANSYS Thermal Analysis: Steady-State, Transient, and Coupled Thermal-Structural Simulation
12 min read
workflow
ANSYS Topology Optimization and Design Exploration: Parametric Studies and Weight Reduction
12 min read
workflow
ANSYS Workbench Modal Analysis: Natural Frequencies, Mode Shapes, and Resonance Avoidance
10 min
workflow
ANSYS Workbench Nonlinear Analysis: Contact, Plasticity, and Large Deformation Setup
11 min
workflow
ANSYS Workbench Static Structural Analysis: Mesh, Materials, Loads, and Result Interpretation
12 min
Related workflow Guides
Similar workflow content for other CAD tools
Abaqus
•workflow
Abaqus Composite Material Analysis: Laminate Modeling, Damage, and Progressive Failure
12 min read
Abaqus
•workflow
Abaqus Contact Mechanics: General Contact, Friction, and Wear Simulation
12 min read
Abaqus
•workflow
Abaqus/Explicit Dynamic Analysis: Crash, Drop Test, and High-Speed Impact Simulation
13 min read
Abaqus
•workflow
Abaqus Fracture Mechanics: XFEM, Cohesive Zone, and J-Integral for Crack Propagation
12 min read