Abstract
As pointed out in multiple keynote presentations at previous SIMULTECH conferences, interoperability of simulation models and software is an important success factor of simulations in general. The FMI standard, today's most popular co-simulation concept, realizes such interoperability by treating simulation models as libraries (FMUs). A "coupler" then calls and orchestrates these models. This is easily possible for simple models, such as ODE-based ones. More accurate models with space resolution – PDE-based models – however, cannot always be easily converted into libraries adhering to a pre-defined API. In fact, such models are often implemented in legacy software, which is the result of decades of work. A natural wish is to couple such software in a minimally-invasive way instead. This can be realized if we turn things around: if the coupling software instead becomes the library, which is then called by the model software.
PDE-based simulations also come with another challenge: They are typically very expensive to solve. Large compute clusters are often needed to solve a single model and large amounts of (space-dependent) data need to be communicated to couple models to one another. If all coupling data is orchestrated by a single coupling process, this process quickly becomes a severe performance bottleneck. To handle this challenge, a peer-to-peer coupling approach can be very helpful.
In this presentation, I introduce the basic concepts behind the open-source coupling library preCICE (https://precice.org/) – the library concept and the peer-to-peer concept. preCICE thus allows researchers to seamlessly plug together PDE-based simulation software for partitioned multi-physics and multi-scale simulations. For the actual coupling, preCICE offers methods for fixed-point acceleration (quasi-Newton acceleration), fully parallel communication (MPI or TCP/IP), data mapping (radial-basis function interpolation), and time interpolation (waveform relaxation). Today, although being an academic software project at heart, preCICE is used by more than 100 research groups in both academia and industry. Ready-to-use adapters for many popular PDE-based simulation software packages are available, e.g. OpenFOAM, SU2, CalculiX, FEniCS, or deal.II. The wide variety of application fields ranges from aerodynamics to astronautics, automotive manufacturing, wind energy, biomechanics, biomimetics, marine engineering, nuclear fusion, reactor safety, geophysical systems, and many more.