Constitutive Matrix D — Plane Stress and Plane Strain

Implemented in: constitutive.py — plane_stress_D(), plane_strain_D(), build_D_per_node()

1. Voigt Notation

All constitutive relations are written in Voigt (engineering) notation, where stress and strain vectors are:

σ = [σxx, σyy, τxy]T,     ε = [εxx, εyy, γxy]T

with γxy = 2εxy (engineering shear strain). The constitutive law is:

σ = D ε

2. Plane Stress ("plane_stress")

Assumption: σzz = τxz = τyz = 0 (thin plate, stress-free through thickness). Applicable to thin 2D structures.

Dps = E / (1 − ν2)  ×  〈 1  ν  0  |  ν  1  0  |  0  0  (1−ν)/2 〉

In matrix form:

Dps = E/(1−ν2) × [1, ν, 0; ν, 1, 0; 0, 0, (1−ν)/2]

3. Plane Strain ("plane_strain")

Assumption: εzz = γxz = γyz = 0 (constrained in z, e.g. long structures or infinite bodies). Applicable to thick structures where out-of-plane strain is prevented.

Dpe = E / ((1+ν)(1−2ν)) × [1−ν, ν, 0; ν, 1−ν, 0; 0, 0, (1−2ν)/2]

4. Comparison

Quantity Plane Stress Plane Strain
Physical model Thin plate; free to deform in z Long structure; constrained in z
Zero stress components σzz, τxz, τyz = 0 none (all stress components may be nonzero)
Zero strain components none εzz, γxz, γyz = 0
D11 factor E/(1−ν2) E(1−ν)/((1+ν)(1−2ν))
Stiffness (at same E, ν) Lower Higher

5. Per-Node D Matrix

GearMaster supports heterogeneous (multi-material) models. Each node belongs to a CAD entity (entity_id), and each entity can have its own material assignment (Young's modulus E, Poisson's ratio ν, formulation, thickness). The function build_D_per_node() assembles a (N, 3, 3) array of D matrices by:

  1. Reading each node's entity_id from GM_PointCloud.entity_ids.
  2. Looking up the MaterialAssignment for that entity ID.
  3. Computing the D matrix (cached per entity to avoid redundant computation).
  4. Storing it at D_per_node[I].
Units: Young's modulus E must be in MPa (N/mm²) and coordinates in mm for consistent SI-derived units. Displacements will be in mm and stresses in MPa.

6. Strain-Displacement Matrix B

In the assembler, the B matrix for node J is built directly from the MLS shape function derivatives at each Gauss point:

BJ = [∂φJ/∂x, 0;  0, ∂φJ/∂y;  ∂φJ/∂y, ∂φJ/∂x]     (3 × 2)

The 3×2 structure maps the 2-component displacement vector (ux, uy) of node J to the 3-component strain vector in Voigt notation. The full global B matrix is the horizontal concatenation of all nodal BJ blocks.

7. References