arXiv ScienceSearch

arXiv subjects

Mathias J. Krause

Publications and source records attributed to Mathias J. Krause.

At least 19 recordsLinked to original sources

Gradient Reconstruction in Lattice Boltzmann Methods for Systems of Conservation Laws

The automatic derivation turns a declared system of conservation laws into a lattice Boltzmann scheme, giving each conserved physical quantity a set of q populations whose linear equilibrium embeds the physical flux in their first moment. When the flux depends on gradients of the conserved state, those gradients are supplied by tracking them as additional transported fields. Since lattice Boltzmann is commonly memory-bound, these additional degrees of freedom reduce the achievable throughput. To reclaim it, we reconstruct the gradients from the moment structure of the equilibrium instead of transporting them. To leading order, the first moment of a conserved quantity's non-equilibrium part carries its gradient. Because the reconstructed flux enters its own equilibrium reference, that moment is the image of the gradient under a linear operator built from the diffusive-flux Jacobian. The reconstruction is that operator's algebraic inverse, generic across gradient-form constitutive closures and generated automatically from each declared flux. The resulting scheme carries the conserved quantities alone, reconstructing the required gradients from the populations and forming the fluxes locally. It converges at second order in double precision across advection-diffusion-reaction, Allen-Cahn, Navier-Stokes, resistive magnetohydrodynamics and homogenized compressible Navier-Stokes-Fourier systems, matching the accuracy of gradient tracking at equal resolution. On an NVIDIA RTX A5000 it is up to 3.7 times faster in single precision, the memory-bound kernels reaching up to 97% of peak memory bandwidth.

cs.MS

A Scalable OpenLB LAMMPS Framework for Fully Resolved Simulations of Hindered Settling of Arbitrary Non-Spherical Particles

Hindered settling of non spherical particles remains significantly less understood than spherical particles due to the computational challenges in resolving the complex contact mechanics and hydrodynamic interactions. In this paper, we present a scaleable fluid structure interaction (FSI) framework coupling the open-source LBM software in OpenLB with the Discrete Element Method (DEM) implemented in LAMMPS to simulate arbitrary shaped rigid bodies in a fluid. Particle contacts are captured using a multi-sphere "clump" representation in DEM, while particle geometries are resolved on the fluid grid via voxelization. We validate our model against single and multi-particle benchmarks, and proceed to study the hindered setttling of cubes in systems containing upto 100,000 cubes. Our simulations show distinct differences between the settling of cubes and sphere, as cubes form pronounced coordination shells without face-parallel contact, in contrast to the contact-dominated clustering observed in spheres. Our results find that correlation length in velocity fluctuations scale with system size even for the largest system studied. These findings highlight the role of particle morphology in suspension dynamics and demonstrate a robust framework for simulating large-scale geotechnical and particulate flows.

physics.flu-dyn

Lattice Boltzmann Method for Compressible Navier-Stokes-Fourier Equations

A lattice Boltzmann scheme for the three-dimensional compressible Navier--Stokes--Fourier equations, derived automatically from the declared system by a symbolic compiler, is validated against exact solutions and published reference data. The declared system carries the viscous stress and the heat flux as transported state, and is discretized on a D3Q7 lattice in single precision. Against the exact Sod and Becker solutions the captured shock thickness converges at first order. On the supersonic Taylor-Green vortex at $M_0 = 1.25$ the scheme at $512^3$ matches the reference dilatational dissipation more closely than seven compared solvers, by thirty percent over the next best. Every operator in this solver, the generated collision and constitutive closure and the added shock sensor alike, reads only the cell it acts on, and data reaches a neighbor only by streaming along the lattice characteristics.

physics.flu-dyn

Automated Derivation of Lattice Boltzmann Methods for Systems of Conservation Laws

