-
Notifications
You must be signed in to change notification settings - Fork 248
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
Conversation
This reverts commit d7019e6.
… the executeinitialize
There was a problem hiding this 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.
applications/GeoMechanicsApplication/custom_python/add_custom_utilities_to_python.cpp
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/python_scripts/geomechanics_analysis.py
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_workflows/dgeosettlement.h
Outdated
Show resolved
Hide resolved
applications/GeoMechanicsApplication/custom_workflows/dgeosettlement.h
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
There was a problem hiding this 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.
There was a problem hiding this 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.
There were some sonarcloud issues, fixed now 👍 |
There was a problem hiding this 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
📝 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.