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.04k stars 245 forks source link

[CoSimulation] Multistage simulation support #11186

Open loumalouomega opened 1 year ago

loumalouomega commented 1 year ago

Description

We have noticed that current implementation of CoSimulation does not allow simulating multistage, or at least is not trivial. This is due to the fact that the model considered in CoSimulation by default is "nothing" (see), this is problematic because therefore there is no information continuity between stages, as the information between stages is transferred using the Model.

We should discuss how to interoperate stages and keep information track, in general, and in multistage analysis in general.

philbucher commented 1 year ago

You could pass one model/solver

Or one for all I think should also be possible

Can you elaborate what is missing/needs to be changed?

loumalouomega commented 1 year ago

You could pass one model/solver

Or one for all I think should also be possible

Can you elaborate what is missing/needs to be changed?

I need to have a deeper look, maybe can be solved as easy as you say

philbucher commented 1 year ago

have a look at this test: https://github.com/KratosMultiphysics/Kratos/blob/master/applications/CoSimulationApplication/tests/test_co_simulation_coupled_solver.py#L369