Multiphysics simulation with lattice Boltzmann methods (LBM) requires a scheme hand-derived for each partial differential equation (PDE), a labor-intensive, error-prone bottleneck. We recognize our recently proposed class of LBM schemes as a discrete-kinetic relaxation approximation of conservation laws and generalize its hand derivation to an automated one for systems of hyperbolic, parabolic, and mixed-type conservation laws. The derivation splits into three steps: First, the PDE system is equivalently rearranged into a first-order cascade of conservation laws: every spatial derivative in flux or source becomes an auxiliary variable, recursively for higher derivatives, so all fluxes are algebraic and updates stay local. Second, the augmented system is approximated by a discrete-velocity kinetic relaxation model with linear, constant-coefficient transport: all nonlinearity resides in a local equilibrium embedding the flux exactly in its first moment, trading the low-Mach truncation for an a priori checkable sub-characteristic wave-speed bound. Third, the relaxation system is discretized by a standard LBM, yielding collide-and-stream algorithms running unchanged on existing solvers. A symbolic compiler using a domain-specific language encapsulates these steps: unlike existing LBM code generators, which start from the discrete scheme, it automatically derives equilibrium, gradient-tracking cascade, and grid scaling from the declared PDE alone. We exercise it across twelve PDE systems, including compressible Navier--Stokes--Fourier flow, resistive magnetohydrodynamics, and nonlinear elasticity. Manufactured-solution verification confirms convergence at or near second order in double precision, retained in single precision by a reference- and equilibrium-shifted formulation. Targeting OpenLB, the generated GPU kernels reach up to 96% of the memory-bandwidth roofline.

cs.MS

Mean-Flow Adjoint Sensitivity Analysis of Unsteady Flow Around Porous Cylinders Using a Homogenized Lattice Boltzmann Method

Adjoint-based sensitivity analysis is an indispensable tool for large-scale fluid-dynamic design and distributed control problems, yet its application to unsteady and turbulent flows is frequently hindered by the prohibitive memory footprint of transient checkpointing and the divergence of gradients in chaotic regimes. To address these computational bottlenecks, this paper presents a mean-flow adjoint sensitivity analysis framework for unsteady flows around porous cylinders using the homogenized lattice Boltzmann method (HLBM). Within this framework, solid structures are efficiently modeled as local porous media utilizing a Brinkman penalization approach. We systematically investigate HLBM-based adjoint gradients for drag and energy dissipation objective functionals, transitioning from steady laminar to unsteady, and finally to turbulent flow regimes. For the turbulent case at Re = 3900, a proof-of-concept is conducted where the framework relies on automatic differentiation to automatically generate adjoint kernels containing subgrid-scale (SGS) turbulence models for large eddy simulations (LES), circumventing manual derivation and allowing for a direct comparison against the frozen turbulence assumption (FTA).

physics.flu-dyn

Lattice Boltzmann Methods for Compressible (Magneto)hydrodynamics

The simulation of magnetohydrodynamic (MHD) flows presents a highly complex, tightly coupled transport problem that poses severe numerical and computational demands. Towards this, we propose a novel class of Lattice Boltzmann Methods (LBM) schemes capable of solving a wide range of transport equation systems with high computational efficiency and scalability. Our approach exploits the algorithmic structure of kinetic formulations to separately transport all state variables of Strang-splitted conservation equations alongside their characteristics, yielding decoupled, fully local operations. To demonstrate the capability of this framework on complex, numerically demanding multiphysics interactions, we apply it to these MHD flows. Specifically, we discretize ideal compressible and resistive incompressible MHD systems, which naturally encompass hydrodynamic limits such as the compressible Euler and incompressible Navier-Stokes equations. Rigorous performance analysis of the implementation within the platform-transparent multi-physics framework OpenLB demonstrates up to 98.9\% of the hardware roofline. We validate our approach against established incompressible and compressible MHD benchmarks across multiple resolutions. Finally, we simulate a moving, surface-resolved magnetized asteroid modeled after 16 Psyche in a supersonic early solar wind flow. This showcases the framework's advanced support for dynamic solid geometries, shifting magnetic fields, and fluid-structure interaction.

physics.flu-dyn

N-Component Free Energy Lattice Boltzmann Method with Reduction Consistency and Global Momentum Conservation

We present a free energy lattice Boltzmann model capable of simulating fluid systems with an arbitrary number of immiscible components in principle. Our method is strictly reduction consistent, ensuring that absent fluid components do not spontaneously nucleate. We introduce a novel discretization of the surface tension force that globally conserves momentum to machine precision, and we enforce reduction consistency through a flux correction that is independent of the mobility. The method is benchmarked with a range of static and dynamic problems, including: liquid lenses, Janus droplets, quaternary phase separation, and six-component layered Poiseuille flow, and we obtain excellent agreement with theoretical predictions throughout. Finally, we demonstrate the applicability of the proposed method through patterned liquid surfaces and microfluidic emulsion droplet generation.

physics.flu-dyn

Efficient Wall-Modelled Large Eddy Simulation of Rotors using Homogenized Lattice Boltzmann Methods

