Validation / 11 of 11
Tied cantilever beam
The patch test shows that a uniform stress crosses a tie. Bending is harder: the tie has to carry a shear force and a bending moment, with a stress that varies over the interface. This beam is the cantilever cut in two at mid-span, the halves meshed on their own with quadratic tetrahedra and tied across a gap.
| Reference | KoFEM | Difference |
|---|---|---|
| −1.9133 mm | −1.9045 mm | −0.46 % within ±1 % |
The problem


| 1000 mm | |
| 2 mm | |
| 100 × 100 mm | |
| 210 GPa | |
| 0.3 | |
| 10 kN |
| Supports | x = 0 face fixed (Ux, Uy, Uz). |
|---|---|
| Load | P in −y as a force on the far end face. |
| Tie | The two faces at mid-span, by constraint (MPC), whole surface. |
| Measured | Mean y-displacement of the loaded end face. |
Analytical solution
The tie bridges the gap rigidly, so by Euler–Bernoulli theory the beam is one of length whose segment does not bend. With the bending moment , the unit-load method over the parts that do bend gives the tip deflection
For this is the uncut beam's .
Finite element model
| Mesh | Netgen, 25 mm maximum element size: 3,036 quadratic 10-node tetrahedra (P2) |
|---|---|
| Unknowns | 5,692 nodes, 17,076 degrees of freedom |
| Material | Linear elastic, isotropic |
| Solver | The app's default solver (conjugate gradients with algebraic multigrid, KoFEM's Rust module, build fem-45b08a9e444e); geometry and mesh by the KoFEM engine (OCCT, Netgen), the WebAssembly build the app runs: engine-3397ae8ea1eb |
The two halves are separate solids in one STEP file. Netgen meshes each on its own with quadratic tetrahedra and a 25 mm maximum element size, so the nodes of the two faces at mid-span do not match. On quadratic elements the tie is node-to-surface: each node of the slave face, edge midpoints included, follows the master face's quadratic displacement field at the point it projects onto.
Results
| Quantity | tip deflection δ |
|---|---|
| Reference | −P/(3·E·I)·((L+g)³ − (L/2+g)³ + (L/2)³) = −1.9133 mm |
| KoFEM | −1.9045 mm |
| Difference | −0.46 % within ±1 % |
Discussion
KoFEM's tip deflection differs from the tied beam's by −0.46 %, within the ±1 % band. The uncut beam on the same mesh reads slightly above Euler–Bernoulli, since the solid also deforms in shear; the tied beam reads slightly below, a little stiffer. That is the node-to-surface tie on quadratic elements, which does not pass the patch test across non-matching faces: between the tied nodes the two faces interpolate differently and constrain each other a little more than a single body would. The dual mortar method removes this on linear elements; for quadratic ones it is not implemented yet.
Reproduce
In the app: open the model, then Studies → Static 1 → Run static solve, select the result plot and set Field to Uy. The Result summary shows Min Uy -1.905e+0 mm.
Or build it yourself, as this page's number was built:
- Import tie-cantilever.step.
- Mesh with a 25 mm maximum element size, quadratic elements.
- Material Steel: E = 210000 MPa, ν = 0.3.
- Support “Clamp”: Ux, Uy, Uz = 0 on the face through (0, 50, 50).
- Load “Tip load”: force (0, −10000, 0) N on the face through (1002, 50, 50).
- Run the static study. The Results panel compares tip deflection with −P/(3·E·I)·((L+g)³ − (L/2+g)³ + (L/2)³).
References
- J. M. Gere and B. J. Goodno, Mechanics of Materials, Cengage Learning: axially loaded members, torsion, deflections of beams.
- M. A. Puso, “A 3D mortar method for solid mechanics”, International Journal for Numerical Methods in Engineering 59 (2004) 315–336.
KoFEM is research software and is not certified for safety-critical design. It solves linear-static, linear-elastic problems. Check results that matter against your own references.