Content: This data set includes snapshots of the code used to compute the benchmarks and applications in Krach et al (2026). The included software tools allow users to conduct pseudo-3D Stokes simulations with a geometry-informed drag term as well as analytical drag terms using DuMu
x. Users can determine permeability, volumetric flux, and local pressure and velocity fields for both the geometries featured in the publication and custom-defined domains.
Pseudo3D_Stokes: DuMuxsubmodule Pseudo-3D-Stokes Module for Varying Apertures is a DuMu
x module developed within academic research.
DuMux is a simulation toolkit specializing in Finite Volume discretization, multi-physics model coupling, and flow and transport processes in porous media. This module is designed to help researchers plan, optimize, or analyze microfluidic systems through easy-to-use numerical simulations tools based on the Stokes equations. It utilizes .pgm files as input to generate numerical grids. These files should contain 8-bit grayscale values representing the relative height of a microfluidic cell, which can be derived from microscopy images of microfluidic experiments using appropriate image processing techniques. Using the .pgm files, the python module localdrag (see below) may be used to create the suitable drag prefactor fields lambda1 and lambda2 or the user can choose the analytical drag formulation. For further details, refer to our publication (see below). Please check out the
README for information on requirements, building DuMu
x including its submodule and examples.
localdrag: python preprocessing module localdrag is a python module that generates geometry-informed prefactor maps for pseudo-3D Stokes simulations in DuMu
x, based on local pore morphology. It serves as a preprocessing tool for the DuMu
x module pseud3D_stokes and is automatically included when pseudo3D_stokes is cloned with the recurse-submodules option (recommended, see
README).
Related datasets and repositories: