Theory contents

Loads and constraints

On this page

How do supported load and displacement conditions enter that system?

Assembly produces a stiffness matrix K and a load vector f. Supports change which equations are solved; loads change only f. Without supports, K is singular: the body can move as a rigid object without straining. This page shows how each condition enters the system and how each can change the answer. Units are N, mm and MPa, as in the consistent-unit reference. Shells and solid–shell couplings also carry rotations; Shell formulation and Solid–shell coupling cover them.

Two kinds of boundary condition

The weak form of static equilibrium reads:

∫Ωε(w):σdV=∫Ωw·bdV+∫ΓNw·tdS.

The two parts of the boundary enter in different ways:

The body force b (N/mm³) acts in the volume. A condition can be essential in one component and natural in the others: a roller fixes the normal displacement and leaves the tangential traction at zero.

Supports: fixed, per component and prescribed

On a solid, each node has three translational DOFs, ux, uy and uz, shown in the app as Ux, Uy and Uz. A support constrains some of them:

Support types on a solid node
SupportConstrainedTypical use
FixedUx = Uy = Uz = 0A welded or clamped face
Per componentOnly the chosen components = 0A symmetry plane or sliding support (roller); a minimal 3-2-1 support
PrescribedChosen components = a non-zero value in mmA known imposed motion, such as a press stroke or a fit-up offset

In the app, a boundary-condition group combines selected faces or points, the components to constrain and one value in mm. A value of 0 fixes those components; any other value prescribes it for each checked component. Solid nodes have no rotational DOFs, so Rx, Ry and Rz appear only when the model contains shells or a coupling reference point. Constraining one solid node cannot stop a rotation; constrain several nodes, or use a coupling.

A prescribed displacement can drive the model on its own: a model with prescribed values and no load is valid. The app enables Solve once the model has at least one support and either a load or a non-zero prescribed value.

How constraints change the system

Split the DOFs into free ones (F) and constrained ones (C). The assembled system Kd=​f+r contains unknown reactions r, nonzero only at constrained DOFs. Written in blocks, with dC known:

KFFdF=fF−KFCdC,rC=KCFdF+KCCdC−fC.

The solver solves the first equation. A prescribed value moves to the right-hand side as an equivalent load, −KFCdC. For a fixed support, dC=​0 and that term vanishes. The second equation recovers the support reactions afterwards.

KoFEM keeps the full matrix instead of deleting rows. It moves each prescribed column to the right-hand side, then replaces each constrained row and column by the identity: the off-diagonal entries become zero and the diagonal 1. Each constrained row then reads di=​gi, where gi is the prescribed value of DOF i. The free rows are exactly the first equation above, and the matrix stays symmetric positive definite. Two consequences follow:

Worked example: a prescribed displacement

Reuse the two-element bar from Assembly: L=​1000 mm, A=​10000 mm2, E=​210000 MPa, element stiffness k=​4.2×106 N/mm. Fix node 1 (d1=​0), pull node 3 to d3=​0.1 mm and apply no force. Node 2 is the only free DOF.

K=k[1−10−12−10−11]

Row 2 gives 2kd2=​0−(−k)(0)−(−k)(0.1 mm), so the prescribed value acts as a load of 0.1k=​4.2×105 N on node 2. After KoFEM’s elimination:

Kelim=[10002k0001]

The right-hand side becomes (0,0.1k,0.1): rows 1 and 3 restate the prescribed values in mm, row 2 carries their equivalent load in N. Solving gives d2=​0.1k/(2k)=​0.05 mm, so d=​(0,0.05,0.1) mm.

The reactions are r1=​k(d1−d2)=​−2.1×105 N and r3=​k(d3−d2)=​2.1×105 N. They balance. As a check, a bar stretched by δ needs EAδ/L=​210000×10000×0.1/1000 N=​2.1×105 N. The axial stress is Eδ/L=​21 MPa. In KoFEM, the 3D bar with a sliding root face and Ux = 0.1 mm prescribed on its far face gives element von Mises stresses within 0.2% of 21 MPa; the small spread comes from the solver tolerance.

