Learning Density Functionals to Bridge Particle and Continuum Scales
Edoardo Monti, Peter Yatsyshin, Konstantinos Gkagkas, Andrew B. Duncan
TL;DR
This work integrates physics-informed neural corrections within classical density functional theory to learn corrections to the excess Helmholtz free energy $F_{ex}[ ho]$ for Lennard–Jones fluids. By enforcing the Euler–Lagrange equilibrium conditions via an adjoint optimization, the augmented functional preserves thermodynamic structure while capturing missing correlations, achieving quantitative agreement with MD for planar adsorption, bulk coexistence, and surface tension, and extending accurately to 3D droplet shapes and contact angles. The approach yields transferable predictions across geometry, temperature, and confinement with data-efficient training that exploits the underlying physics, offering a scalable bridge from atomistic simulations to continuum interfacial models. This framework provides a general route to learned thermodynamic functionals applicable to multiscale modeling of wetting, capillarity, and interfacial phenomena in complex fluids.
Abstract
Predicting interfacial thermodynamics across molecular and continuum scales remains a central challenge in computational science. Classical density functional theory (cDFT) provides a first-principles route to connect microscopic interactions with macroscopic observables, but its predictive accuracy depends on approximate free-energy functionals that are difficult to generalize. Here we introduce a physics-informed learning framework that augments cDFT with neural corrections trained directly against molecular-dynamics data through adjoint optimization. Rather than replacing the theory with a black-box surrogate, we embed compact neural networks within the Helmholtz free-energy functional, learning local and nonlocal corrections that preserve thermodynamic consistency while capturing missing correlations. Applied to Lennard-Jones fluids, the resulting augmented excess free-energy functional quantitatively reproduces equilibrium density profiles, coexistence curves, and surface tensions across a broad temperature range, and accurately predicts contact angles and droplet shapes far beyond the training regime. This approach combines the interpretability of statistical mechanics with the adaptability of modern machine learning, establishing a general route to learned thermodynamic functionals that bridge molecular simulations and continuum-scale models.
