Replies: 2 comments 4 replies
-
HELICS is a library, it does what you tell it to do, so you can have it work however you like. If it is really one way communication then you very well could define the entire simulation and submit it once. The Delphin software would essentially run to completion and publish all the data through its interfaces. then ABAQUS could do what you want with the data even step through time to collect it all then do the follow-on calculations in a single chunk. Lots of different ways people can and have used HELICS. |
Beta Was this translation helpful? Give feedback.
-
11am PDT is 19:00 in Zurich for the next office hours. And, FYI, the next office hours after this one on the 31st is on Thursday November 14 and will be after the US has its autumnal time change which will move the meeting time for you. (It looks like you just did your time change this past weekend). |
Beta Was this translation helpful? Give feedback.
-
Hi, I am recently new to HELICS and I am trying to use it to do co-simulations based on mechanical software (e.g., ABAQUS) and hygrothermal software (e.g., Delphin). Generally, the idea is quite simple. I should have the moisture field published by Delphin at each time step and this should be subscribed by ABAQUS and influence the calculation in ABAQUS. I have a look to the fundamental example on GitHub about battery and charger, but I am still a little confused about how to configure the different federates. For example, in the main loop in Battery.py, helicsFederateRequestTime() is used to synchronize the solvers and it seems that the solver needs to be called in each iteration. But in my case described above, I need to call ABAQUS solver many times, which means that I need to submit a new job for each time step and this is quite inefficient (it will deplete my licenses for ABAQUS).
Could I just define the entire simulation and submit the job once? What is in my mind is: during the simulation, following the synchronization defined by helicsFederateRequestTime(), ABAQUS will just wait for the update of the subscription and apply the new moisture field accordingly for each time step. In this way, I do not need to submit one job per time step. So, is HELICS working like this? Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions