In our first article we saw how FEA turns a real object into a mathematical model through discretisation: cutting the part into finite elements connected by nodes. But discretising is only the opening move. What does the software do with that mesh to turn it into a stress number?
FEA doesn't improvise. Whether you're aware of it or not, every time you hit "Solve" the software runs the same sequence of seven steps, in the same order, to turn physical laws into thousands of simultaneous algebraic equations. Understanding that sequence — and knowing which of the seven steps is actually yours to make — is what separates operating the software from understanding what it does.
A map before the detail
Before going through each step, it helps to see the whole picture. Of the seven, the first is a decision made by the engineer; the remaining six are executed automatically by the software, chained into a single process: from mesh to matrix, from matrix to displacements, from displacements to stresses.
Step 1: Discretisation and element type selection
The first step is dividing the structure into small parts called elements, connected by nodes. Here, the engineer must decide which element type best represents the physics of the problem:
- 1D (lines): rods or beams for slender structures.
- 2D (planes): for plane stress or plane strain states and thin shells.
- 3D (solids): tetrahedra or hexahedra for bulky parts.
The software doesn't make this choice for you — and a badly chosen element invalidates everything that follows, however precise the rest of the calculation is.
Step 2: Selecting a displacement function
Within each element, the software has to "guess" how the material will deform between the nodes. To do that, it assumes a displacement function (usually a linear, quadratic or cubic polynomial). These functions are expressed through shape functions, which guarantee that the displacement at any interior point depends on the movements of that element's nodes.
Step 3: Defining the strain-displacement and stress-strain relations
This is where we move from geometry to physics:
- Strain-displacement. Kinematic equations relate how much the material stretches to the movement of the nodes.
- Stress-strain. The material's constitutive law (such as Hooke's law) is applied to relate those strains to internal stresses.
Step 4: Deriving the element stiffness matrix ([k])
This is the step where each element's "DNA" is built. Using methods such as direct equilibrium or the principle of minimum potential energy, a matrix is generated that relates the nodal forces to the nodal displacements of that individual element:
Step 5: Assembling the global equations and boundary conditions
The software takes all the small individual matrices and joins them into a global stiffness matrix ([K]) representing the whole structure. However, this matrix is initially "singular" (unstable). Boundary conditions (restraints or supports) must be applied to stop the model from moving through space as a rigid body.
Step 6: Solving for the unknowns (displacements)
Now that we have a giant system of equations, the computer uses numerical methods (such as Gaussian elimination) to find the displacements at every node. These displacements are the primary unknowns of FEA.
Step 7: Computing elemental stresses and strains
Once we know how much each node has moved, the process runs in reverse. Using the relations defined in step 3, the software computes the strains and, finally, the stresses (such as Von Mises) within each element. These results are what you see displayed in the familiar colour contours of a simulation.
What the engineer decides, and what they don't
Steps 2 through 7 run without you: they're mechanical, repeatable, and leave no room for judgement. Step 1 — discretisation — is the exception. That's where you decide which element type to use, which displacement function you're implicitly assuming by choosing it, and which simplifications you accept. A mistake in that single manual step invalidates the other six, however well they're solved.
In the next article we go into the heart of all this: the stiffness matrix [K]. Using the simplest possible example — a linear spring — we'll see how the global equations are assembled, and why that matrix decides, more than any other part of the calculation, whether your simulation can be trusted.