Accurately capturing the dynamic forces acting on rotors as well as their wake effects presents a significant challenge for computational fluid dynamics (CFD) due to high Reynolds numbers and a large range of spatio-temporal scales. The present work proposes a novel blade-resolved wall-modeled large eddy simulation (WMLES) approach based on the lattice Boltzmann method (LBM). A homogenized hybrid regularized recursive collision scheme targeting the filtered Brinkman--Navier--Stokes equations is combined with a novel wall-model. This is implemented in the context of a platform-transparent framework for fluid-structure interaction in the open source LBM framework OpenLB. Convergence order and accuracy are validated against both experimental and numerical data for a model wind turbine, demonstrating excellent agreement for integral forces and wake velocity profiles. Computational efficiency and parallel scalability was investigated by roofline analysis and weak scaling studies for up to 384 rotors resolved by 41 billion lattice cells on the Karolina supercomputer. The proposed framework enables efficient blade-resolved WMLES of entire wind farms and offers a new methodology for other complex wall-modeled fluid-structure interaction applications.

physics.flu-dyn

An Integrated Open Source Software System for the Generation and Analysis of Subject-Specific Blood Flow Simulation Ensembles

Background and Objective: Hemodynamic analysis of blood flow through arteries and veins is critical for diagnosing cardiovascular diseases, such as aneurysms and stenoses, and for investigating cardiovascular parameters, such as turbulence and wall shear stress. For subject-specific analyses, the anatomy and blood flow of the subject can be captured non-invasively using structural and 4D Magnetic Resonance Imaging (MRI). Computational Fluid Dynamics (CFD), on the other hand, can be used to generate blood flow simulations by solving the Navier-Stokes equations. To generate and analyze subject-specific blood flow simulations, MRI and CFD have to be brought together. Methods: We present an interactive, customizable, and user-oriented visual analysis tool that assists researchers in both medicine and numerical analysis. Our open-source tool is applicable to domains such as CFD and MRI, and it facilitates the analysis of simulation results and medical data, especially in hemodynamic studies. It enables the creation of simulation ensembles with a high variety of parameters. Furthermore, it allows for the visual and analytical examination of simulations and measurements through 2D embeddings of the similarity space. Results: To demonstrate the effectiveness of our tool, we applied it to three real-world use cases, showcasing its ability to configure simulation ensembles and analyse blood flow dynamics. We evaluated our example cases together with MRI and CFD experts to further enhance features and increase the usability. Conclusions: By combining the strengths of both CFD and MRI, our tool provides a more comprehensive understanding of hemodynamic parameters, facilitating more accurate analysis of hemodynamic biomarkers.

physics.med-ph

Uncertain data assimilation for urban wind flow simulations with OpenLB-UQ

Accurate prediction of urban wind flow is essential for urban planning, pedestrian safety, and environmental management. Yet, it remains challenging due to uncertain boundary conditions and the high cost of conventional CFD simulations. This paper presents the use of the modular and efficient uncertainty quantification (UQ) framework OpenLB-UQ for urban wind flow simulations. We specifically use the lattice Boltzmann method (LBM) coupled with a stochastic collocation (SC) approach based on generalized polynomial chaos (gPC). The framework introduces a relative-error noise model for inflow wind speeds based on real measurements. The model is propagated through a non-intrusive SC LBM pipeline using sparse-grid quadrature. Key quantities of interest, including mean flow fields, standard deviations, and vertical profiles with confidence intervals, are efficiently computed without altering the underlying deterministic solver. We demonstrate this on a real urban scenario, highlighting how uncertainty localizes in complex flow regions such as wakes and shear layers. The results show that the SC LBM approach provides accurate, uncertainty-aware predictions with significant computational efficiency, making OpenLB-UQ a practical tool for real-time urban wind analysis.

physics.flu-dyn

OpenLB-UQ: An Uncertainty Quantification Framework for Incompressible Fluid Flow Simulations

