News — python

Tutorial for the dune-fem python bindings

A detailed description of the dune-fem python bindings is now available. It contains an introduction to the main concepts and to the core bindings. Many individual Python script / Jupyter notebooks are available for download showing how to solve a wide range of complex problems. These provide a good starting point for new users. Extensions of DUNE-FEM (e.g. solvers based on a wide range of Discontinuous Galerkin and Virtual Element methods) are also showcased.

hp-DG for two-phase flow in porous media

The Python framework for hp-adaptive discontinuous Galerkin methods for two-phase flow in porous media was recently published. The paper presents a hp-adaptive Discontinuous Galerkin approach for two-phase flow in porous media. The implementation is based in the newly developed Python binding for DUNE and DUNE-FEM. A Docker image can be found quick testing of the available features.

dune-python 2.6.0 paper

The release of the dune-python dune-python module is accompanied by a recently finished article describing the mechanisms behind dune-python and providing a detailed introduction into its use.

dune-python 2.6.0 released

The first release of the new dune-python has finally arrived!

This module provides the general infrastructure for exporting realizations of statically polymorphic interfaces to Python based on just-in-time compilation as well as bindings for the central interfaces of the Dune core modules. This makes it possible to use Python to perform pre and post processing steps and to test new algorithms before transferring the code to C++. Adding Python bindings for additional modules and importing free standing C++ template functions is straightforward.

In this first release, we focus on the grid interface. Some grid implementations residing in external Dune modules, like ALUGrid, SPGrid, and the new PolygonGrid, also provide Python bindings in the presence of dune-python.

You can get the code by cloning the git repository and checking out the v2.6.0 tag or by downloading the source archive.

dune-python f.k.a. dune-corepy

It was decided at the 2016 dune developer meeting that dune-corepy should be renamed into dune-python. This has now been done. A transition guide is available.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Apr 4, 22:50, 2025)