Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving RBE accuracy for static problems #161

Merged
merged 8 commits into from
Jan 9, 2023

Conversation

timryanb
Copy link
Collaborator

@timryanb timryanb commented Dec 20, 2022

The RBE elements use a Lagrange Multiplier formulation to compute their stiffnesses. This approach leads to zeros being present in some diagonals of the stiffness matrix, which causes issues when the preconditioner is factored. To get around this, the elements add a small artificial term to their diagonals. This fixes the PC issue, but adds error to the Jacobian.

This PR:

  • Separates out the artificial stiffness from the true Jacobian and only adding it in for the preconditioner refactor step
  • Adds options to allow user to set the scaling factors used in the RBE elements through the pytacs problem classes
  • Improves the default rel. convergence tolerance of static problems featuring RBE elements from ~1e-7 to ~1e-13

@gjkennedy gjkennedy merged commit c0b7ca5 into smdogroup:master Jan 9, 2023
@timryanb timryanb deleted the improve-rbe-accuracy branch January 9, 2023 15: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.

2 participants