Uncertainty quantification (UQ) is crucial in computational fluid dynamics to assess the reliability and robustness of simulations, given the uncertainties in input parameters. OpenLB is an open-source lattice Boltzmann method library designed for efficient and extensible simulations of complex fluid dynamics on high-performance computers. In this work, we leverage the efficiency of OpenLB for large-scale flow sampling with a dedicated and integrated UQ module. To this end, we focus on non-intrusive stochastic collocation methods based on generalized polynomial chaos and Monte Carlo sampling. The OpenLB-UQ framework is extensively validated in convergence tests with respect to statistical metrics and sample efficiency using selected benchmark cases, including two-dimensional Taylor--Green vortex flows with up to four-dimensional uncertainty and a flow past a cylinder. Our results confirm the expected convergence rates and show promising scalability, demonstrating robust statistical accuracy as well as computational efficiency. OpenLB-UQ enhances the capability of the OpenLB library, offering researchers a scalable framework for UQ in incompressible fluid flow simulations and beyond.

physics.flu-dyn

Large-Scale Simulations of Turbulent Flows using Lattice Boltzmann Methods on Heterogeneous High Performance Computers

Current GPU-accelerated supercomputers promise to enable large-scale simulations of turbulent flows. Lattice Boltzmann Methods (LBM) are particularly well-suited to fulfilling this promise due to their intrinsic compatibility with highly parallel execution on both SIMD CPUs and GPUs. A novel LBM scheme for wall-modeled LES in complex geometries is described with a special focus on the efficient implementation in the open source LBM framework OpenLB. Detailed scalability results are provided for all HoreKa partitions, utilizing up to 128 nodes and covering problem sizes up to 18 billion cells.

physics.comp-ph

Analytical solution for dynamic evaporation of liquid in isothermal condition

An analytical solution based on a diffuse interface model is presented for an isothermal evaporation problem under sub-saturation pressure. The macroscopic equations are derived from the free-energy method, widely recognized in the lattice Boltzmann literature, distinguishing our approach from conventional evaporation models that rely on jump conditions or pure kinetic theory. The interface behavior is fully described by differential equations, eliminating the need for assumptions such as local equilibrium at the interface. We derive an exact analytical solution for the inviscid case and propose an approximate solution when viscosity effects are considered. Our model unveils a novel relationship between evaporation rate and viscosity, providing new insights that have not been thoroughly explored in the literature. The analytical results are validated through numerical simulations using the open-source parallel library OpenLB, demonstrating excellent agreement in predicting the physical behavior of the evaporation phenomena within the framework of diffuse interface methods.

physics.flu-dyn

On the consistency of pseudo-potential lattice Boltzmann methods

We derive the partial differential equation (PDE) to which the pseudo-potential lattice Boltzmann method (P-LBM) converges under diffusive scaling, providing a rigorous basis for its consistency analysis. By establishing a direct link between the method's parameters and physical properties-such as phase densities, interface thickness, and surface tension-we develop a framework that enables users to specify fluid properties directly in SI units, eliminating the need for empirical parameter tuning. This allows the simulation of problems with predefined physical properties, ensuring a direct and physically meaningful parametrization. The proposed approach is implemented in OpenLB, featuring a dedicated unit converter for multiphase problems. To validate the method, we perform benchmark tests-including planar interface, static droplet, Galilean invariance, and two-phase flow between parallel plates-using R134a as the working fluid, with all properties specified in physical units. The results demonstrate that the method achieves second-order convergence to the identified PDE, confirming its numerical consistency. These findings highlight the robustness and practicality of the P-LBM, paving the way for accurate and user-friendly simulations of complex multiphase systems with well-defined physical properties.

physics.flu-dyn

On the range of validity of parabolic models for fluid flow through isotropic homogeneous porous media

Lattice-Boltzmann methods are established mesoscopic numerical schemes for fluid flow, that recover the evolution of macroscopic quantities (viz., velocity and pressure fields) evolving under macroscopic target equations. The approximated target equations for fluid flows are typically parabolic and include a (weak) compressibility term. A number of Lattice-Boltzmann models targeting, or making use of, flow through porous media in the representative elementary volume, have been successfully developed. However, apart from two exceptions, the target equations are not reported, or the assumptions for and approximations of these equations are not fully clarified. Within this work, the underlying assumption underpinning parabolic equations for porous flow in the representative elementary volume, are discussed, clarified and listed. It is shown that the commonly-adopted assumption of negligible hydraulic dispersion is not justifiable by clear argument - and in fact, that by not adopting it, one can provide a qualitative and quantitative expression for the effective viscosity in the Brinkman correction of Darcy law. Finally, it is shown that, under certain conditions, it is possible to interpret porous models as Euler-Euler multiphase models wherein one phase is the solid matrix.

physics.flu-dyn

Predicting Filter Medium Performances in Chamber Filter Presses with Digital Twins Using Neural Network Technologies

