Learned Free-Energy Functionals from Pair-Correlation Matching for Dynamical Density Functional Theory
Karnik Ram, Jacobus Dijkman, René van Roij, Jan-Willem van de Meent, Bernd Ensing, Max Welling, Daniel Cremers
TL;DR
The paper tackles the challenge of obtaining accurate excess free-energy functionals needed for cDFT and DDFT by training a neural functional from bulk pair-correlation data via pair-correlation matching, and then applying it directly within DDFT to simulate non-equilibrium dynamics of inhomogeneous densities. It extends DDFT to open systems using a gradient-flow framework based on Wasserstein-Fisher-Rao metrics, enabling particle exchange with reservoirs. Across a 3D Lennard-Jones system with planar geometry and MOF-like confinement, the neural DDFT reproduces Brownian dynamics trajectories with high fidelity while offering orders-of-magnitude speedups, and the open-system extension captures breakthrough behavior consistent with BD. These results establish a practical route for accurate, efficient modeling of many-body non-equilibrium systems by reusing bulk-trained neural free-energy functionals.
Abstract
Classical density functional theory (cDFT) and dynamical density functional theory (DDFT) are modern statistical mechanical theories for modeling many-body colloidal systems at the one-body density level. The theories hinge on knowing the excess free-energy accurately, which is however not feasible for most practical applications. Dijkman et al. [Phys. Rev. Lett. 134, 056103 (2025)] recently showed how a neural excess free-energy functional for cDFT can be learned from bulk simulations via pair-correlation matching. In this article, we demonstrate how this same functional can be applied to DDFT, without any retraining, to simulate non-equilibrium overdamped dynamics of inhomogeneous densities. We evaluate this on a 3D Lennard-Jones system with planar geometry under various complex external potentials and observe good agreement of the dynamical densities with those from expensive Brownian dynamic simulations, up to the limit of the adiabatic approximation. We further develop and apply an extension of DDFT based on gradient flows, to a grand-canonical system modeled after breakthrough gas adsorption studies, finding similarly good agreement. Our results demonstrate a practical route for leveraging learned free-energy functionals in DDFT, paving the way for accurate and efficient modeling of many-body non-equilibrium systems.