Loads: force, traction, pressure and body force

Every load becomes work-equivalent nodal forces in f, in N. The type of input decides how the load is distributed:

Load types on a solid in KoFEM
LoadInputInto f
Force on facesTotal vector F, NUniform traction t=​F/A over the group’s whole area A, integrated as ∫NatdS
Pressure on facesScalar pload, MPaTraction t=​−ploadn: positive pushes into the surface; follows curved faces
Force on pointsTotal vector, NSplit equally over the picked nodes and added directly
Moment on facesVector M, N·mmTangential nodal forces about each selected face’s centroid, zero net force
Body force—Not applied: the static solid solve has no gravity or other volume load

A force is a total, not a force per area: adding a second face to a force group spreads the same total over a larger area. A pressure is per area: a larger selection gives a larger resultant. Loads superpose: two groups on the same face both act, and their effects add. The static solve does not use the stored material density.

A moment group works differently: it applies the full moment on each selected face. Two face selections in one moment group apply twice the moment. To apply it once, select one face, or divide the moment by the number of faces.

Worked example: from total force to traction

Pull the 100 mm × 100 mm end face of the bar with F=​106 N in x. The face area is A=​104 mm2, so:

tx=FA=106 N104 mm2=100 N/mm2=100 MPa.

Now mesh the face with 2 × 2 bilinear quadrilaterals of 50 mm × 50 mm. Each corner function of a quadrilateral integrates to a quarter of its area, ∫NadS=​2500/4 mm2=​625 mm2, so every element gives 100×625 N=​62500 N to each of its four nodes. A node collects one share per adjacent element:

Nodal forces on a 2 × 2 face, F=​106 N
NodeCountElementsForce eachSubtotal
Corner4162 500 N250 000 N
Edge midpoint42125 000 N500 000 N
Centre14250 000 N250 000 N
Total91 000 000 N

The resultant is F again, and by symmetry it acts at the face centre. Splitting F equally, 106/9 N≈​111111 N per node, gives the same total but the wrong distribution. On an uneven mesh it also moves the resultant. Split the same face into two strips, 20 mm and 80 mm wide, with nodes at y=​0,20,100 mm. Work-equivalent shares put the resultant at y=​50 mm, the face centroid. An equal split puts it at y=​(0+20+100)/3 mm=​40 mm: a spurious moment of 106 N×10 mm=​107 N·mm.

A pressure of pload=​1 MPa on the same face, whose outward normal is +x, gives t=​(−1,0,0) MPa and a resultant of −104 N in x: it pushes the face in. On a linear triangle, each corner receives one third of the face force; the quadratic shares are on Elements and quadrature.

Rigid-body modes

A rigid motion moves a body without straining it. For small displacements, every rigid motion is a translation plus a small rotation:

u(x)=a+θ×x.

The translation a (mm) and rotation θ (rad) have three components each: six rigid-body modes in 3D. The strain of every such field is zero, so Kdrigid=​0. In the bar, d=​(1,1,1) is a rigid translation, and each row of K sums to zero. A rigid mode costs no energy, so nothing in K resists it. Only constraints can.

A free body can translate in x, translate in y or rotate without straining, shown by dashed displaced outlines. A pin and a roller together remove all three motions.
In a plane, a free body has three rigid-body modes: two translations and one rotation (dashed outlines). A pin and a roller remove all three without restraining deformation. A solid in 3D has six.

Every body that is not connected to another must be held against all six modes. A 3-2-1 support does exactly this with six components at three points: A fixes Ux, Uy and Uz; B, along x from A, fixes Uy and Uz; C, offset from that line in y, fixes Uz.

A block along x, pulled by equal and opposite forces P at its two ends. Point A at the near bottom-left corner fixes Ux, Uy and Uz; point B at the near bottom-right corner fixes Uy and Uz; point C at the hidden far bottom-left corner fixes only Uz.
A 3-2-1 support removes the six rigid-body modes and no more. Under balanced loads, it produces no reactions.

