This pure Python package demonstrates the application of a high-order code coupling strategy. It enables an accurate resolution of transient multiphysics problems requiring the coupling of existing specialised codes, e.g. fluid flow solver, heat diffusion solver...
The framework is focused on problems of the form:
The strategy relies on the introduction of approximations of the coupling variables as polynomials of time. Over the course of one coupling step, each subsystem is integrated with its dedicated solver, using the polynomially approximated evolution of its input
It is possible to perform the coupling in explicit or implicit form. The latter improves both accuracy and stability, but requires the resolution of a fixed-point problem at each step. Dynamic adaptation of the coupling time step is possible thanks to error estimates that can be directly derived from the polynomial approximations.
The present repository offers an example implementation of the previous strategy, with tutorials in the form of Jupyter Notebooks.
It has been developed at ONERA by Laurent François, based on a study initiated during his PhD thesis. The package is currently only proposed as a demonstration tool for small-scale problems. In the future, the coupling strategy will be ported to the Cwipi library developed at ONERA, which will make it accessible for large-scale HPC applications.
To test this package, run python setup.py develop
to register it as a development package.
Contact: laurent.francois@onera.fr