Skip to content

Set Tribol displacements after nonlinear solve#1560

Closed
ebchin wants to merge 1 commit intodevelopfrom
bugfix/ebchin/set-disp-after-solve
Closed

Set Tribol displacements after nonlinear solve#1560
ebchin wants to merge 1 commit intodevelopfrom
bugfix/ebchin/set-disp-after-solve

Conversation

@ebchin
Copy link
Member

@ebchin ebchin commented Mar 19, 2026

The displacement Tribol sees is usually changed after calling nonlin_solver_->solve() and this displacement doesn't necessarily match the final displacement at the converged solution (e.g. if the residual is already at 0, TrustRegion will put NaNs in for displacement). This fix just resets the displacements to the value returned by the nonlinear solver, ensuring the contact_.update() call sees the right values.

@ebchin ebchin self-assigned this Mar 19, 2026
@ebchin
Copy link
Member Author

ebchin commented Mar 23, 2026

Fixed by #1561 and #1567

@ebchin ebchin closed this Mar 23, 2026
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.

2 participants