Skip to content

Fix geometric stiffness matrix with inclined rollers - #499

Merged
brookshsmith merged 2 commits into
masterfrom
fix/geometric-stiffness-inclined-roller
Nov 23, 2026
Merged

brookshsmith merged 2 commits into
masterfrom
fix/geometric-stiffness-inclined-roller

Conversation

@brookshsmith

Copy link
Copy Markdown
Collaborator

Use actual transformation matrix rather than per-cell equations, which is (IMO) also easier to read!

brookshsmith and others added 2 commits November 23, 2026 10:41
An inclined roller rotates the DOFs of one node, so an element's end
angles a1 and a2 differ. geometric_stiffness_matrix used the column
node's angle in every entry, which is not a coordinate transformation:
Kg was asymmetric and inconsistent with the elastic stiffness, giving
spurious axial forces and wrong buckling factors next to inclined
rollers (about 1% low for a two-span column).

Kg is now Tᵀ kg_local T, with each node's rows of T built from its own
angle, as kinematic_matrix does for the elastic stiffness. For a1 == a2
the result is unchanged.

The equilibrium test now rotates node 2's forces into node 1's frame
before comparing rows; the raw rows are in different frames when
a1 != a2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brookshsmith
brookshsmith merged commit 31ec4ce into master Nov 23, 2026
6 checks passed
@brookshsmith
brookshsmith deleted the fix/geometric-stiffness-inclined-roller branch November 23, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant