Skip to content

[SMApp] - Analysis of multiple loadcases#14426

Draft
T-Siemer wants to merge 9 commits into
masterfrom
smapp/multi_load_constraint_analysis
Draft

[SMApp] - Analysis of multiple loadcases#14426
T-Siemer wants to merge 9 commits into
masterfrom
smapp/multi_load_constraint_analysis

Conversation

@T-Siemer

@T-Siemer T-Siemer commented May 4, 2026

Copy link
Copy Markdown

name: Analysis of multiple loadcases


📝 Description

Implemented a two-stage workflow for the analysis of multiple loadcases in the StructuralMechancisApplication, currently limited to linear static:

  • Preparation stage (multi_load_constraint_preparation.py)
  • Solving stage (multi_load_constraint_analysis.py )

The preparation stage builds the global LHS once and builds one RHS per load process defined in the input. It also prepares a fixity-definition dictionary and returns the relevant data through GetFinalData() for subsequent stages.

The solving stage applies the requested fixities, solves the "primitive" load cases individually, stores the resulting solution vectors, and then forms the requested combinations by linear superposition of the primitive solutions. The combined results are written back to the model DOFs and can be output per combination.

A small change was necessary in the sequential orchestrator to be able to pass the output data from the preparation stage to the solving stage. I created a copy of the file and added a few lines (see changelog).

I also created some Python bindings for C++ functions. (see changelog).

🆕 Changelog

  • Added multi_load_constraint_preparation.py to StructuralMechanicsApplication
  • Added multi_load_constraint_analysis.py to StructuralMechanicsApplication
  • Added lines 74-76 to custom_sequential_orchestrator.py (kratos/python_scripts/orchestrators/custom_sequential_orchestrator.py)
  • Added bindings in kratos/future/python/add_linear_solvers_to_python.cpp and kratos/future/python/add_strategies_to_python.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant