CoSimulation Application is too slow #12397
Replies: 2 comments 7 replies
-
Did you try to run it witha profiler to see what is taking most of the time?, Intel VTune is free, and it is the tool we ussually consider in our performance analyses. |
Beta Was this translation helpful? Give feedback.
-
that sounds like sth is wrong with the setup. I tested it with really big problems, and CoSim was never the issue Increasing the echo-level should print some timings, those should give some first answers Nevertheless I might be wrong, maybe I screwed up sth. Can you post some characteristics of the problem, or maybe a full example setup? |
Beta Was this translation helpful? Give feedback.
-
Dear commity,
We built thermal elements in GeoMechanicsApplication. The thermal element interact with water-pressure element by CoSim. So, actually we use cosim to run 2 simulations of GeoMechanics, one is for water pressure, and the other is for thermal.
We have exactly same grid geometry. All the node coordinates and element geometries are identical. So, we expect the simulation time to be the sum of simulation times for pressure and thermal cases, with a small extra fraction as communication time.
However, the simulation take far more long than expected. It may take several times longer, or sometimes even more. It may reach to 10's time langer. We think (if we are correct) it may come from a searching algorithm in CoSim or Mapper as it needs to find the nodes of those two seperate runs (pressure and thermal) and interpolate the nodal variables (in our case, we use nearest neighbour).
As our meshes for pressure and thermal are identical, is it possible to avoid the interpolation phase and use a direct mapping of nodes?
I thank you in advance
Best regards
Mohamed Nabi
Deltares
Beta Was this translation helpful? Give feedback.
All reactions