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.02k stars 244 forks source link

[Dam] Fixing initial stress tensor size definition #12491

Closed xaviertort closed 3 months ago

xaviertort commented 3 months ago

📝 Description After the PR #12330 was done, the variable INITIAL_STRESS_TENSOR is always considered during the analysis. As the schemes of DamApplication were not modified to define properly the variable's size, a memory error appears.

We corrected this issue and we also did some cleanup in PoromechanicsApplication utilities.

@joaquinirazabal, please, update the corresponding tests when they are ready in order to check that everything works fine in further ocasions.

🆕 Changelog