Published October 30, 2025 | Version v1
Software Open

Mass-zero constrained molecular dynamics for electrostatic interactions

  • 1. Centre Européen de Calcul Atomique et Moléculaire (CECAM), Ecole Polytechnique Fédérale de Lausanne, 1015 Lausanne, Switzerland
  • 2. National Centre for Computational Design and Discovery of Novel Materials (MARVEL), Ecole Polytechnique Fédérale de Lausanne, CH-1015 Lausanne, Switzerland
  • 3. Indian Institute for Science Education and Research, Mohali, Knowledge city, Sector 81, SAS Nagar, Punjab 140306, India
  • 4. Department of Chemistry, University of Chicago, Chicago, Illinois 60637, United States

* Contact person

Description

Optimal exploitation of supercomputing resources for the evaluation of electrostatic forces remains a challenge in molecular dynamics simulations of very large systems. The most efficient methods are currently based on particle-mesh Ewald sums and achieve semi-logarithmic scaling in the number of particles. These methods solve the problem in reciprocal space, requiring extensive use of Fast Fourier transforms (FFTs). While highly efficient in many contexts, FFTs may encounter scalability challenges at very large processor counts due to their communication requirements. To mitigate these problems, the development and scalable coding of real-space approaches to solve the Poisson equation on a grid is an active field of research. In this work, we introduce a novel real-space approach that provides some advantages over alternatives. Our method exploits an extended Lagrangian in which the values of the field at the grid points are treated as auxiliary variables of zero inertia and the discretized Poisson equation is enforced as a dynamical constraint. The solution of the constraints leads to a linear system - different from those appearing in other real-space approaches - that can be efficiently solved via state-of-the-art iterative methods. The method inherits the numerical scaling of the adopted iterative solver, e.g. linear with a multigrid (MG) approach, but converges with fewer cycles. We analyze this approach considering realistic simulations of molten NaCl that validate its ability to reproduce structural and transport properties. Using this non-trivial benchmark, we demonstrate linear scaling and illustrate some features of our algorithm.

Files

File preview

All files

Files (433.0 KiB)

Name Size
md5:f7588d9569c655e8cbb68451c89e1fe8
414.5 KiB Preview Download
md5:28710ab6f6f3c208d6a7c5f62070a6fd
1.1 KiB Preview Download
md5:c919a1554f3125fcfaba7d7461895cb1
17.3 KiB Preview Download

Funding

NCCR MARVEL
MARVEL/P3 - Digital Infrastructure of Open Simulations and Data pillar3

References

Journal reference (Paper in which the method is described.)
F. Troni, D. Grassano, J. Narayan, B. Roux, S. Bonella, J. Chem. Phys. (2025), doi: 10.1063/5.0283356