GearMaster solves the 2D linear elastostatic problem on a planar domain Ω ⊂ ℝ2 with boundary Γ = Γu ∪ Γt:
where σ is the Cauchy stress tensor and u the displacement field. The constitutive relationship is:
with D the elasticity matrix (plane stress or plane strain). In Voigt notation: σ = [σxx, σyy, τxy]T, ε = [εxx, εyy, γxy]T.
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:
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:
This leads to the global stiffness row block:
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:
| 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 |
| Setting | Default | Description |
|---|---|---|
assembly | "mlpg5" | Assembly strategy |
subdomain_shape | "voronoi" | Subdomain shape for MLPG5 |
mls_basis | "linear" | MLS polynomial basis: "linear" or "quadratic" |
n_gauss | 3 | Gauss points per direction / per side |
alpha | 2.5 | Support radius dilation factor |
support_min_ratio | 0.2 | Floor of the local spacing as a fraction of the median spacing (legacy 0.5) |
results_n_gauss | 0 | Gauss 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_levels | 0 | Uniform subdivision levels of the integration triangles of the direct integral ASED |
beta | 0.2 | Subdomain scaling factor (circular/rectangular only) |
weight_name | "cubic_spline" | MLS weight function |
bc_method | "direct" | Essential BC enforcement method |
penalty_factor | 1e7 | Penalty factor (if bc_method = "penalty") |
sparse_K | True | Use sparse matrix storage (scipy CSR) |
use_numba | True | JIT-compile MLS kernel with Numba |