[Python] How to load the result file in OpenModelica in .mat format

Discussão em 'Python' iniciado por Stack, Fevereiro 6, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to do a co-simulation between Fluent and OM. In this process, I need to read/load the results of OM simulation in every iteration after each simulation time and add tracer concentrations from there. I was just wondering how to do this using OMPython.

    mod.simulate()

    mod.getSolutions(resultfile="c:/tmpbouncingBall.mat") ??????

    Continue reading...

Compartilhe esta Página