Skip to content

[WIP] Automatic mortar pairing#33129

Draft
lindsayad wants to merge 5 commits into
idaholab:nextfrom
lindsayad:automatic-mortar-pairing
Draft

[WIP] Automatic mortar pairing#33129
lindsayad wants to merge 5 commits into
idaholab:nextfrom
lindsayad:automatic-mortar-pairing

Conversation

@lindsayad

Copy link
Copy Markdown
Member

lindsayad and others added 5 commits June 15, 2026 16:39
…ultiple pairs

Automatic pairing previously only populated _boundary_pairs inside
addNodeFaceContact(), so mortar formulations never saw it. Moving the
pairing call into act() before the formulation dispatch fixes this.

addMortarContact() previously hard-coded _boundary_pairs[0] throughout
all four task blocks (append_mesh_generator, add_mortar_variable,
add_user_object, add_constraint). Each block now loops over all pairs,
generating unique names via pairSuffix(). For a single pair the suffix
is empty, preserving all existing object names for backwards compat.
For multiple pairs the suffix encodes the boundary names (consistent
with the node-face naming convention).

addRelationshipManagers likewise updated to loop over all pairs.

Closes idaholab#33128

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Leverage Roy's new atomic preparation work.

Refs idaholab#32398
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.

Automatic pairing of mortar boundaries

1 participant