Learning with Physical Constraints
Miguel A. Mendez, Jan van Den Berghe, Manuel Ratz, Matilde Fiore, Lorenzo Schena
TL;DR
This chapter presents three toy-problem tutorials on physics-constrained regression to emulate key fluid-dynamics challenges: (i) super-resolution and data assimilation for velocity fields via a constrained RBF regression enforcing boundary, divergence-free, and curl-free priors; (ii) data-driven turbulence closure learning Reynolds stresses from flow features within a 1D RANS framework, highlighting ill-posed regions and the need for physics-informed architecture; and (iii) adjoint-based parameter identification for time-dependent systems within a digital-twin context, demonstrated with a nonlinear pendulum. The approaches explore the benefits of integrating physical priors with machine learning while candidly addressing limitations such as ill-conditioned linear systems, vanishing gradients, and sensitivity to initial conditions. The chapter uses SPICY and a mixture of analytical and data-driven closures to illustrate both potential gains and practical hurdles in physics-constrained regression for fluid dynamics. Overall, it outlines a path toward robust hybrid modeling by combining accurate physics with targeted learning, while outlining concrete avenues for improvement and future research.
Abstract
This chapter provides three tutorial exercises on physics-constrained regression. These are implemented as toy problems that seek to mimic grand challenges in (1) the super-resolution and data assimilation of the velocity field in image velocimetry, (2) data-driven turbulence modeling, and (3) system identification and digital twinning for forecasting and control. The Python codes for all exercises are provided in the course repository.
