Fixed Joint — Essential (Dirichlet) Boundary Condition

Implemented class: GM_Joint (type "Fixed", behaviour "Rigid")

1. The Problem of Essential BCs in Meshfree Methods

In FEM, Dirichlet boundary conditions (prescribed displacements) are easy to enforce because shape functions are interpolants: NI(xJ) = δIJ. Setting a nodal DOF directly to a prescribed value is therefore exact.

MLS shape functions, however, are not interpolants: the value of the displacement field at a node does not, in general, equal the nodal coefficient. The displacement field is:

u(x) = ∑J φJ(x) uJ

where uJ are the nodal parameters and φJ are MLS shape functions. Since φJ(xI) ≠ δIJ, setting uJ = &bar;u at boundary node J does not mean that u(xJ) = &bar;u. This is the fundamental challenge of essential BC enforcement in meshfree methods.

GearMaster currently addresses this by one of two enforcement methods applied at the assembled system level (see BC Enforcement Methods): penalty and direct substitution. Both methods work directly on the global stiffness matrix and force vector, bypassing the non-interpolation issue.

2. GM_Joint: Concept and Data Model

A GM_Joint represents a set of kinematic constraints applied to a region of the model, identified by a scoping (one or more CAD sub-entities: faces, edges, or vertices). The joint concept is deliberately analogous to Ansys Workbench "Support" objects, making the workflow familiar to FEA users.

The currently implemented combination is:

3. Scoping and Reference Point Computation

The geometry-dependent operations are performed by the point cloud editor when the joint is first created or when the cloud is regenerated:

  1. Reference point: computed as the geometric centroid of the selected CAD sub-entities (faces, edges, or vertices), using the OCC tessellation. Stored as a 3D point in model units.
  2. Connected point indices: all cloud nodes whose coordinates coincide with (or lie on) the selected sub-entities are identified and stored as _connected_point_indices. The identification uses the CAD topology: nodes are tagged with their originating entity ID, and the scoping selects those whose entity ID matches the scoped sub-entities.

These two quantities are serialised inside the .gmmfm model file, so the joint remains valid after save/load without requiring the editor to recompute them.

4. Application at Solve Time

At solve time, the apply_essential_bcs() function receives the assembled global stiffness matrix K and force vector f, and applies the zero-displacement constraint to the DOFs of all connected nodes. For a 2D analysis with N nodes, the system has 2N DOFs. The DOFs of node I are:

DOF2I = ux(I),    DOF2I+1 = uy(I)

For a Fixed joint, both DOFs of every connected node are constrained to zero. The enforcement is applied by one of the two methods described in BC Enforcement Methods.

Fallback: if _connected_point_indices has not been computed (e.g., the joint was defined programmatically without running the editor), the solver falls back to constraining the single nearest node to the reference point. This ensures robustness for test cases but may not capture the intended scoping accurately.

5. DOF Mapping for 2D Analysis

The current implementation supports 2D plane stress / plane strain analysis. Each node has 2 DOFs: ux and uy. The global DOF index for node I and local DOF d ∈ {0, 1} is:

global_DOF = 2I + d

For a Fixed joint, d = 0 (ux) and d = 1 (uy) are both constrained to zero for all connected nodes.

6. Limitations and Future Work

7. References