Physics-informed convolutional neural networks for fluid flow through porous media

Rafał Topolnicki, Paweł Dłotko, Maciej Matyka
5/18/2026
cs.LGphysics.comp-phphysics.flu-dyn

No confident code implementation found for this paper.

Abstract

Accurate simulation of fluid flow in porous media is challenging due to complex pore-space geometries and the computational cost of solving the Navier-Stokes equations. This difficulty is particularly important when repeated simulations are required, as standard numerical solvers may converge slowly in intricate porous domains.

Show full abstract

We present a neural-network-based framework for predicting pore-scale velocity fields directly from sample geometry. The method uses a convolutional encoder-decoder architecture with skip connections to preserve spatial detail while extracting multi-scale features. Physical consistency is encouraged through a custom loss function combining velocity reconstruction with incompressibility, no-flow conditions inside solids, periodicity constraints, and agreement with the global tortuosity index. We analyze the influence of the corresponding loss weights and quantify the contribution of individual loss components to prediction accuracy. Several CNN backbones are evaluated to identify architectures providing accurate and robust predictions. The generalization ability of the trained model is tested on samples outside the training distribution, including changes in obstacle geometry, boundary conditions, porosity, and realistic porous structures. Finally, we demonstrate a practical use of the predicted velocity fields as initial conditions for Lattice-Boltzmann simulations. This warm-start strategy accelerates solver convergence, reducing the number of iterations in over 90% of tested cases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{topolnicki2026physicsinformed,
  title  = {Physics-informed convolutional neural networks for fluid flow through porous media},
  author = {Rafał Topolnicki and Paweł Dłotko and Maciej Matyka},
  year   = {2026},
  eprint = {2605.20250},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.20250v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.20250.svg)](https://codeofpaper.com/paper/2605.20250)

Discussion