arXiv:2611.07458cs.CENov 2026

Manuscript Offprint

arXiv:2611.07458

Physics-informed latent conditional flow matching for generative modeling of granular flows on inclined planes

Ziqi Han, Kuang Shi, Xuyang Li, Teng Man, Yimin Lu

Abstract

The internal kinematic and mechanical states of granular flows are difficult to observe or measure, limiting the interpretation of internal particle interactions and their role in flow evolution. In this study, we propose a physics-informed latent conditional flow matching (PI-LCFM) framework for reconstructing complete multivariable flow sequences from partial boundary observations. A variational autoencoder and temporal flow-matching model learn a reusable latent prior over velocity, granular temperature, stress, and solid volume fraction. During inference, boundary-velocity or basal-stress observations and mass- and momentum-conservation constraints guide the latent trajectory through the decoded physical fields, without retraining either model. The results demonstrate that the model accurately reconstructs full spatiotemporal fields from observations containing only 0.3% of the complete field information, extrapolates beyond the training ranges of inclination and particle number, and recovers key trends in runout scaling, energy evolution, and stress profiles. Compared with a frame-by-frame conditional flow-matching baseline, PI-LCFM reduces the mean velocity-component root-mean-square error by 45.2%, while observation-guided reconstruction of 500-frame sequences achieves an approximately 44-fold speedup. Physics guidance further improves conservation consistency, supporting the broader potential of this framework for inferring hidden states in particulate systems, with potential applications envisioned in geophysical hazard assessment and industrial process monitoring.

Keywords: Granular mechanics, Diffusion model, Generative AI, Physics-constrained inference, Uncertainty quantification, Inverse problem

1. Introduction

Granular flows are widely encountered in industrial processes and geophysical hazards, including particle transport, feedstock handling, landslides, rock avalanches, and debris flows [1, 2, 3, 4]. Understanding their internal kinematics and mechanical responses is essential for interpreting flow evolution and evaluating associated hazards. However, the internal states of dense granular flows are difficult to access directly in experiments. For example, in inclined plane or flume experiments, measurements are generally limited to the free surface, sidewalls, basal boundaries, or a small number of sensor locations [5, 6, 7, 8]. Consequently, internal velocity fluctuations, stress transmission, and other mechanical quantities remain largely unobservable [9, 10]. This limited visibility obscures the mechanisms and compromises the assessment of runout and impact loads in geophysical hazards and predictions of disruptive blockages in industrial handling systems [11]. Inferring these inaccessible quantities from limited measurements is thus an important inverse problem for understanding granular-flow mechanics and supporting reliable hazard assessment and process design.

Numerical simulations and conventional data-driven models provide complementary approaches to resolving the internal dynamics of granular materials. Particle-scale approaches such as the discrete element method (DEM) explicitly resolve particle motion and contact interactions [12, 13, 14], while coupling DEM with computational fluid dynamics enables the modeling of particle-fluid interactions and hydro-mechanical failures [15, 16, 17]. Continuum-based methods, including finite-element [18, 19], smoothed particle hydrodynamics [20], and the material point method [21], describe bulk motion through governing equations and constitutive relations [22, 23]. Although these approaches provide detailed mechanical information, repeated parameter calibration and high-fidelity simulations are computationally expensive for inverse reconstruction. Reduced-order methods, such as proper orthogonal decomposition [24] and dynamic mode decomposition [25], can reduce the computational cost by constructing lower-dimensional representations of complex flow fields, but they usually struggle to represent strongly nonlinear and transient processes outside the

*Corresponding author Email address: yimin.lu@ttu.edu (Yimin Lu) dominant modes captured by the training data. Deep learning algorithms provide nonlinear alternatives for field reconstruction [26, 27] and surrogate modeling [28, 29]. However, conventional deterministic models produce a single prediction and do not directly represent the non-uniqueness associated with sparse, noisy, or incomplete measurements [30]. Moreover, models trained for fixed observation inputs may also require redesign or retraining when the measured quantities or sensor configurations change, while maintaining physical consistency remains challenging.

Generative models provide a probabilistic alternative to deterministic models by representing multiple physical states compatible with incomplete measurements. For fluid-field reconstruction, Shu et al. [31] used a physics-informed diffusion model to recover turbulent fields from sparse measurements or low-resolution inputs, while Gao et al. [32] developed a Bayesian conditional diffusion model for spatiotemporal turbulence generation under different prescribed flow conditions. Du et al. [33] further combined neural-field compression with latent diffusion to reconstruct full spatiotemporal flows from sparse sensor data without retraining for each observation configuration. More recently, flow matching (FM) [34] has emerged as an efficient continuous generative formulation that transports samples from a reference distribution toward the target data distribution through a learned ordinary differential equation. Parikh et al. [35] applied FM to reconstruct near-wall turbulent velocity fluctuations from sparse wall measurements while quantifying predictive uncertainty. However, a corresponding framework for jointly reconstructing complete multivariable granular-flow sequences remains underdeveloped. Turbulent-velocity reconstruction formulations cannot be transferred directly to this problem without accounting for frictional contact stresses, evolving packing density, and dissipative particle fluctuations that couple the kinematic and mechanical fields during flow and arrest [22]. Our previous work [36] established a conditional FM framework for reconstructing internal granular-flow states from side-boundary velocity observations. However, frame-by-frame generation and a separately trained observation operator limited its efficiency and flexibility, while joint multivariable sequence generation with physical-conservation guidance remained unaddressed.

To address these limitations, this study develops a physics-informed latent conditional flow matching (PI-LCFM) framework for reconstructing granular-flow sequences from limited boundary observations. A variational autoencoder (VAE) [37, 38] compresses the high-dimensional physical fields, allowing FM to learn their temporal evolution jointly in a compact latent space. The pretrained model provides a reusable prior over sequences of velocity, granular temperature, stress, and solid volume fraction. During inference, observation discrepancies and mass- and momentum-conservation constraints are evaluated on the decoded fields, and their gradients are propagated through the fixed decoder to guide the latent trajectory. This formulation incorporates physical constraints directly into generation and accommodates either boundary-velocity or basal-stress observations without retraining the VAE or FM model. The framework is evaluated across held-out flow conditions and varying observation coverage and noise levels, using both reconstruction errors and granular-flow physics to assess its predictive fidelity.

The main contributions of this study are as follows:

  1. Decoder-mediated guidance extends observation-based reconstruction to include mass- and momentum-conservation constraints during inference, enabling physical consistency without physics-informed retraining.

  2. Joint latent sequence generation replaces frame-by-frame reconstruction [36], reducing computational cost while capturing temporal dependencies among coupled granular-flow fields.

  3. A reusable multivariable prior recovers hidden kinematic and mechanical states from either velocity or stress observations, without observation-specific retraining.

  4. The framework demonstrates generalization to held-out flow conditions and accommodates sparse and noisy observations, with fidelity assessed through both field accuracy and granular-flow physics.

References (27)