ASED Lazzarin-Berto

Implemented in: results_energy_recovery.py — ased_lazzarin_berto() (unweighted nodal mean, result energy_sed_lazzarin_berto) and ased_lazzarin_berto_voronoi() (Voronoi area-weighted control-volume average, result energy_sed_lb_voronoi, see §7). Voronoi cell polygons come from assembler.compute_voronoi_cell_polygons(). The recommended estimator is the direct integral of §8 (results_energy_integration.py, result energy_sed_direct).

1. Why this result exists

At notches and weld toes, the pointwise stress can become very high and sensitive to local discretization. The Lazzarin-Berto approach reduces this sensitivity by using an averaged strain energy density over a control radius R0 instead of using only one point value.

In practical terms: instead of asking "what is U0 exactly at one node?", we ask "what is the mean U0 around this node in a circular neighborhood of radius R0?".

2. Mathematical definition used in GearMaster

GearMaster starts from nodal strain energy density values sed[i] and computes a node-wise averaged field:

ASED(i) = mean( SED(j) for all nodes j with ||xj - xi|| <= R0 )

The neighborhood search is performed in the XY plane (2D structural workflow) using a cKDTree radius query.

This is an unweighted nodal mean. On a non-uniform cloud (e.g. with a local refinement) it is a biased estimator of the true Lazzarin-Berto volume average, because dense regions are over-counted. The Voronoi-weighted variant of §7 removes this bias by weighting each nodal SED with the area its Voronoi cell occupies inside the control volume.

3. Two different concepts: averaging vs display zone

The implementation has two levels that are easy to confuse:

  1. ASED field computation: done for every node in the cloud using radius R0.
  2. Result display zone: after you choose an origin, the viewer highlights only nodes inside the circle centered at that origin, radius R0, and reports the maximum value in that zone.
Important: the origin does not affect how each node ASED is computed globally. The origin is used to define the zone shown/queried in the GUI for engineering interpretation.

4. User workflow in the solver viewer

  1. Run a valid analysis (strain/stress/energy must exist in the current session).
  2. Add result SED [Lazzarin-Berto] in the Results tree.
  3. Select a CAD vertex in the 3D view.
  4. Use context menu: Set Origin From Selected Vertex.
  5. Optionally change R0 [mm] from context menu Set R0....
  6. Display the result and inspect the highlighted control zone.

5. Constraints and validation rules

RuleCurrent behavior
R0 must be positiveInvalid values are rejected.
Origin required to display zone resultIf origin is missing, GUI asks user to set it first.
Energy data availabilityASED requires in-session strain/stress/energy context.
Cloud mismatch after regenerationCaches are invalidated and recomputed.
Session scope limitation: strain/stress/energy context is not persisted in saved results-only files. If you reload a results file without solver context, ASED cannot be recomputed until analysis is run again.

6. Practical interpretation tips

7. Voronoi-weighted averaged SED (area-weighted control volume)

The Lazzarin-Berto criterion is defined as the strain energy density averaged over a control volume of radius R0:

W̄ = ( 1 / A ) ∫B(x, R0) ∩ Ω W dA

With the Voronoi subdomain, GearMaster already tessellates the domain into Voronoi cells that partition it exactly. Those same cells provide a natural, consistent quadrature of the control-volume integral: the averaged SED at node i is the area-weighted mean of the nodal SED values, where the weight of node j is the area its Voronoi cell Vj occupies inside the control disk:

W̄i = ( Σj Wj · aij ) / ( Σj aij ),    aij = area( Vj ∩ B(xi, R0) )

Because the cells tessellate the domain, Σj aij equals the control-volume area and W̄i converges to the true volume average as the local cloud is refined \u2014 unlike the unweighted nodal mean of §2, which is biased on non-uniform clouds. The cell/disk intersection area is computed exactly with shapely (Vj ∩ B), so partial cells at the boundary of the control volume are handled correctly.

