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).
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?".
GearMaster starts from nodal strain energy density values sed[i] and computes a node-wise
averaged field:
The neighborhood search is performed in the XY plane (2D structural workflow) using a cKDTree radius query.
The implementation has two levels that are easy to confuse:
R0.R0, and reports the maximum value in that zone.SED [Lazzarin-Berto] in the Results tree.| Rule | Current behavior |
|---|---|
| R0 must be positive | Invalid values are rejected. |
| Origin required to display zone result | If origin is missing, GUI asks user to set it first. |
| Energy data availability | ASED requires in-session strain/stress/energy context. |
| Cloud mismatch after regeneration | Caches are invalidated and recomputed. |
R0 (material/process dependent) and document it in reports.R0 consistent when comparing design variants.
The Lazzarin-Berto criterion is defined as the strain energy density
averaged over a control volume of radius R0:
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:
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.
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.
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.
energy_sed_lb_voronoi \u2014 label
\u201cVoronoi-weighted averaged SED\u201d. Shown only when the subdomain is
Voronoi (it needs the Voronoi cell areas); with rectangular/circular subdomains
the result reports that Voronoi is required.energy_sed_lazzarin_berto result, so both can be compared side by side
(unweighted nodal mean vs. area-weighted control-volume average).R0 around the origin, with
the peak value reported in the zone.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:
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).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.
results_n_gauss (Analysis Settings → Results post-processing, 0 = same as stiffness) and
results_refine_levels act on the stored solution: changing them recomputes the results without a re-solve.energy_sed_direct) shares Origin and R0 with the other ASED
results; the value row reports W̄, the number of cells and of Gauss points. The field shown is the nodal SED in the zone.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:
| Estimator | EFG | MLPG5-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 %.