How do supported load and displacement conditions enter that system?
Assembly produces a
stiffness matrix and a load vector . Supports change
which equations are solved; loads change only . Without supports,
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.
The two parts of the boundary
enter in different ways:
Essential (displacement) conditions on
set the displacement itself: , where is the
prescribed value in mm. They act on the unknowns directly, and the
test displacement is zero there.
A fixed support is the special case .
Natural (load) conditions on prescribe a
traction in MPa. They appear only as
work on the right-hand side of the weak form. A free surface with no load is also a
natural condition, ; it needs no input.
The body force (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, , and ,
shown in the app as Ux, Uy and Uz. A support constrains some of them:
Support types on a solid node
Support
Constrained
Typical use
Fixed
Ux = Uy = Uz = 0
A welded or clamped face
Per component
Only the chosen components = 0
A symmetry plane or sliding support (roller); a minimal 3-2-1 support
Prescribed
Chosen components = a non-zero value in mm
A 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 contains unknown
reactions , nonzero only at constrained DOFs.
Written in blocks, with known:
The solver solves the first equation. A prescribed value moves to the
right-hand side as an equivalent load, . For a fixed support,
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 , where
is the prescribed value of DOF . The free rows are
exactly the first equation above, and the matrix stays symmetric
positive definite. Two consequences follow:
A load on a constrained DOF has no effect on the displacement. It goes
straight into the support. A force on a fully fixed face, for example,
does nothing.
Reactions are not part of the solve. KoFEM does not currently report them;
check support forces with a free-body diagram.
Worked example: a prescribed displacement
Reuse the two-element bar from
Assembly: ,
, , element stiffness
. Fix node 1 (), pull node 3 to
and apply no force. Node 2 is the only free DOF.
Row 2 gives , so the prescribed value acts
as a load of on node 2. After KoFEM’s elimination:
The right-hand side becomes : rows 1 and 3 restate the
prescribed values in mm, row 2 carries their equivalent load in N. Solving gives
, so .
The reactions are and
. They balance. As a check, a bar
stretched by needs .
The axial stress is . 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 , in N. The
type of input decides how the load is distributed:
Load types on a solid in KoFEM
Load
Input
Into
Force on faces
Total vector , N
Uniform traction over the group’s whole area , integrated as
Pressure on faces
Scalar , MPa
Traction : positive pushes into the surface; follows curved faces
Force on points
Total vector, N
Split equally over the picked nodes and added directly
Moment on faces
Vector , N·mm
Tangential 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 in . The face
area is , so:
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, , so every element gives
to each of its four nodes. A node collects one
share per adjacent element:
Nodal forces on a 2 × 2 face,
Node
Count
Elements
Force each
Subtotal
Corner
4
1
62 500 N
250 000 N
Edge midpoint
4
2
125 000 N
500 000 N
Centre
1
4
250 000 N
250 000 N
Total
9
1 000 000 N
The resultant is again, and by symmetry it acts at the face centre.
Splitting equally, 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
. Work-equivalent shares put the resultant at
, the face centroid. An equal split puts it at
: a spurious moment of
.
A pressure of on the same face, whose outward
normal is , gives and a resultant of
in : 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:
The translation (mm) and rotation (rad) have three components
each: six rigid-body modes in 3D. The strain of every such field is zero,
so . In the bar,
is a rigid translation, and each row of sums to zero. A rigid mode
costs no energy, so nothing in resists it. Only constraints can.
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 from A,
fixes Uy and Uz; C, offset from that line in , fixes 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 on its end faces and held this way
stretches by 0.476190 mm, matching , with 100.0 MPa in every
element.
Too few constraints
If any rigid mode remains, 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 free:
With the default AMG solver, the solve stops before
the first iteration: building the multigrid preconditioner finds the
free modes and reports that the model is probably not fully
constrained. This happens whatever the load.
With Gauss–Seidel, a load that excites a free mode,
such as a transverse force of 1000 N in , has nothing to
react against. Conjugate gradients breaks down and the solve stops
with the same hint.
With Gauss–Seidel, a load orthogonal to every free mode,
such as the axial force, does no work in those modes, so the solver
converges. Elongation and stress are correct, but the displacement
contains an arbitrary rigid part. On a 20 × 4 × 4 hexahedral mesh the
largest Uy was 0.033 mm, against 0.0143 mm with a 3-2-1 support;
that difference is a rigid shift, not deformation.
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:
a single roller or symmetry plane with nothing holding the in-plane
directions;
point supports on one straight line, which leave the rotation about
that line free; and
an assembly whose bodies touch but share no nodes and are not joined
by a tie: each loose body has its own six modes.
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 . With a sliding root face (Ux
only, plus a 3-2-1 point set), KoFEM reproduces 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
. 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
without also holding it in and , 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:
Same DOF, same value in two groups: accepted and
merged into one constraint.
Same DOF, two different values (fixed by one group
and prescribed by another, or prescribed twice): the solve stops with an
error naming the vertex and component.
Two loads on the same face: the solve integrates
both and adds them.
Some selected faces are not on the boundary: the log
warns with their count, and they add no load. A force total is spread
over the matched area; a pressure loses that area.
No selected face is on the boundary: the solve stops
with an error.
Order-2 elements: an edge’s midside DOF is
constrained when both of its end nodes are, to their average value.
Edges leaving a support stay free.
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.
For each separate body, list which of the three translations and three
rotations its supports stop. The supports must stop all six.
Check per-component supports: a roller stops only one direction.
Check that point supports are not on one line.
Check that touching bodies share nodes or are joined by a tie.
Compare the displacement pattern with a rigid motion. A body that
translates or turns without straining has a free mode.
Unexpectedly stiff: too little displacement.
Ask whether each fixed face is really fixed in all three directions,
or should slide. Try a sliding support and compare.
Check that no load sits on a constrained face or node, where it has
no effect.
Check force versus pressure: a force is a total in N, a pressure is
per area in MPa. 1 MPa on 100 mm² is 100 N.
Check prescribed groups for extra components.
Check units: a modulus entered in Pa with lengths in mm is a million
times too stiff. See Consistent unit systems.
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.
Groups to payload. Each node of a support group gets
the group’s value per checked component
(boundaryRebuild.ts). The solid path sorts
zero values into fully fixed vertices or single components and non-zero
values into prescribed DOFs; fixed rotations are ignored and a
prescribed rotation is refused
(solveMeshPacking.ts).
Solve requires a support and a load or a non-zero prescribed value
(useSolver.ts).
Constraint collection. Fixed, per-component and
prescribed DOFs are collected
(amg.ts), extended to order-2 edge nodes
(edge extension) and
checked for conflicts
(conflict check).
Elimination. Prescribed columns move to the
right-hand side and constrained rows become identity rows
(apply_dirichlet).
Surface loads. One surface load per force or pressure
group (rebuildSurfaceLoads);
the solver matches faces to boundary faces, warns or stops on
unmatched faces, divides a force by the matched area and integrates
the traction
(addSurfaceLoads,
surface.rs).
Point loads and moments. Point picks share the group total; moments become nodal
forces per face
(rebuildLoads,
momentLoad.ts); nodal forces are added to
before the solve
(amg.ts).
Two public examples exercise these paths in the browser: the
axial bar checks a fixed face and a
face force against , 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
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.
Cook, Malkus, Plesha and Witt, Concepts and Applications of
Finite Element Analysis (2002), consistent nodal loads, rigid-body
modes and support modelling.