KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1.05k stars 246 forks source link

[GeoMechanicsApplication] Fix ordering issue for reset displacement #12845

Closed rfaasse closed 1 week ago

rfaasse commented 1 week ago

📝 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 https://github.com/KratosMultiphysics/Kratos/pull/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 commented 1 week ago

I believe this PR is ready to be merged.

There were some sonarcloud issues, fixed now 👍