Input files and results for two simulation examples using the preCICE-FMI runner as described in "A preCICE-FMI Runner to Couple FMUs to PDE-Based Simulations".
First, the simulation of a partitioned mass-spring oscillator system is considered. All model equations are based on ODEs. The coupled simulation can be executed with a FMU models, a Python solver or the combination of both. Second, we calculate a fluid flow around a moving cylinder. The flow equations are PDE-based and solved by OpenFOAM. A FMU model is coupled to OpenFOAM and used to implement a control algorithm to suppress the movement of the cylinder.
Please refer to the README file for further instructions.
We acknowledge the support by the Stuttgart Center for Simulation Science (SimTech).