cs.CEApr 6, 2026

Generative modeling of granular flow on inclined planes using conditional flow matching

Authors: Xuyang Li, Rui Li, Teng Man, Yimin Lu

Organizations: School of Construction, University of North Carolina at Charlotte, Charlotte, NC 28223, USA · Department of Civil, Environmental, and Construction Engineering, Texas Tech University, Lubbock, TX 79409, USA · College of Civil Engineering, Zhejiang University of Technology, Hangzhou, Zhejiang 310023, China

Abstract

Granular flows govern many natural and industrial processes, yet their interior kinematics and mechanics remain largely unobservable, as experiments access only boundaries or free surfaces. Conventional numerical simulations are computationally expensive for fast inverse reconstruction, and deterministic models tend to collapse to over-smoothed mean predictions in ill-posed settings. This study, to the best of the authors' knowledge, presents the first conditional flow matching (CFM) framework for granular-flow reconstruction from sparse boundary observations. Trained on high-fidelity particle-resolved discrete element simulations, the generative model is guided at inference by a differentiable forward operator and a novel sparsity-aware gradient guidance mechanism. This mechanism avoids the gradient dilution inherent to standard mean-squared-error approaches, preserves the absolute physical scale of observation errors, enforces measurement consistency without hyperparameter tuning, and prevents unphysical velocity predictions in non-material regions. A physics decoder maps the reconstructed velocity fields to stress states and energy fluctuation quantities, including mean stress, deviatoric stress, and granular temperature. The framework accurately recovers interior flow fields from full observation to only 16% of the informative window, and it remains effective under strongly diluted spatial resolution with only 11% of data. It also outperforms a deterministic CNN baseline in the most ill-posed reconstruction regime and provides spatially resolved uncertainty estimates through ensemble generation. These results demonstrate that conditional generative modeling offers a practical route for non-invasive inference of hidden bulk mechanics in granular media, and it suggests potential applicability for inverse problems in particulate and multiphase systems.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Guided Flow Matching for Forward and Inverse PDE Problems with Sparse Observations: Algorithm and Theory

    May 25, 2026Xifeng Zhang, Jin ZhaoFlow MatchingPDE Solving

  2. Conditional flow matching for physics-constrained inverse problems with finite training data

    Mar 14, 2026Agnimitra Dasgupta, Ali Fardisi, Mehrnegar Aminy +4Conditional Flow MatchingBayesian Inverse Problems