Implemented in: constitutive.py — plane_stress_D(), plane_strain_D(), build_D_per_node()
All constitutive relations are written in Voigt (engineering) notation, where stress and strain vectors are:
with γxy = 2εxy (engineering shear strain). The constitutive law is:
"plane_stress")Assumption: σzz = τxz = τyz = 0 (thin plate, stress-free through thickness). Applicable to thin 2D structures.
In matrix form:
"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.
| 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 |
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:
entity_id from GM_PointCloud.entity_ids.MaterialAssignment for that entity ID.D_per_node[I].In the assembler, the B matrix for node J is built directly from the MLS shape function derivatives at each Gauss point:
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.