MLPG Analysis and Mathematics

1. The Governing Equations

GearMaster solves the 2D linear elastostatic problem on a planar domain Ω ⊂ ℝ2 with boundary Γ = Γu ∪ Γt:

∇ ⋅ σ = 0  in Ω
u = &ū;  on Γu  (Dirichlet)
σ ⋅ n = t̄  on Γt  (Neumann)

where σ is the Cauchy stress tensor and u the displacement field. The constitutive relationship is:

σ = D ε,     ε = ½(∇u + ∇uT)

with D the elasticity matrix (plane stress or plane strain). In Voigt notation: σ = [σxx, σyy, τxy]T, ε = [εxx, εyy, γxy]T.

2. The MLPG Formulation

The Meshless Local Petrov-Galerkin (MLPG) method (Atluri & Zhu, 1998) derives a system of equations by applying a local weak form over a small subdomain ΩI around each node I. The displacement field is approximated using Moving Least Squares (MLS) shape functions:

u(x) ≈ ∑I φI(x) uI

For the MLPG5 variant (Atluri et al., 1999) the test function is the Heaviside function v = 1 on ΩI, which reduces the local weak form to a pure contour integral on ∂ΩI (no domain integration needed). The local equilibrium equation becomes:

∮∂ΩI t dΓ = 0  ⇒  ∮∂ΩI NT D BJ dΓ · uJ = ∮∂ΩI NT t̄ dΓ

This leads to the global stiffness row block:

KIJ = −∮∂ΩI NT D BJ dΓ

where N is the 3×2 traction-normal matrix and BJ is the 3×2 strain-displacement matrix of node J.

GearMaster also supports the alternative EFG Galerkin assembly, where the domain integral is integrated over background cells:

KIJ = ∫Ω BIT D BJ dΩ

3. Assembly Strategies Implemented

Strategy Subdomain Shape Setting keys K symmetry Notes
EFG Galerkin Background cell grid assembly="galerkin" Symmetric SPD Disabled in GUI; research use
MLPG5 Circular Circle of radius rQ = β · rsupp assembly="mlpg5", subdomain_shape="circular" Non-symmetric Research/comparison; can overlap
MLPG5 Rectangular Axis-aligned square, half-side aI = β · rsupp assembly="mlpg5", subdomain_shape="rectangular" Non-symmetric No overlap for β ≤ 0.5; consistent force vector
MLPG5 Voronoi (default) Voronoi cell, clipped to domain polygon assembly="mlpg5", subdomain_shape="voronoi" Non-symmetric Exact tessellation; robust for irregular clouds

4. Solver Settings Reference

SettingDefaultDescription
assembly"mlpg5"Assembly strategy
subdomain_shape"voronoi"Subdomain shape for MLPG5
mls_basis"linear"MLS polynomial basis: "linear" or "quadratic"
n_gauss3Gauss points per direction / per side
alpha2.5Support radius dilation factor
support_min_ratio0.2Floor of the local spacing as a fraction of the median spacing (legacy 0.5)
results_n_gauss0Gauss points per direction for the results (0 = same as n_gauss); acts on the stored solution
recovery_sampling"delaunay"Strain samples of the nodal recovery: Delaunay Gauss points or legacy regular grid
results_refine_levels0Uniform subdivision levels of the integration triangles of the direct integral ASED
beta0.2Subdomain scaling factor (circular/rectangular only)
weight_name"cubic_spline"MLS weight function
bc_method"direct"Essential BC enforcement method
penalty_factor1e7Penalty factor (if bc_method = "penalty")
sparse_KTrueUse sparse matrix storage (scipy CSR)
use_numbaTrueJIT-compile MLS kernel with Numba

5. Detail Pages

6. General References