Welcome to pyoomph’s documentation!

Pyoomph Logo

pyoomph is a python multi-physics finite element framework based on oomph-lib and GiNaC.

pyoomph lets you assemble quite arbitrary multi-physics and multi-domain problems directly in python, including custom equations, constraints and moving meshes. By generating symbolically derived C code, the performance of pyoomph is on par with hand-coded finite element implementations, but with a considerably lower workload to set up complicated problems.

You can either browse the tutorial online or download a PDF version.

The source code of pyoomph is hosted on Github and you can find its homepage at pyoomph.github.io.

Tutorial

Table 1 Some representative tutorial cases

tuto_lorenz

Adaptive timestepping for the Lorenz attractor

tuto_odebif

Stability analysis and bifurcation tracking of ODEs

tuto_hopfswitch

Hopf branch switching to periodic orbits

tuto_floquet

Stability of periodic orbits via Floquet multipliers

tuto_adaptpoisson

Spatial adaptivity for a 2d Poisson equation

tuto_stokeslaw

Flow around a sphere (Stokes law)

tuto_stokesdrop

No normal flow through a curved interface

tuto_fishmesh

Generation of custom meshes

tuto_waveeq

Wave equation

tuto_rtinstab

Rayleigh-Taylor instability

tuto_lubric

Coalescence of droplets via lubrication theory

tuto_pattern

Pattern formation and stability analysis

tuto_nsfreesurf

Transient simulation of a free surface

tuto_drop3d

Three-dimensional droplet with varying wettability

tuto_remeshing

Moving meshes and mesh reconstruction

tuto_dropmara

Droplet with Marangoni flow and gravity

tuto_icecyl

Melting of an ice cylinder

tuto_stokessurf

Flow around a sphere with insoluble surfactants

tuto_evap

Evaporation of a water droplet

tuto_heleshaw

Mixture evaporation from a Hele-Shaw cell

tuto_solid

Nonlinear elasticity

tuto_fsi

Fluid-structure interaction

tuto_dg

Discontinuous Galerkin methods

tuto_linresp

Linear response to periodic driving

tuto_dropdetach

Bifurcation tracking of a detaching droplet

tuto_azimuthal

Azimuthal stability analysis

tuto_cartnormal

Cartesian normal mode stability analysis

tuto_precice

Coupling multiple simulations with preCICE

Indices and tables