Contents
Validation
Examples

Validation / 9 of 11

Tie patch test

Parts of an assembly are often meshed on their own, so where they are joined the nodes on the two sides do not line up. A tie joins such surfaces without moving them. The first thing a tie has to get right is the simplest load there is: a uniform stress must pass through it unchanged. This is the patch test, applied across the tie.

Tie patch test: displacement magnitude |u| on the deformed shape, displacements drawn 200 times enlarged
0.00 mm0.0483 mm
Displacement magnitude |U|, deformed shape, displacements drawn 200 times enlarged. The result of running the model that Open in KoFEM loads.
Largest von Mises stress; reference σ (uniform)
Reference KoFEM Difference
100.00 MPa 100.00 MPa +0.00 %
within ±0.01 %

Open in KoFEMOpens the model in the app, ready to run.

The problem

Two blocks a small gap apart, tied across the gap, with symmetry supports on the left end and the bottom and a uniform tension σ on the right endTwo blocks a small gap apart, tied across the gap, with symmetry supports on the left end and the bottom and a uniform tension σ on the right end
Block in two bodies, 40 mm and 60 mm long, W × H section, 1 mm apart, meshed on their own and tied. Sketch, not to scale.
L₁,L₂40, 60 mm
gap1 mm
W×H40 × 40 mm
E210 GPa
ν0.3
σ100 MPa
SupportsSymmetry: Ux = 0 on x = 0, Uy = 0 on both y = 0 faces, Uz = 0 on both z = 0 faces.
Loadσ·W·H in +x as a force on the far end face.
TieThe two facing faces, by constraint (MPC), whole surface.
MeasuredLargest von Mises stress over the model (nodal average).

Analytical solution

Pull a block with a uniform traction σ on one end and let it slide freely on symmetry planes on the other three sides. Every point is then in the same state of uniaxial stress,

σxx=σ,σyy=σzz=σxy=σyz=σzx=0,

and the displacement is linear in the coordinates. Cut the block in two, pull the parts a gap g apart and tie them: the tie bridges the gap rigidly, so the gap carries no strain, and the stress state is the same in both parts. Linear elements represent a linear field exactly, so a correct model reproduces σ to round-off, whatever the mesh. Any stress variation in the result is an error of the tie.

Finite element model

MeshNetgen, 10 mm maximum element size: 742 linear 4-node tetrahedra (P1)
Unknowns276 nodes, 828 degrees of freedom
MaterialLinear elastic, isotropic
SolverThe 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 blocks are separate solids in one STEP file. Netgen meshes each on its own with linear tetrahedra and a 10 mm maximum element size. The edges of the two facing squares are divided alike, but the nodes inside them do not match. The tie makes each node of one face (the slave side) follow the other (master) face,

uj=∑kwjkuk,

and the solver eliminates the slave unknowns from the system. How the weights wjk are chosen decides whether the test is passed.

A node-to-surface tie takes them from the point the slave node projects onto. The node then follows the master face exactly, but between slave nodes the two faces interpolate differently, so the traction does different work on the two sides and a constant stress does not cross the tie exactly.

KoFEM's tie uses the dual mortar method on linear elements. It imposes the tie in the integral sense,

∫Γψj(uslave−umaster)dΓ=0,

with multiplier functions ψj on the slave face that are dual to its shape functions, so each equation still gives one slave node in terms of master nodes. The functions ψj sum to one, so the equations add up to ∫Γ(uslave−umaster)dΓ=0: a constant traction is transferred exactly. The integrals are taken over the exact overlap of every slave face with every master face (polygon clipping), so no quadrature error is left.

Results

Quantitylargest von Mises stress
Referenceσ (uniform) = 100.00 MPa (patch test (Irons); Puso (2004))
KoFEM100.00 MPa
Difference+0.00 % within ±0.01 %

Discussion

KoFEM's largest von Mises stress is 100 MPa for the applied 100 MPa. The difference is the solver's convergence tolerance: the test is passed, across the tie as everywhere else. A tie that fails it shows stress jumps at the interface that do not go away under mesh refinement. That is why node-to-surface ties are known for noisy stresses along mismatched interfaces, and why the mortar method became the standard for tying non-matching meshes (Puso 2004).

KoFEM uses node-to-surface only on quadratic elements, where its mortar integrals are not implemented yet; there the tied nodes follow the master face's quadratic field. See the tied cantilever, and the tied cylinder for a curved interface.

Reproduce

In the app: open the model, then Studies → Static 1 → Run static solve, select the result plot and set Field to Ux. The Result summary shows Max Ux 4.762e-2 mm.

Or build it yourself, as this page's number was built:

  1. Import tie-patch-test.step.
  2. Mesh with a 10 mm maximum element size, linear elements.
  3. Material Steel: E = 210000 MPa, ν = 0.3.
  4. Support “Symmetry x”: Ux = 0 on the face through (0, 20, 20).
  5. Support “Symmetry y”: Uy = 0 on the faces through (20, 0, 20), (71, 0, 20).
  6. Support “Symmetry z”: Uz = 0 on the faces through (20, 20, 0), (71, 20, 0).
  7. Load “Tension”: force (160000, 0, 0) N on the face through (101, 20, 20).
  8. Run the static study. The Results panel compares largest von mises stress with σ (uniform).

References

  1. B. M. Irons and A. Razzaque, “Experience with the patch test for convergence of finite elements”, in A. K. Aziz (ed.), The Mathematical Foundations of the Finite Element Method with Applications to Partial Differential Equations, Academic Press, 1972, 557–587.
  2. B. I. Wohlmuth, “A mortar finite element method using dual spaces for the Lagrange multiplier”, SIAM Journal on Numerical Analysis 38 (2000) 989–1012.
  3. M. A. Puso, “A 3D mortar method for solid mechanics”, International Journal for Numerical Methods in Engineering 59 (2004) 315–336.
  4. M. A. Puso and T. A. Laursen, “A mortar segment-to-segment contact method for large deformation solid mechanics”, Computer Methods in Applied Mechanics and Engineering 193 (2004) 601–629.

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.