7.1 Resolution requirement (how fine must the cloud be?)

The quality of the average depends on how many Voronoi cells fall inside the control disk, not on matching the mesh size to R0. For structural steel the standard control radius is R0 = 0.28 mm, so the control diameter is 2·R0 = 0.56 mm. A reliable area-weighted average needs on the order of 5\u201315 cells inside the disk, i.e. a local node spacing hlocal ≲ R0/2 … R0/4 ≈ 0.07\u20130.14 mm near the notch / weld toe. A global cloud does not need to be that fine \u2014 only a local refinement around the origin is required.

The result reports the number of cells found inside R0 at the origin and warns (in the value row and the solver log) when it is below 5, flagging an under-resolved control volume. Whether the method inherits the well-known coarse-mesh insensitivity of the FE SED approach (Lazzarin-Berto-Fischer) is a convergence study in its own right.

7.2 Availability and workflow

8. Direct integral ASED (recommended estimator)

The nodal estimators of §2 and §7 integrate a field that was first recovered (strain smoothed by SPR, then squared into U0 at the nodes). Two systematic errors follow. (i) Smoothing before squaring removes energy: for a positive definite D, ½ε̄TDε̄ ≤ mean(½εTDε). (ii) At a notch the strain energy density is singular, U0 ∼ r2λ1−2, so the energy inside radius r grows as r2λ1 (λ1 ≈ 0.674 for a 135° opening, from sin(2λγ) + λ sin(2γ) = 0 with 2γ the material angle): the innermost cell, whose nodal value sits at the singular point, carries a large share of the integral.

The direct integral removes both: it integrates the energy of the MLS displacement field itself, exactly as a finite-element code sums element energies:

W̄ = ( 1 / A ) ∫V ½ εT(x) D ε(x) dA,    ε(x) = B(x) u

8.1 Algorithm

  1. The control volume V is the disk of radius R0 around the origin clipped to the CAD domain (a circular sector at a notch; the arc is a polygon of 4×32 sides).
  2. The cloud is triangulated (Delaunay, the dual of the Voronoi tessellation; the same cells as the EFG integration); ghost triangles whose centroid is outside the domain are discarded.
  3. Every triangle intersecting V is clipped exactly to V (shapely) and the clipped polygon is split into triangles (fan if convex, constrained Delaunay otherwise).
  4. On each sub-triangle a symmetric rule with 1, 3 or 6 points (results_n_gauss = 1, 2, ≥3) is applied; at every point the MLS derivatives give ε = B u and the material matrix of the nearest node gives U0. Optional uniform 1-to-4 subdivision (results_refine_levels).
  5. W̄ = Σ wg U0,g / Σ wg; the energy in mJ is W̄ · A · t.

No nodal recovery is involved, so the value is independent of the recovery sampling and of the Gaussian smoothing kernel; it depends on the cloud only through the MLS field.

8.2 Settings and GUI

8.3 Validation (weld joint, ANSYS quad8 reference)

Averaged SED error against the ANSYS element-energy sum over the same sector (1.129×10-4 mJ/mm³), toe cloud hmin = 0.3 … 0.025 mm:

EstimatorEFGMLPG5-Voronoi
Voronoi-weighted nodal (§7)−21 % … −3.7 %−26 % … −3.9 %
Direct integral (§8)−0.7 % … −0.4 %−8 % … −1.1 %

One extra subdivision level changes the result by less than 0.05 points: the quadrature is converged and the residual is the quality of the MLS field. With EFG, linear basis, α = 2.5 and a toe refinement of hmin = R0/2 (about 17 cells in V, ~600 nodes in total) the error is about 1 %.

Resolution guidance (revised): with the direct integral a toe refinement of hmin ≈ R0/2 … R0 (about 9–18 cells in the control volume) is already within 3 % for EFG; the 5–15 cell rule of §7.1 applies to the nodal estimators.

9. References