About FEA – How the Finite Element Method Works
Two solvers, one method
The two FEA modules on this site are applications of the same numerical method, applied to two different idealisations of a structure. FEA Solver 2D analyses plane frames and trusses: every node has three degrees of freedom and every member carries an axial force, a shear force and a bending moment. FEA Solver 3D analyses space frames: six degrees of freedom per node, torsion and bending about both principal axes. Both solve the same linear elastic, static problem — they only differ in what the element is allowed to do.
| Module | Model | Results | Guide |
|---|---|---|---|
| FEA Solver 2D | plane frame, 3 DOF per node | N, V, M and modes (ω, f, T) | user guide |
| FEA Solver 3D | space frame, 6 DOF per node | N, Vy, Vz, Mx, My, Mz and modes (ω, f, T) | user guide |
What the finite element method is
A real structure has an infinite number of material points, so its equilibrium cannot be written as a finite set of equations. The finite element method replaces the structure by a discretisation: a limited number of nodes, connected by elements. Instead of solving for a continuous displacement field, we solve for a limited number of nodal values — the unknowns of the problem.
For a linear elastic structure the result is a system of linear equations, one per degree of freedom:
where K is the global stiffness matrix (how stiff the structure is in every degree of freedom), u is the vector of nodal displacements (the unknowns) and F is the vector of applied loads, converted into equivalent nodal forces.
The method is applied in the same sequence in every program, including the two on this site:
- Idealisation — decide which parts of the structure carry the load and how they are supported (a beam, a frame, a truss, bracing only in tension).
- Discretisation — place nodes at member ends, supports and load points, and connect them with elements.
- Element stiffness — for each element, build the local matrix that relates its end displacements to its end forces.
- Assembly — add every element matrix into the global matrix, in the position given by the node numbers.
- Boundary conditions — remove the degrees of freedom that the supports restrain.
- Solution — solve the linear system for the unknown nodal displacements.
- Post-processing — recover the reactions, the member end forces and, from them, the internal force diagrams and stresses.
Each of the seven steps has a mathematical content that this page states only in outline. The derivation of the matrices, the integrals behind them and the numerical consequences are set out in the theory note The Finite Element Method for Frames, which follows the same seven steps and gives the closed-form checks for each of them.
The frame element used here
Both modules use a two-node frame element based on Euler–Bernoulli beam theory: plane sections remain plane and perpendicular to the member axis, and shear deformation is neglected. That is the standard choice for slender steel members, where the length is at least ten times the depth.
The element is described in its own local axes: x along the member, y perpendicular (the "up" direction of the member) and z completing the right-handed triad. In 3D the orientation of y and z is fixed by a roll angle, which is how an I-section is turned so that its strong axis lies in the plane of bending.
| Quantity | Symbol | Where it comes from |
|---|---|---|
| Axial stiffness | EA/L | area A of the section, modulus E of the material |
| Bending stiffness | 12EI/L³ and 4EI/L, 2EI/L | second moment of area I (Iz or Iy) |
| Torsional stiffness | GJ/L | torsion constant J, shear modulus G |
The stiffness terms above are the familiar ones from structural analysis; the element matrix simply collects them in a form the computer can assemble. For the 3D element the same bending terms appear twice — once for bending about the local z axis, once about the local y axis — and a torsional term couples the two ends about the member axis:
The local matrix kL is rotated into the global axes by the transformation matrix T, which contains the direction cosines of the member. That is why a model can be drawn in any orientation and still be solved in one global coordinate system.
Loads become equivalent nodal forces
A load applied between two nodes — a uniformly distributed load on a beam, a point load, a moment — cannot be put directly into the vector F, because F only holds values at nodes. The program converts the load into consistent equivalent nodal forces, computed with the same shape functions that describe the member deflection. This is not an approximation of convenience: the resulting nodal forces produce the same work as the distributed load, so the nodal displacements are exact for the element (within the assumptions of the theory). The internal force diagrams are then recovered from the element end forces plus the actual load along the member, which is why the diagrams in these tools are continuous curves and not straight lines between nodes.
A common mistake is to model a distributed load by splitting it into a few nodal forces. The reactions look acceptable but the bending diagram between the nodes is wrong. Enter the load as a member load and let the program build the consistent vector.
End releases
A member end can be released — a hinge in a beam, a pin in a bracing member, a torsion release in a 3D model. Both modules treat releases the rigorous way, by static condensation of the released rotation: the rotation becomes an internal degree of freedom of the element and is eliminated from the global system. The released end moment is then exactly zero, while every other member framing into the same node keeps its full stiffness. Adding a fictitious spring or a very small stiffness instead would pollute the results of the surrounding members.
What FEA Solver 2D computes
The 2D module is intended for the frame that carries the load in one plane: portal frames, roof trusses, bracing in a vertical plane, continuous beams on several supports. Every node has three degrees of freedom — translation in x, translation in y and rotation about z — and every member delivers an axial force N, a shear force V and a bending moment M.
- the model is drawn in a fixed plane; pan, zoom and fit are enough to work comfortably;
- supports can be pinned, fixed or free per direction, and member ends can be hinged;
- loads can act along the global vertical (gravity, snow) or along the member axis;
- diagrams of N, V and M are drawn directly on the deformed structure, with the maximum value printed on each member.
The guide (FEA Solver 2D – user guide) lists the sign conventions, the report sections and two hand-checked examples.
What FEA Solver 3D computes
The 3D module is the same method applied to a space frame: six degrees of freedom per node and twelve per member, so a member can also carry torsion and bend in two planes at once. It is the right tool when the structure is not planar — a two-way frame, a tower, a canopy on four columns, a platform — or when a nominally planar frame has an eccentric or out-of-plane action that must be followed through the members.
- torsion is included, through the torsion constant J of the section: it needs IT, which the profile database takes from the published tables, not from an estimate;
- biaxial bending — the same member can bend about both axes, and both moments are reported;
- orientation matters: the roll angle of each member fixes where the strong axis is, exactly as the fabricator would place the section;
- six result components — N, Vy, Vz, Mx, My, Mz — each with its own diagram, plus six reaction components per supported node;
- 3D navigation — orbit, pan, zoom and four preset views (isometric, front, top, side) keep the model readable.
The guide (FEA Solver 3D – user guide) documents the local axes and signs, the releases, the load directions, the torsion constant and three closed-form checks.
The theory in five ideas
The five statements below are the whole of the method in outline. Each of them is developed in full, with the matrices written out, in the theory note The Finite Element Method for Frames.
1. Why a matrix
Stiffness is the force required to produce a unit displacement, and for a structure with many degrees of freedom that relation is a matrix: the entry in row i and column j is the force at degree of freedom i caused by a unit displacement at degree of freedom j. Every structural problem, however complex, is then the single equation K·u = F, and the whole of the finite element method is a systematic way of filling K and F from the members of the model. (chapter 3)
2. What the element matrix contains
A frame member is described by four numbers that recur in every stiffness matrix ever printed: EA/L for the axial stiffness, 12EI/L³ for the transverse stiffness of a member held against rotation at both ends, 4EI/L for the moment needed to rotate one end, and 2EI/L for the moment that the same rotation induces at the other end. Every other entry of the matrix is one of these four, with the sign and position that equilibrium dictates. Recognizing them is what allows a stiffness matrix to be read rather than trusted. (chapter 5)
| Coefficients in the bending block | Physical meaning |
|---|---|
| 12EI/L³ | force at one end for a unit translation of that end |
| 6EI/L² | force produced by a unit rotation (and the moment produced by a unit translation) |
| 4EI/L | moment to rotate one end with the other held fixed |
| 2EI/L | moment carried to the far end by that rotation |
3. Why the loads become nodal forces
A load applied between two nodes cannot be put into a system of equations whose unknowns are nodal values, so it is converted: the shape functions weight the load and produce an equivalent set of nodal forces and moments. For a uniform load those are qL/2 at each end and qL²/12 at each end — the fixed-end forces of the member. The conversion is exact in the sense that the nodal displacements it produces are those of the real member, and it is the reason a beam with one element per span still gives the correct bending moments. (chapter 6)
4. Why the answer is only as good as the model
The program solves the model exactly; the error lies between the model and the structure. Three approximations are always present — the members are divided into elements and the field between the nodes is interpolated, the shear deformation is neglected, and the joints are treated as points of zero size with infinite rotational stiffness. A fourth appears when the axial force is large enough to change the stiffness of the member. Knowing the order of magnitude of each is what separates a number that can be used from a number that cannot. (chapter 14)
5. Why the eigenvalues matter
The same matrices answer the dynamic question: the structure vibrates in shapes φ that satisfy K·φ = ω²·M·φ, where M is the mass matrix assembled from the same shape functions as the stiffness. The smallest eigenvalue gives the fundamental period T = 2π/ω, the number at which a seismic spectrum is read and with which a machine or a footfall excitation is compared. The eigenvalue problem is solved by subspace iteration on the same factorised stiffness matrix used by the static analysis. (chapter 13)
Which one should I use?
| Situation | Use | Why |
|---|---|---|
| Frame or truss in one plane, loads in that plane | 2D | fewer degrees of freedom, simpler model, faster to check by hand |
| Two-way frame, tower, canopy, platform | 3D | out-of-plane action and torsion cannot be represented in 2D |
| Torsion of the member is significant (eccentric loads, curved members) | 3D | Mx exists only in the 3D element |
| Quick check of a single member | 2D (or the Beam solver) | the element is the same, the model is smaller |
| Natural frequencies and periods needed | either one — the modal analysis is in both modules | masses are entered the same way in both |
A planar frame modelled in 3D with the out-of-plane degrees of freedom restrained gives exactly the same results as the 2D model — this is one of the automated checks of the 3D module.
Natural frequencies and mode shapes
Both solvers also answer the dynamic question behind every vibration problem: at which frequencies does the structure want to move? The static problem assembles a stiffness matrix K; the dynamic one assembles, in the same way, a mass matrix M, and the free, undamped motion satisfies an eigenvalue problem:
The eigenvector φ is a mode shape — the form the structure takes when it vibrates — and the eigenvalue gives its circular frequency ω. The two quantities engineers use follow directly: the natural frequency f = ω / 2π in Hz and the natural period T = 1 / f = 2π / ω in seconds.
Where the mass comes from
The mass of the model is not the same thing as the loads, and the two are entered separately:
- self mass — the density of the material times the area of the section (ρ·A) of every member, plus the rotational inertia terms of the consistent mass formulation. It is included automatically, for every member, whether or not its self weight was applied as a load;
- added mass on a node [kg] — a concentrated mass: a tank, a machine, a piece of equipment, a floor slab idealised as a point mass;
- added mass on a member [kg/m] — a distributed mass over the length: finishes, screed, insulation, services, cladding panels.
This is the "special load" of a dynamic analysis: a mass with no direction and no load case. It is added to the self mass, and the sum is what the eigenproblem sees.
What is reported
| Column | Meaning |
|---|---|
| ω [rad/s] | circular frequency of the mode |
| f [Hz] | frequency, f = ω / 2π |
| T [s] | natural period, T = 2π / ω |
| Γx, Γy, Γz [kg] | modal participation factor, φT·M·r |
| m* [%] | effective modal mass of the mode, as a fraction of the total mass acting in that direction |
| Σm* [%] | cumulative effective mass — when it reaches about 90 % in a direction, the set of modes is sufficient for a seismic check |
The mode shapes are drawn on the canvas, scaled to a visible amplitude, and can be animated: the structure oscillates about its equilibrium position in the form of the selected mode.
A check you can reproduce
Take a steel cantilever 6.00 m long, A = 20 cm², I = 1000 cm⁴, E = 210 GPa, ρ = 7850 kg/m³, fixed at one end and split into eight members. The first bending frequency of a cantilever is known in closed form:
With these numbers EI = 2.10·106 N·m², ρA = 15.7 kg/m and L4 = 1296 m4, so f1 = 5.685 Hz and T1 = 0.1759 s. Both solvers return f1 = 5.68498 Hz — a relative error of 2·10-6. Simply supported over the same span the same beam gives f1 = (π/2)·√(EI/ρAL4) = 15.958 Hz (T1 = 0.0627 s). These are the automated checks of the modal solver.
What the period tells you in practice
- resonance — compare the natural frequency with the frequencies the excitation contains (machines, footfall, traffic, wind buffeting). A common design rule is to keep f1 outside a margin of about ±20 % around the dominant excitation frequency, so that neither the structure nor the equipment works near resonance;
- seismic action — T1 is the abscissa where the design spectrum is read, and the effective modal masses tell you how many modes the spectrum must be applied to: when Σm* reaches about 90 % of the mass in a direction, that set of modes is enough;
- floors, footbridges and stairs — the first vertical frequency is the number the serviceability checks are written against: a floor well above the walking harmonics (of the order of 5 Hz and more) behaves statically, a light footbridge around 1.5–3 Hz needs a dynamic check;
- which mass to use — the mass of a dynamic analysis is the permanent mass plus the quasi-permanent part of the variable action, not the ultimate-limit design load. The self mass ρ·A covers the steel; the added nodal and member masses are where the finishes, screed, cladding and equipment go in.
Typical values from the models shipped with the two modules, so that the orders of magnitude are familiar:
| Model | T1 | f1 | First mode |
|---|---|---|---|
| 2D demo portal frame, 6.00 × 4.00 m, S355 | 0.2446 s | 4.088 Hz | sway in the plane |
| 3D demo space frame, 6.00 × 6.00 m, h = 4.00 m | 0.4109 s | 2.433 Hz | horizontal translation (a degenerate pair, X and Y) |
| 3D tower example | 0.1717 s | 5.82 Hz | sway of the shaft |
Method and limits
- the eigenproblem is solved by subspace iteration, which converges on the lowest modes — exactly the ones that matter for a structure; the convergence is on the eigenvalues, and the residual is reported in the Diagnostics panel;
- the mass matrices are consistent (with rotational terms), the formulation is undamped and linear, and one member is one element. Frequencies therefore converge from above: splitting a long member into a few sub-members brings the value closer to the exact beam frequency;
- the automated check reproduces the closed-form values to a few parts per million — a cantilever of eight elements gives f1 = (3.516 / 2π)·√(EI / ρAL⁴), and a planar model in 3D gives exactly the 2D frequencies;
- 2D and 3D do not produce the same set of modes — the 2D solver only moves in its own plane, so it reports participation on X and Y, while the 3D solver adds out-of-plane bending, torsion of the members and the axial modes, so its list contains modes the 2D model cannot represent;
- two equal frequencies are not an error — a symmetric structure translates in two directions at the same frequency; the pair appears as two modes with the same f and complementary m* values, and the shape drawn for each is one possible combination of them;
- what is not included: damping ratios, response spectra, time-history analysis, and geometric stiffness (the axial force does not change the frequency).
The natural period is the number that decides whether a structure is sensitive: it tells you where the resonant frequencies of the excitation are (machines, footfall, wind) and it is the first input of a seismic analysis, where the spectrum is read at T1.
A typical workflow
- Section properties. Take A, Iy, Iz (and J for 3D) from the profile tables on this site, or compute them with the section properties calculator if the section is not a standard one.
- Geometry and material. Build the nodes and members, assign the section and the steel grade. The two solvers keep everything in SI units internally and display kN, m, kNm and N/mm².
- Supports. Restrain at least what the real structure restrains — and nothing more. A support that does not exist in reality hides a mechanism and makes the whole model look stiffer than it is.
- Loads and cases. Put permanent, variable and wind actions in separate load cases, then combine them with the factors you need (for example 1.35·G + 1.5·Q).
- Solve and read. The solver returns displacements, reactions and the member diagrams. The Diagnostics panel reports the equilibrium residual and any warning about releases or mechanisms.
- Check, then design. Compare one member by hand, then take the internal forces into the code checks — for steel members the combined stress verification tool does the Eurocode 3 part with the forces read here.
Reading the results
| Symbol | Meaning | Sign convention |
|---|---|---|
| N | axial force | tension positive |
| Vy, Vz | shear forces on the local y and z axes | positive along the local axis |
| Mx | torsional moment about the member axis | right-hand rule about local x |
| My, Mz | bending moments in the local x-z and x-y planes | sagging positive in the respective plane |
The reactions follow the global axes: three forces and three moments per supported node in 3D. Displacements are reported per node and per degree of freedom, so a support that was meant to be fixed but is moving is visible immediately.
Checks before you trust a model
- Equilibrium — the sum of the applied loads and the reactions must be zero in all six components. Both modules compute this after every solve and show the residual; anything above about 10-6 of the applied load means something is wrong with the assembly.
- Hand calculation — check one member with the formulas of simple statics (a simply supported beam under a uniform load, a cantilever, a two-force member). If the diagram matches, the model is almost certainly right.
- Units — a model that is 1000 times too stiff is nearly always a section entered in mm² instead of m².
- Mesh — in a frame model one element per member is usually enough; split a member where a concentrated load or a change of section occurs.
- Deformed shape — the structure should move the way you expect. A support moving, or a node not connected to anything, shows up instantly in the deformed view.
- Releases and supports — every release must have a reason in the real detail; every restraint must exist on site.
- Comparison with another program — the strongest check of all: model the same structure twice, in two independent solvers, and compare the reactions, the displacements and the member forces.
How the solvers were checked against commercial software
A lattice mast from a real project — 120 nodes, 340 bars, 12 sections (circular tubes and equal angles), fixed at four base nodes, with self weight, a permanent nodal load and a wind case plus the ULS/SLS combinations — was modelled in Autodesk Robot Structural Analysis and rebuilt here from the printed report with the same geometry, sections, supports and loads (the procedure is described in the FEA Solver 3D user guide). The two solutions agree:
| Quantity | Robot | FEA Solver 3D | Deviation |
|---|---|---|---|
| Σ vertical reactions, self weight | 138.36 kN | 138.34 kN | 0.02 % |
| Σ vertical reactions, ULS combination | 197.56 kN | 197.56 kN | 0.00 % |
| Peak horizontal displacement, ULS | 537.5 mm | 537.8 mm | 0.06 % |
| Largest reaction component | −1561.1 kN | −1559.9 kN | 0.08 % |
| Largest axial force in 340 bars | −1297.7 kN | −1292.2 kN | 0.37 % of the peak |
Across all 20 reaction records and 600 displacement records the forces agree to 0.07 % and the translations to 0.10 % of their peak value; bending moments and rotations to about 1.7 % of theirs. What is left is the difference between the two finite elements: Robot includes shear deformation, these solvers use Euler–Bernoulli beams and are therefore slightly stiffer. That is the level of agreement to expect — and the reason the numbers from these pages can be used with confidence for the elastic analysis they are meant for.
What these solvers do not do
- plates, shells and solids — these are frame elements only; a plate or a shell needs a different element formulation;
- second-order effects — no P-Δ or P-δ amplification, so very slender or sway-sensitive frames need a separate stability check;
- stability of the member — buckling, lateral-torsional buckling and local buckling are design checks performed outside these tools, on the internal forces they produce (see the note on local buckling);
- non-linear material — no plasticity, no second-order effects; the modal analysis is linear and undamped (no response spectrum, no time history);
- connection design — the solvers give the forces at the member ends; the resistance of the connection is a separate calculation (see the bolt calculator).
Where FEA is used in practice
The method is used whenever the internal forces cannot be found from simple statics alone — that is, for anything statically indeterminate, and for anything where the stiffness of the members decides how the load is shared. Typical applications of the frame element described here:
- steel halls and portal frames, with or without crane loads;
- roof and floor beams, purlins and their bracing systems;
- trusses and lattice girders, including the secondary moments at joints;
- towers, canopies, platforms and equipment supports;
- bracing and temporary works, where the stiffness of the whole system matters;
- the forces needed to design connections, base plates and foundations.
In all of these the finite element analysis answers one question — what are the internal forces and displacements? — and the code checks answer the next one: is the member strong enough for them.
Going further
- The Finite Element Method for Frames — theory note — the full derivation: weak form, shape functions, element matrices, assembly, releases, mass matrix and verification;
- FEA Solver 2D and its user guide;
- FEA Solver 3D and its user guide;
- Engineering Notes — worked articles on the checks that follow the analysis;
- Combined Stress Verification — Eurocode 3 check of a steel member with N, M and V;
- section properties for the profiles used as input;
- Engineering Resources — everything published on the site in one place.