Skip to content

[GeoMechanicsApplication] Remove last "geo" beam element#14245

Merged
avdg81 merged 22 commits intomasterfrom
geo/11465-remove-last-beam-element
Mar 4, 2026
Merged

[GeoMechanicsApplication] Remove last "geo" beam element#14245
avdg81 merged 22 commits intomasterfrom
geo/11465-remove-last-beam-element

Conversation

@avdg81
Copy link
Contributor

@avdg81 avdg81 commented Mar 2, 2026

📝 Description
Removed element class GeoCrBeamElementLinear2D2N, the last "geo" beam element. Users are now supposed to adopt the beam elements from the StructuralMechanicsApplication.

🆕 Changelog

  • Removed element class GeoCrBeamElementLinear2D2N as well as utility class GeoStaticCondensationUtility (since it was no longer used).
  • Removed application variable RESET_DISPLACEMENTS, since it was no longer used.
  • Integration tests that were using this beam element are now using LinearTimoshenkoBeamElement2D2N. For these tests, property AREA_EFFECTIVE_Y has been added.
  • The multi-stage tests that were using the last "geo" beam element now also need to use the process ApplyFinalStressesOfPreviousStageToInitialState to make sure that the stress state is preserved when going from one stage to the next.
  • Apparently, the sign convention of LinearTimoshenkoBeamElement2D2N is reversed with respect to GeoCrBeamElementLinear2D2N. Test cases that were checking bending moments now change the sign when comparing the actual values to the expected values. Also, the output item had to be changed from MOMENT to BENDING_MOMENT, and when inquiring the latter, there is just a single value rather than multiple components. Furthermore, removed an unused property TORSIONAL_INERTIA.
  • Improved some checks and also added some more assertions to the "reset displacements" for beam test.
  • To avoid confusion, the analytical calculation of beam deflection now uses input property I33 rather than I22.
  • Updated the element hierarchy diagram.
  • Updated some test documentation.
  • Renamed a test directory (replaced the prefix "geo_beam" by "beam"). Also several other names have been modified in a similar way.
  • Fixed a deprecation warning.
  • Removed several redundant input parameters.

…shenkoBeamElement2D2N"

The new beam element type comes from StructuralMechanicsApplication. Note that the modified tests may or may not be broken now.
The last structural elements have been removed now.
- Use the "TimoshenkoBeamElasticConstitutiveLaw" rather than "BeamConstitutiveLaw". Also the prefix "KratosMultiphysics.StructuralMechanicsApplication" appeared to be redundant.
- Added property "AREA_EFFECTIVE_Y".

As a result, these (legacy) interface tests pass again.
- Use the "TimoshenkoBeamElasticConstitutiveLaw" rather than "BeamConstitutiveLaw". Also the prefix "KratosMultiphysics.StructuralMechanicsApplication" appeared to be redundant.
- Added property "AREA_EFFECTIVE_Y".
- For stages 2, 3, and 4, added the process that restores the stresses in the beam from the previous stage.
- The tolerance for testing had to be set less strict in order to make the tests pass again.
- Use the "TimoshenkoBeamElasticConstitutiveLaw" rather than "BeamConstitutiveLaw". Also the prefix "KratosMultiphysics.StructuralMechanicsApplication" appeared to be redundant.
- Added property "AREA_EFFECTIVE_Y".
- Removed properties "I22" and "TORSIONAL_INERTIA" since these are irrelevant to the problem at hand. The analytical calculation now uses "I33" rather than "I22".
- Use the "TimoshenkoBeamElasticConstitutiveLaw" rather than "BeamConstitutiveLaw". Also the prefix "KratosMultiphysics.StructuralMechanicsApplication" appeared to be redundant.
- Added property "AREA_EFFECTIVE_Y".
- Apparently, for the Timoshenko beam elements, the sign of the bending moment has been changed with respect to the "geo" beam element. That is now taken into account. Also, the Timoshenko beam element for plane strain conditions just has a single component.
- When getting the bending moment from the calculation database, use variable "BENDING_MOMENT" (from the StructuralMechanicsApplication) rather than variable "MOMENT" from the Kratos Core.
Also the test directory has been renamed (by removing the "geo_" prefix).
@avdg81 avdg81 requested review from WPK4FEM and rfaasse March 2, 2026 08:53
@avdg81 avdg81 self-assigned this Mar 2, 2026
@avdg81 avdg81 requested a review from a team as a code owner March 2, 2026 08:53
@avdg81 avdg81 added the GeoMechanics Issues related to the GeoMechanicsApplication label Mar 2, 2026
Copy link
Contributor

@rfaasse rfaasse left a comment

Choose a reason for hiding this comment

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

Thanks for removing the geo elements (and related functionality, like the static condensation + RESET_DISPLACEMENT variable), it's nice to see this clean-up!

I have a few minor questions and a suggestion for a minor clarification in one of the README.md files

avdg81 added 6 commits March 3, 2026 15:18
- Corrected the "reset_displacements" flag in stage 3. It is now in agreement with the test documentation (i.e. its value equals `false`).
- For stages 1 and 4 we check whether the maximum deflection is within a given relative tolerance of the expected maximum deflection.
- For stages 2 and 3, we compare to an absolute tolerance, since no additional deformations occur.
Removed several redundant input parameters.
Also use consistent tolerance values and removed redundant line search parameters.
Blehh...

Also updated the documentation a bit more.
@avdg81 avdg81 requested a review from rfaasse March 3, 2026 15:41
Copy link
Contributor

@rfaasse rfaasse left a comment

Choose a reason for hiding this comment

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

Thanks for processing the comments, as well as the extra clean-up in the ProjectParameters.json files. Ready to go from my point of view!

@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in GeoMechanicsApplication (Deltares) Mar 4, 2026
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 like a consistent and hopefully complete removal to me.
Furthermore, the beam with reset displacement now is more comprehensible to me.
Good to go,
Wijtze Pieter

@avdg81 avdg81 merged commit 9aafb2f into master Mar 4, 2026
10 checks passed
@avdg81 avdg81 deleted the geo/11465-remove-last-beam-element branch March 4, 2026 08:45
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in GeoMechanicsApplication (Deltares) Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GeoMechanics Issues related to the GeoMechanicsApplication

Development

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Remove GeoStructural Elements where justified + associated impact

3 participants