Search arXiv⌕ Search

arXiv · 2610.15733

Kernel-Level Constant-Potential Molecular Dynamics in GROMACS

Abstract

How charge rearranges within an electrode shapes the behavior of batteries, supercapacitors, and other electrochemical devices. Molecular simulations can capture this response by allowing the charge on each electrode atom to adjust to its surroundings, but repeatedly calculating these charges adds substantial computational cost. We present an open-source implementation of the constant-potential method in GROMACS that integrates these calculations into the program's optimized CPU and GPU routines. Comparisons with established codes validate the electrode charges, while charging, voltammetry, and impedance simulations demonstrate the response to changing electrical conditions. The implementation also supports electrodes that move or deform and models of finite metallic screening and electron spillover. In a pair of charged carbon nanotubes, allowing charge to move away from the facing surfaces reduces the repulsive force at contact by about half at an intermediate charge and keeps the pair bound where a uniform-charge model opens within the simulated time. These capabilities make the electrical response of electrodes accessible within GROMACS for studies of interfacial structure, charging dynamics, and electrode motion.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sheng Bi, Mathieu Salanne, Jun Cheng, Guang Feng. 2026-10-11. Kernel-Level Constant-Potential Molecular Dynamics in GROMACS. https://arxiv.org/abs/2610.15733

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Chiral Temporal Structures in Molecular Rotational Dynamics

We introduce chiral rotational wavepackets: coherent superpositions of a few low-lying rotational states of a molecule for which the expectation value of a molecular axis traces a three-dimensional chiral trajectory in the laboratory frame. The handedness is a dynamical property of the quantum state rather than of the equilibrium structure, and we show that it can be imprinted on linear rotors as well as on spherical and symmetric tops. We derive the action of space inversion, time reversal, and their product on such wavepackets in the Wigner $D^J_{MK}$ basis, and define the rotational enantiomers of a given wavepacket. To quantify their handedness we introduce two derivative-based pseudoscalar measures: a geometrical measure built from the curvature and torsion of the trajectory, which is even under time reversal, and a dynamical measure, which is odd under time reversal. The latter is shown to be proportional to the geodesic curvature of the trajectory projected onto the unit sphere, which links it, via the Gauss--Bonnet theorem, to the solid angle enclosed by the projected trajectory and to the parallel-transport holonomy of a molecule-fixed vector. Finally we show that a nonzero geometrical measure is a sufficient condition for the wavepacket to exhibit true chirality through its orientation trajectory in the sense of Barron.

physics.chem-ph↗

A strategic roadmap for an atomistic machine-learning ecosystem

Data-driven machine learning (ML) techniques have become an essential tool in many domains of science. Their application to atomistic simulations of matter is particularly widespread and impactful. This success is due largely to the existence of a well-developed and established physics-based modeling framework, ranging from first-principles electronic-structure calculations to molecular dynamics and statistical sampling, into which ML was integrated naturally to reshape long-standing trade-offs between accuracy, efficiency, and scale. Nevertheless, this integration raises both conceptual and practical challenges, from choosing between data-centric and physics-based modeling approaches to adapting established software stacks to modern hardware accelerators and ML libraries. As the field evolves rapidly, fueled in part by widespread enthusiasm but also by tangible impact, it seems appropriate to take a moment to consider the current state of the art and open challenges, and reflect on what can be done to better coordinate efforts across the community. With this goal in mind, several members of this community met in Lausanne in January 2026 at CECAM to discuss algorithms, models, software and hardware infrastructure, and the most promising scientific applications that have become possible thanks to the use of artificial intelligence in atomic-scale simulations. This strategic roadmap paper summarizes the outcomes of these discussions, suggesting some long-term goals, and some concrete actions, to establish a healthy, sustainable and impactful atomistic ML ecosystem.

physics.chem-ph↗

All-electron machine-learned orbital-free density functional for periodic CHNO systems

We introduce STRUCTURES-P, a machine-learned all-electron orbital-free density functional for periodic CHNO systems. Electrostatics are evaluated analytically in an atom-centered Gaussian basis, while an equivariant network learns the kinetic and exchange-correlation energy from energies and gradients of non-ground-state densities. Minimizing the functional from a superposition of atomic densities recovers the Kohn-Sham ground state: on held-out crystals, the density error falls from 6.7% to 0.4% of the electron count and the energy error reaches 0.25 mHa per atom, half that of a same-architecture interatomic potential. A single functional can be trained for both isolated molecules and periodic systems, and the model generalizes to larger unit cells. It largely preserves relative-energy rankings and reproduces convex-hull vertices on the tested H-N composition slice. Together, these results demonstrate the viability of machine-learned all-electron orbital-free DFT for variational density optimization and energy evaluation in fixed-geometry solids.

physics.chem-ph↗