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
985 stars 242 forks source link

[GeoMechanicsApplication] Investigate how to extract and retain a stress field from structural elements (for 'reset_displacements') #12495

Open rfaasse opened 3 days ago

rfaasse commented 3 days ago

Starting point for retrieving could be CalculateOnIntegrationPoints is_restarted_model could impact retaining this data.

The 'temp_stress' that is saved in the state of our geo_truss_element (see https://github.com/KratosMultiphysics/Kratos/blob/master/applications/GeoMechanicsApplication/custom_elements/geo_truss_element.cpp#L229), can be calculated by calling CalculateOnIntegrationPoints(PK2_STRESS_VECTOR)

For reference https://github.com/KratosMultiphysics/Kratos/pull/12197/

Acceptance Criteria Reset displacement test for a truss element, works without a hard-coded value on an investigation branch