Skip to main content

Featured Post

Why I Wrote The Sheet Mechanic (And Why Calculations Aren’t Enough)

For engineers who already know the math—but still lose projects. For the last few years, I’ve been sharing technical guides here on Mechanical Design Handbook —how to size a motor, how to calculate fits, and (as you recently read) how to choose between timing belts and ball screws. But after 25 years in industrial automation, I realized something uncomfortable: Projects rarely fail because the math was wrong. They fail because: The client changed the scope three times in one week. A critical vendor lied about a shipping date (and no one verified it). The installation technician couldn’t fit a wrench into the gap we designed. University taught us the physics. It didn’t teach us the reality. That gap is why I wrote my new book, The Sheet Mechanic . This is not a textbook. It is a field manual for the messy, political, and chaotic space between the CAD model and the factory floor. It captures the systems I’ve used to survive industrial projec...
NEW RELEASE: Stop trying to be a Hero. Start being a Mechanic. Get "The Sheet Mechanic" on Amazon »
Disclosure: As an Amazon Associate, I earn from qualifying purchases.

FEA Solution Phase: Stiffness Matrices, Solvers, and Convergence

The following four-article series serves as a comprehensive introduction to the analysis discipline known as the finite element method (FEM). Originally based on works by engineering consultant Steve Roensch, this guide has been updated to cover modern solver algorithms and hardware acceleration.

Third in a four-part series.
Previous: Part 2: Pre-processing & Meshing

Advertisement

The Solution Phase: Solving the Matrix

While the pre-processing and post-processing phases are interactive and human-intensive, the solution phase is a computational batch process. It is the "black box" where the computer does the heavy lifting.

This phase is the primary bottleneck for complex models. For professional analysis, we recommend using dedicated Mobile Workstations or high-performance desktops equipped with ample RAM (64GB+) and, increasingly, GPU acceleration (CUDA) to speed up matrix operations.

The Governing Equation: [K]{d} = {r}

The solver's job is to assemble millions of individual element equations into a global system equation. For a linear static structural analysis, this takes the form of the famous matrix equation:

[K] {d} = {r}
  • [K] - The Stiffness Matrix: A massive square matrix representing the geometric and material stiffness of the entire structure.
  • {d} - The Displacement Vector: The "unknowns." The solver tries to find the displacement (X, Y, Z) of every node.
  • {r} - The Load Vector: The external forces and pressures applied to the model.
Visualization of a Sparse Stiffness Matrix pattern in FEA
Figure 1: Visualizing the Global Stiffness Matrix. The "banded" diagonal pattern (Sparsity) allows solvers to ignore the millions of zeros (black areas) to save time.

Mathematically, the solver is attempting to minimize the total Potential Energy of the system. It finds the unique position of every node where the internal strain energy balances the external work done by loads (Equilibrium).

Advertisement

Modern Solver Algorithms

Inverting the [K] matrix directly is computationally impossible for large models (millions of rows). Instead, modern software (Ansys, Nastran, Abaqus) uses two main types of solvers:

  1. Direct Sparse Solvers: The industry standard for most mechanical problems. It uses variations of Gaussian elimination (like LDLT factorization) to solve the system exactly.
    Pros: Robust and accurate for thin-walled or ill-conditioned models.
    Cons: Requires massive amounts of RAM.
  2. Iterative Solvers (PCG): These use an "educated guess" approach (Preconditioned Conjugate Gradient). They iterate towards the solution until the error drops below a tolerance.
    Pros: Very fast for bulky, solid models (engine blocks) and uses less RAM.
    Cons: Can fail to converge if the model has contact or gaps.

Dynamic Analysis and Advanced Methods

While static analysis solves for equilibrium, Dynamic Analysis adds Mass [M] and Damping [C] matrices to the equation: [M]{a} + [C]{v} + [K]{d} = {F(t)}.

  • Modal Analysis: Finds the natural resonant frequencies (eigenvalues) of the part. This is a critical first step to ensure your design doesn't vibrate itself to pieces.
  • Harmonic & Transient: These advanced solvers calculate the full response (stress/displacement) over time or frequency ranges.

Continue to Part 4:
Finite Element Analysis (FEA): Post-processing & Verification »

Comments

Popular posts from this blog

Dowel Pins & Locating Pins: The Basics of Fixture Design

Dowel pins are precision cylindrical pins used for accurate part alignment in assemblies. They control position, not clamping force. This guide explains tolerances, fits, sizing rules, and design best practices. Figure 1: A typical fixture setup. Notice how dowel pins (silver) provide precise location, while bolts (not shown here) provide the clamping force. In the world of Precision Engineering , the difference between a high-quality product and a scrap part often comes down to microns. While bolts hold parts together, they are terrible at positioning them. This is where Dowel Pins and Locating Pins become essential components in industrial tooling . Advertisement What is a Dowel Pin? Dowel pins are precision-ground fasteners used to secure the relative position of two parts. They are typically machined to extremely tight tolerances (often within 0.0001 inches) and are available in materials like: Hardened Steel: For high-wea...

NEMA 17 vs NEMA 23: Torque, Speed, and When to Upgrade

When building a CNC router or upgrading a 3D printer, the first question is usually: "Is NEMA 17 enough, or do I need NEMA 23?" Most beginners look at the Holding Torque and stop there. This is a mistake. A NEMA 23 motor isn't just "stronger"—it is physically different in ways that affect your speed, your driver choice, and your machine's ability to avoid missed steps. If you choose a NEMA 17 for a heavy gantry, it is far more likely to overheat or lose steps under cutting load. If you choose NEMA 23 for a fast 3D printer, it might actually run slower than the smaller motor. This guide explains the engineering limits of each frame size. Table of Contents 1. Physical Difference (The Frame Size) 2. Torque & Speed (The Inductance Trap) 3. Driver Compatibility 4. Selection Summary Advertisement 1. Physical Difference (The Frame Size) "NEMA" is just a standard for ...

Flywheel Construction and Design: A Guide to Energy Storage Wheels

A flywheel is a mechanical device with a significant moment of inertia used as a kinetic energy storage reservoir. Flywheels are designed to resist changes in rotational speed, helping to steady a shaft's rotation when a fluctuating torque is applied (as seen in reciprocating engines) or when the load itself is intermittent (such as in piston pumps or punching presses). Advertisement Beyond smoothing rotation, flywheels are increasingly used to produce high-power pulses for industrial experiments. In these cases, drawing the required instantaneous power from an electrical network would create unacceptable spikes. Instead, a small motor slowly accelerates the flywheel between pulses, storing energy to be released in a single high-torque event. Figure 1: Modern flywheels are sophisticated energy storage systems for steadying rotation and delivering power pulses. 1. Classification: Balance Wheels vs. Flywheel Pulleys Flywheels are gene...