The Finite Element Method: First Principles / Boundary conditions and constraints
Prescribed movement and partitioning
Compare prescribed movement, springs, multipoint transformations, multipliers and penalty enforcement.
Lesson review: expert verification remains open
This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.
Checks needed for project use
- Independent FEM/continuum reviewer to check derivations, pedagogical completeness, constraint conventions and the limits of the recorded benchmarks. Actual 125%, 150% and 200% browser zoom remains unqualified.
These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.
Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.
Read the lesson register and outstanding review notesBy the end of this lesson you should be able to
- Partition non-zero prescribed displacements correctly
- Distinguish physical springs from numerical constraint enforcement
- Derive transformation, multiplier and penalty equations for a linear constraint
What you should already know
- Element assembly and energy principles
- Matrix partitioning and small linear systems
Essential, natural and elastic boundary conditions
A prescribed displacement restricts the admissible field. Its conjugate reaction is an output. A prescribed traction or nodal force enters the load functional, and displacement is generally an output. A physical spring relates force to movement and contributes stored energy. These choices describe different physical restraints. Replacing a real bearing by an infinitely stiff support changes the model unless its deformation is negligible for the intended question.
For a spring of stiffness ks connected to a ground point moving by g, energy is ½ks(u−g)². Differentiation contributes ks to the nodal stiffness and ks g to the right-hand side. Its force on the structure is −ks(u−g). A physical spring stiffness comes from the support model; a penalty coefficient is a numerical parameter chosen to approximate an exact constraint.
Eliminate known displacements
Partition d into free and constrained coordinates. The free equation is Kff df + Kfc dc = ff. Move the known term to the right before solving. Afterwards recover the constrained reaction from Kcf df + Kcc dc − fc. An applied force at a constrained coordinate changes its reaction even when it does not change the displacement solution. Preserve the full original equations for this calculation.
Simply setting the constrained diagonal to one while leaving its column coupled does not produce a correct symmetric elimination. A row-replacement method can be formulated consistently, but its conventions must be checked. Explicit partitioning makes the contribution of non-zero prescribed displacement visible.
What it calculates: Partitioned solve and reaction recovery in the original force convention.
A uniform bar with both end displacements prescribed has a useful independent reference. For u(0)=0, u(L)=Δ and uniform q, integration gives u(x)=Δx/L+qx(L−x)/(2EA). Its left reaction is −EAΔ/L−qL/2. With an external nodal force P at the right, the right reaction is EAΔ/L−qL/2−P. The force P and that reaction balance locally at the prescribed coordinate. These expressions test both the sign and the placement of constrained-node loads.
Vertical range: ±0.75 mm. Positive displacement is towards the right.
- Right-end displacement
- 0.75 mm
- Left reaction
- -40 kN
- Strain energy
- 11.56 J
- Free-node residual
- 0 N
Reactions act on the bar. Positive force points right. The end load at a prescribed right node changes that support reaction, not the prescribed displacement. Stress is the constant strain-recovery value in each linear element.
Displacements, reactions and element stresses
| Node | x (m) | u (mm) | Reaction (kN) |
|---|---|---|---|
| 1 | 0 | 0 | -40 |
| 2 | 1 | 0.4375 | Free node |
| 3 | 2 | 0.75 | Free node |
| Element | Stress (MPa) |
|---|---|
| 1 | 87.5 |
| 2 | 62.5 |
Element and global stiffness, loads and constraints
Each element has k = EA / h = 8.000e+7 N/m, with the 2 × 2 pattern [1, −1; −1, 1]. The assembled matrix below includes restrained nodes. The reduced solve uses only free nodes and transfers prescribed-displacement terms to its right-hand side.
| Row | K·1 | K·2 | K·3 | f |
|---|---|---|---|---|
| 1 | 8.00e+7 | -8.00e+7 | 0 | 5,000 |
| 2 | -8.00e+7 | 1.60e+8 | -8.00e+7 | 10,000 |
| 3 | 0 | -8.00e+7 | 8.00e+7 | 25,000 |
Small axial strain, linear elasticity, constant area and modulus, uniform axial line load. No bending, buckling, thermal strain or material nonlinearity. The plotted curve is displacement against position, not the deformed physical outline.
Continue with multipoint constraints and enforcement.
References and further study
Bathe, Finite Element Procedures (1996), §3.4.1, pp.143–145, was inspected for multiplier and penalty formulations. The two-ground-spring relation, loads, compliance reference and calculations are original; the book’s exercise and example collections are not reproduced. The calculations and exercises here are original. The numerical checks cover the stated assumptions; independent specialist review remains open.