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

[GeoMechanicsApplication] Fix ordering issue for reset displacement #12845

Merged
merged 12 commits into from
Nov 14, 2024

Conversation

rfaasse
Copy link
Contributor

@rfaasse rfaasse commented Nov 12, 2024

📝 Description
We found an ordering issue with the resetting of the displacements, which was done before executing the processes for Dirichlet conditions, such that prescribed displacements were not overwritten. However, for the reset displacement process, we need the displacements of the elements to not have been reset yet. Therefore, we revert the fix made in #11933, but make sure that fixed Dofs are not overwritten to make sure reset displacements and prescribed displacements still work in a single stage.

@rfaasse rfaasse changed the title [GeoMechanicsApplication] Simplify reset displacement [GeoMechanicsApplication] Fix ordering issue for reset displacement Nov 12, 2024
@rfaasse rfaasse marked this pull request as ready for review November 12, 2024 14:52
@rfaasse rfaasse requested review from avdg81 and WPK4FEM November 12, 2024 14:53
Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very nice improvement. Thank you so much for catching and fixing it. I only have a few minor suggestions, nothing blocking.

WPK4FEM
WPK4FEM previously approved these changes Nov 12, 2024
Copy link
Contributor

@WPK4FEM WPK4FEM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partly formatting.
Partly an doing the variable vector component setting in C++ i.s.o. python which will be faster.
Partly not reset fixed variable vector components and the order change that is made possible with that.

@rfaasse rfaasse requested review from avdg81 and WPK4FEM November 13, 2024 12:47
avdg81
avdg81 previously approved these changes Nov 13, 2024
Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this one is ready to go.

avdg81
avdg81 previously approved these changes Nov 13, 2024
Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this PR is ready to be merged.

@rfaasse
Copy link
Contributor Author

rfaasse commented Nov 14, 2024

I believe this PR is ready to be merged.

There were some sonarcloud issues, fixed now 👍

@rfaasse rfaasse enabled auto-merge (squash) November 14, 2024 08:13
@rfaasse rfaasse requested a review from avdg81 November 14, 2024 08:25
Copy link
Contributor

@WPK4FEM WPK4FEM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks o.k. to me

@rfaasse rfaasse merged commit fb91210 into master Nov 14, 2024
11 checks passed
@rfaasse rfaasse deleted the geo/simplify-reset-displacement branch November 14, 2024 12:24
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.

3 participants