For a balanced load, such as equal and opposite forces on two faces, a 3-2-1 support carries no reaction and does not disturb the stress. In KoFEM, the 1000 mm bar pulled by ±106 N on its end faces and held this way stretches by 0.476190 mm, matching PL/(EA)=​0.476190 mm, with 100.0 MPa in every element.

Too few constraints

If any rigid mode remains, KFF is singular and the equations have no unique solution. KoFEM then either stops with an error, or returns a result that contains an arbitrary rigid motion. The second outcome is more dangerous, because it looks like a success. Take the bar with only Ux fixed on its root face, which leaves Uy, Uz and the rotation about x free:

KoFEM requires at least one support before it solves, but it does not check that the supports remove all six modes. Common causes of a free mode are:

Too many constraints

Constraining a motion that the real support allows makes the model too stiff: each extra constraint can only add stiffness. Constraining more than six DOFs is normal in itself; a fixed face constrains hundreds.

Fixed instead of sliding. A fully fixed face stops the Poisson contraction that a real end plate might allow. Pull a 100 mm long bar of the same section with 106 N. With a sliding root face (Ux only, plus a 3-2-1 point set), KoFEM reproduces PL/(EA)=​0.04762 mm and a uniform 100 MPa. With the face fully fixed, the mean extension is about 3% smaller (0.0457, 0.0460 and 0.0461 mm on 4³, 8³ and 16³ hexahedral meshes). The peak von Mises stress at the edge of the fixed face rises from 102.7 to 127.3 MPa over the same refinements. That peak is a singularity: it grows with refinement and has no converged value. For the 1000 mm bar, the stiffening is 0.5%, because the effect stays near the support.

Point supports that carry load. A constraint at one node concentrates its reaction there. Hold the 1000 mm bar by the 3-2-1 points alone and pull only one end: corner A now reacts the whole 106 N. The solve succeeds, but the element at A reaches 1741 MPa von Mises, and the off-centre reaction bends the bar: mid-span stresses range from 32 to 294 MPa instead of a uniform 100 MPa. Use point supports to remove rigid modes, not to carry load.

Prescribing more components than intended. A prescribed value applies to every checked component. To pull a face in x without also holding it in y and z, check only Ux.

Conflicting constraints and unmatched selections

Several groups can name the same DOF, for example at the nodes on the edge shared by two selected faces. The solid solve handles overlaps and stale selections as follows:

To resolve a conflict, remove the shared nodes from one group, or give both groups the same value. On order-2 hexahedra, which the app’s mesher does not produce, the centre node of a supported face is not constrained.

What to check when a result looks wrong

Start from the symptom.

Singular: no convergence, or huge or arbitrary displacements.

Unexpectedly stiff: too little displacement.

Peak stresses at the edge of a support or under a point load are usually singular. Judge the result away from them. Linear solve explains how the solver reports failure.

KoFEM implementation and evidence

KoFEM’s solid solve runs in its Rust finite-element module, driven by solveSolidInRust.

Two public examples exercise these paths in the browser: the axial bar checks a fixed face and a face force against PL/(EA), and the bar under end pressure checks the pressure sign and its per-area scaling. Per-component supports, prescribed displacements, overlapping loads and conflicting constraints are covered by KoFEM’s automated solver tests.

Sources and further reading

  1. Hughes, The Finite Element Method: Linear Static and Dynamic Finite Element Analysis (2000), essential and natural boundary conditions, and prescribed displacements in the load vector.
  2. Cook, Malkus, Plesha and Witt, Concepts and Applications of Finite Element Analysis (2002), consistent nodal loads, rigid-body modes and support modelling.

The worked bar and face-load numbers were checked by hand with exact arithmetic. Related pages: boundary notation, Equilibrium and weak form and the axial bar example.