SC²S Colloquium - Nov 22, 2018

From Sccswiki
Revision as of 09:24, 5 November 2018 by Reiz (talk | contribs) (Created page with "{| class="wikitable" |- | '''Date:''' || Nov 22, 2018 |- | '''Room:''' || [https://portal.mytum.de/displayRoomMap?roomid=00.08.053@5608 00.08.053] |- | '''Time:''' || 15:00 - ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Date: Nov 22, 2018
Room: 00.08.053
Time: 15:00 - 15:30

Benjamin Rüth: Solving the partitioned heat equation using FEniCS and preCICE

This is a preview of his GAMM-CSE 2018 talk

Code reuse is often beneficial from a software engineering perspective. However, reusing code in complex setups that arise in the context of coupled problems is not straightforward. In this talk I want to describe how to solve the partitioned heat equation -- a simple model problem for coupled problems -- using open source software:

Two instances of FEniCS are used to solve the heat equation on originally independent domains. The two domains are non-overlapping and only interacting with each other through a common coupling interface. On the algorithmic level, the two domains are coupled at the interface via Dirichlet-Neumann coupling. The coupling and the communication between the two FEniCS solvers is realized with the open source coupling library preCICE. While FEniCS and preCICE are freely available, the development of glue code (adapter) that allows to couple two instances of FEniCS via preCICE is necessary.

Of course, the aforementioned example is only a proof-of-concept. In the future, we plan to reuse components of this setup to perform more complex simulations -- for example in the area of conjugate heat transfer. Here, the already existing FEniCS solver can be coupled with an appropriate flow solver using preCICE. Additionally, as FEniCS is a general finite element framework, other physical phenomena may be simulated. In this case, parts of the adapter that are specific to the physics have to be modified correspondingly. However, other parts of the adapter that are independent of the physics, such as mesh treatment, can be reused.