Inpainting physics: self-supervised learning for context-driven fluid simulation
- URL: http://arxiv.org/abs/2605.08832v1
- Date: Sat, 09 May 2026 09:37:34 GMT
- Title: Inpainting physics: self-supervised learning for context-driven fluid simulation
- Abstract summary: We propose to reformulate steady CFD inference as context-conditioned inpainting.<n>Instead of training on explicit boundary conditions, we learn a self-supervised prior over velocity fields.<n>On intracranial aneurysm hemodynamics, our method reconstructs full velocity fields from sparse boundary context.
- Score: 2.1529676354218674
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Neural surrogate models for computational fluid dynamics (CFD) are typically trained as forward operators that map explicit problem specifications, such as geometry and boundary conditions, to solution fields. This ties the model to the conditioning variables seen during training and limits reuse under boundary-condition shifts or local geometry changes. We propose to reformulate steady CFD inference as an inpainting problem: instead of training on explicit boundary conditions, we learn a self-supervised prior over velocity fields and impose boundary constraints only during inference by fixing known regions such as inlet, outlet or unchanged regions from previous simulations. To scale this idea to large 3D meshes, we introduce a local neighbourhood tokeniser that represents high-resolution velocity fields as compact spatial latent tokens and train latent flow-matching and masked-autoencoder models on these tokens. On intracranial aneurysm hemodynamics, our method reconstructs full velocity fields from sparse boundary context, outperforms supervised neural surrogates under boundary-condition and dataset shift and enables local geometry editing by reusing unchanged simulation context. These results suggest that viewing CFD inference as context-conditioned inpainting can turn neural surrogates from task-specific predictors into reusable flow priors.
Related papers
- Mesh Based Simulations with Spatial and Temporal awareness [2.867517731896504]
We propose a unified framework to bridge the gap between geometric deep learning and rigorous numerical analysis.<n>We introduce three key innovations: (1) Multi Node Prediction, a stencil-level objective that predicts field values for a node's full local topology, enforcing spatial derivative consistency; (2) Temporal Correction, replacing unstable explicit schemes with a predictor-corrector via temporal Cross-Attention; and (3) Geometric Inductive Biases, leveraging 3D Rotary Positional Embeddings (RoPE) to robustly capture rotational symmetries in unstructured meshes.
arXiv Detail & Related papers (2026-05-02T17:09:31Z) - Generative modeling of granular flow on inclined planes using conditional flow matching [4.880426970438706]
This study presents the first conditional flow matching framework for granular-flow reconstruction from sparse boundary observations.<n>A physics decoder maps the reconstructed velocity fields to stress states and energy fluctuation quantities.<n>Results demonstrate that conditional generative modeling offers a practical route for non-invasive inference of hidden bulk mechanics in granular media.
arXiv Detail & Related papers (2026-04-06T05:59:54Z) - Spline Deformation Field [21.755382164519776]
inductive biases can hinder canonical spatial coherence in ill-posed scenarios.<n>We introduce a novel low-rank spatial encoding, replacing conventional coupled techniques.<n>It achieves competitive dynamic reconstruction quality compared to state-of-the-art methods.
arXiv Detail & Related papers (2025-07-10T08:11:46Z) - Physical Informed Neural Networks for modeling ocean pollutant [1.393499936476792]
This paper introduces a framework to simulate the dispersion of pollutants governed by the 2D advection-diffusion equation.<n>The model achieves physically consistent predictions by embedding physical laws and fitting to noisy synthetic data.
arXiv Detail & Related papers (2025-07-07T04:21:09Z) - Mixture of neural operator experts for learning boundary conditions and model selection [0.40964539027092917]
We introduce an alternative approach to imposing boundary conditions inspired by volume penalization from numerical methods.<n>By introducing competing experts, the approach additionally allows for model selection.
arXiv Detail & Related papers (2025-02-06T23:29:32Z) - Trajectory Flow Matching with Applications to Clinical Time Series Modeling [77.58277281319253]
Trajectory Flow Matching (TFM) trains a Neural SDE in a simulation-free manner, bypassing backpropagation through the dynamics.<n>We demonstrate improved performance on three clinical time series datasets in terms of absolute performance and uncertainty prediction.
arXiv Detail & Related papers (2024-10-28T15:54:50Z) - NeuralClothSim: Neural Deformation Fields Meet the Thin Shell Theory [70.10550467873499]
We propose NeuralClothSim, a new quasistatic cloth simulator using thin shells.
Our memory-efficient solver operates on a new continuous coordinate-based surface representation called neural deformation fields.
arXiv Detail & Related papers (2023-08-24T17:59:54Z) - From NeurODEs to AutoencODEs: a mean-field control framework for
width-varying Neural Networks [68.8204255655161]
We propose a new type of continuous-time control system, called AutoencODE, based on a controlled field that drives dynamics.
We show that many architectures can be recovered in regions where the loss function is locally convex.
arXiv Detail & Related papers (2023-07-05T13:26:17Z) - Uncovering the Missing Pattern: Unified Framework Towards Trajectory
Imputation and Prediction [60.60223171143206]
Trajectory prediction is a crucial undertaking in understanding entity movement or human behavior from observed sequences.
Current methods often assume that the observed sequences are complete while ignoring the potential for missing values.
This paper presents a unified framework, the Graph-based Conditional Variational Recurrent Neural Network (GC-VRNN), which can perform trajectory imputation and prediction simultaneously.
arXiv Detail & Related papers (2023-03-28T14:27:27Z) - Likelihood-Free Inference in State-Space Models with Unknown Dynamics [71.94716503075645]
We introduce a method for inferring and predicting latent states in state-space models where observations can only be simulated, and transition dynamics are unknown.
We propose a way of doing likelihood-free inference (LFI) of states and state prediction with a limited number of simulations.
arXiv Detail & Related papers (2021-11-02T12:33:42Z) - A Point-Cloud Deep Learning Framework for Prediction of Fluid Flow
Fields on Irregular Geometries [62.28265459308354]
Network learns end-to-end mapping between spatial positions and CFD quantities.
Incompress laminar steady flow past a cylinder with various shapes for its cross section is considered.
Network predicts the flow fields hundreds of times faster than our conventional CFD.
arXiv Detail & Related papers (2020-10-15T12:15:02Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.