Efficient solid-liquid separation is crucial in industries like mining, but traditional chamber filter presses depend heavily on manual monitoring, leading to inefficiencies, downtime, and resource wastage. This paper introduces a machine learning-powered digital twin framework to improve operational flexibility and predictive control. A key challenge addressed is the degradation of the filter medium due to repeated cycles and clogging, which reduces filtration efficiency. To solve this, a neural network-based predictive model was developed to forecast operational parameters, such as pressure and flow rates, under various conditions. This predictive capability allows for optimized filtration cycles, reduced downtime, and improved process efficiency. Additionally, the model predicts the filter mediums lifespan, aiding in maintenance planning and resource sustainability. The digital twin framework enables seamless data exchange between filter press sensors and the predictive model, ensuring continuous updates to the training data and enhancing accuracy over time. Two neural network architectures, feedforward and recurrent, were evaluated. The recurrent neural network outperformed the feedforward model, demonstrating superior generalization. It achieved a relative $L^2$-norm error of $5\%$ for pressure and $9.3\%$ for flow rate prediction on partially known data. For completely unknown data, the relative errors were $18.4\%$ and $15.4\%$, respectively. Qualitative analysis showed strong alignment between predicted and measured data, with deviations within a confidence band of $8.2\%$ for pressure and $4.8\%$ for flow rate predictions. This work contributes an accurate predictive model, a new approach to predicting filter medium cycle impacts, and a real-time interface for model updates, ensuring adaptability to changing operational conditions.

cs.LG

A Digital Urban Twin Enabling Interactive Pollution Predictions and Enhanced Planning

Digital twin (DT) technology is increasingly used in urban planning, leveraging real-time data integration for environmental monitoring. This paper presents an urban-focused DT that combines computational fluid dynamics simulations with live meteorological data to analyze pollution dispersion. Addressing the health impacts of pollutants like particulate matter and nitrogen dioxide, the DT provides real-time updates on air quality, wind speed, and direction. Using OpenStreetMaps XML-based data, the model distinguishes between porous elements like trees and solid structures, enhancing urban flow analysis. The framework employs the lattice Boltzmann method (LBM) within the open-source software OpenLB to simulate pollution transport. Nitrogen dioxide and particulate matter concentrations are estimated based on traffic and building emissions, enabling hot-spot identification. The DT was used from November 7 to 23, 2024, with hourly updates, capturing pollution trends influenced by wind patterns. Results show that alternating east-west winds during this period create a dynamic pollution distribution, identifying critical residential exposure areas. This work contributes a novel DT framework that integrates real-time meteorological data, OpenStreetMap-based geometry, and high-fidelity LBM simulations for urban wind and pollution modeling. Unlike existing DTs, which focus on structural monitoring or large-scale environmental factors, this approach enables fine-grained, dynamic analyses of urban airflow and pollution dispersion. By allowing interactive modifications to urban geometry and continuous data updates, the DT serves as a powerful tool for adaptive urban planning, supporting evidence-based policy making to improve air quality and public health.

physics.soc-ph

Homogenized lattice Boltzmann methods for fluid flow through porous media -- part I: kinetic model derivation

In this series of studies, we establish homogenized lattice Boltzmann methods (HLBM) for simulating fluid flow through porous media. Our contributions in part I are twofold. First, we assemble the targeted partial differential equation system by formally unifying the governing equations for nonstationary fluid flow in porous media. A matrix of regularly arranged, equally sized obstacles is placed into the domain to model fluid flow through porous structures governed by the incompressible nonstationary Navier--Stokes equations (NSE). Depending on the ratio of geometric parameters in the matrix arrangement, several homogenized equations are obtained. We review existing methods for homogenizing the nonstationary NSE for specific porosities and discuss the applicability of the resulting model equations. Consequently, the homogenized NSE are expressed as targeted partial differential equations that jointly incorporate the derived aspects. Second, we propose a kinetic model, the homogenized Bhatnagar--Gross--Krook Boltzmann equation, which approximates the homogenized nonstationary NSE. We formally prove that the zeroth and first order moments of the kinetic model provide solutions to the mass and momentum balance variables of the macrocopic model up to specific orders in the scaling parameter. Based on the present contributions, in the sequel (part II), the homogenized NSE are consistently approximated by deriving a limit consistent HLBM discretization of the homogenized Bhatnagar--Gross--Krook Boltzmann equation.

math.NA