-
Developments and applications of the OPTIMADE API for materials discovery, design, and data exchange
Authors:
Matthew L. Evans,
Johan Bergsma,
Andrius Merkys,
Casper W. Andersen,
Oskar B. Andersson,
Daniel Beltrán,
Evgeny Blokhin,
Tara M. Boland,
Rubén Castañeda Balderas,
Kamal Choudhary,
Alberto Díaz Díaz,
Rodrigo Domínguez García,
Hagen Eckert,
Kristjan Eimre,
María Elena Fuentes Montero,
Adam M. Krajewski,
Jens Jørgen Mortensen,
José Manuel Nápoles Duarte,
Jacob Pietryga,
Ji Qi,
Felipe de Jesús Trejo Carrillo,
Antanas Vaitkus,
Jusong Yu,
Adam Zettel,
Pedro Baptista de Castro
, et al. (34 additional authors not shown)
Abstract:
The Open Databases Integration for Materials Design (OPTIMADE) application programming interface (API) empowers users with holistic access to a growing federation of databases, enhancing the accessibility and discoverability of materials and chemical data. Since the first release of the OPTIMADE specification (v1.0), the API has undergone significant development, leading to the upcoming v1.2 relea…
▽ More
The Open Databases Integration for Materials Design (OPTIMADE) application programming interface (API) empowers users with holistic access to a growing federation of databases, enhancing the accessibility and discoverability of materials and chemical data. Since the first release of the OPTIMADE specification (v1.0), the API has undergone significant development, leading to the upcoming v1.2 release, and has underpinned multiple scientific studies. In this work, we highlight the latest features of the API format, accompanying software tools, and provide an update on the implementation of OPTIMADE in contributing materials databases. We end by providing several use cases that demonstrate the utility of the OPTIMADE API in materials research that continue to drive its ongoing development.
△ Less
Submitted 5 April, 2024; v1 submitted 1 February, 2024;
originally announced February 2024.
-
Jupyter widgets and extensions for education and research in computational physics and chemistry
Authors:
Dou Du,
Taylor J. Baird,
Sara Bonella,
Giovanni Pizzi
Abstract:
Python and Jupyter are becoming increasingly popular tools for computational physics and chemistry research and education. Interactive notebooks are a precious tool for creating graphical user interfaces and teaching materials, and Jupyter widgets constitute the core of their interactive functionality. Packages and libraries which offer a broad range of widgets for general purposes exist, but the…
▽ More
Python and Jupyter are becoming increasingly popular tools for computational physics and chemistry research and education. Interactive notebooks are a precious tool for creating graphical user interfaces and teaching materials, and Jupyter widgets constitute the core of their interactive functionality. Packages and libraries which offer a broad range of widgets for general purposes exist, but the lack of specialized widgets for computational physics, chemistry and materials science implies significant time investments for the development of effective Jupyter notebooks for research and education in these domains. Here, we present custom Jupyter widgets that we have developed to target the needs of these research and teaching communities. These widgets constitute high quality interactive graphical components and can be employed, for example, as tools to visualize and manipulate data, or to explore different visual representations of concepts, illuminating the relationships existing between them. In addition, we discuss the JupyterLab extensions that we developed to modify the JupyterLab interface for an enhanced user experience when working with various applications within the targeted scientific domains.
△ Less
Submitted 11 January, 2024;
originally announced January 2024.
-
Mass-Zero constrained dynamics for simulations based on orbital-free density functional theory
Authors:
Alessandro Coretti,
Taylor J. Baird,
Rodolphe Vuilleumier,
Sara Bonella
Abstract:
A new algorithm for efficient and fully time-reversible integration of first-principles molecular dynamics based on orbital-free density functional theory (OFDFT) is presented. The algorithm adapts to this nontrivial case the recently introduced Mass-Zero (MaZe) constrained dynamics. The formalism ensures that full adiabatic separation is enforced between nuclear and electronic degrees of freedom…
▽ More
A new algorithm for efficient and fully time-reversible integration of first-principles molecular dynamics based on orbital-free density functional theory (OFDFT) is presented. The algorithm adapts to this nontrivial case the recently introduced Mass-Zero (MaZe) constrained dynamics. The formalism ensures that full adiabatic separation is enforced between nuclear and electronic degrees of freedom and, consequently, that the exact Born-Oppenheimer probability for the nuclei is sampled. Numerical integration of the MaZe dynamics combines standard molecular dynamics algorithms, e.g. Verlet or velocity Verlet, with the SHAKE method to impose the minimum conditions on the electronic degrees of freedom as a set of constraints. The developments presented in this work, that include a bespoke adaptation of the standard SHAKE algorithm, ensure that the quasilinear scaling of OFDFT is preserved by the new method for a broad range of kinetic and exchange-correlation functionals, including nonlocal ones. The efficiency and accuracy of the approach is demonstrated via calculations of static and dynamic properties of liquid sodium in the constant energy and constant temperature ensembles.
△ Less
Submitted 9 October, 2022; v1 submitted 17 June, 2022;
originally announced June 2022.
-
Mass-Zero constrained dynamics and statistics for the shell model in magnetic field
Authors:
David D. Girardier,
Alessandro Coretti,
Giovanni Ciccotti,
Sara Bonella
Abstract:
In several domains of physics, including first principle simulations and classical models for polarizable systems, the minimization of an energy function with respect to a set of auxiliary variables must be performed to define the dynamics of physical degrees of freedom. In this paper, we discuss a recent algorithm proposed to efficiently and rigorously simulate this type of systems: the Mass-Zero…
▽ More
In several domains of physics, including first principle simulations and classical models for polarizable systems, the minimization of an energy function with respect to a set of auxiliary variables must be performed to define the dynamics of physical degrees of freedom. In this paper, we discuss a recent algorithm proposed to efficiently and rigorously simulate this type of systems: the Mass-Zero (MaZe) Constrained Dynamics. In MaZe the minimum condition is imposed as a constraint on the auxiliary variables treated as degrees of freedom of zero inertia driven by the physical system. The method is formulated in the Lagrangian framework, enabling the properties of the approach to emerge naturally from a fully consistent dynamical and statistical viewpoint. We begin by presenting MaZe for typical minimization problems where the imposed constraints are holonomic and summarizing its key formal properties, notably the exact Born-Oppenheimer dynamics followed by the physical variables and the exact sampling of the corresponding physical probability density. We then generalize the approach to the case of conditions on the auxiliary variables that linearly involve their velocities. Such conditions occur, for example, when describing systems in external magnetic field and they require to adapt MaZe to integrate semiholonomic constraints. The new development is presented in the second part of this paper and illustrated via a proof-of-principle calculation of the charge transport properties of a simple classical polarizable model of NaCl.
△ Less
Submitted 23 April, 2021;
originally announced April 2021.
-
Fluctuation relations for dissipative systems in constant external magnetic field: theory and molecular dynamics simulations
Authors:
Alessandro Coretti,
Lamberto Rondoni,
Sara Bonella
Abstract:
It has recently been pointed out that Hamiltonian particle systems in constant magnetic fields satisfy generalized time-reversal symmetries that enable to prove useful statistical relationships based on equilibrium phase-space probability distributions without the need to invert, as commonly considered necessary, the magnetic field. Among these relations, that hold without need of Casimir modifica…
▽ More
It has recently been pointed out that Hamiltonian particle systems in constant magnetic fields satisfy generalized time-reversal symmetries that enable to prove useful statistical relationships based on equilibrium phase-space probability distributions without the need to invert, as commonly considered necessary, the magnetic field. Among these relations, that hold without need of Casimir modifications, one finds the standard linear response Green-Kubo relations, and consequently the Onsager reciprocal relations. Going beyond linear response is also possible, for instance in terms of transient and steady state Fluctuation Relations (FRs). Here we highlight how the generalized time-reversal symmetries ensure that the (transient) FRs theory directly applies also for systems in external magnetic fields. Furthermore we show that transient FR can indeed be verified in nonequilibrium molecular dynamics simulations, for systems subjected to magnetic and electric fields, which are thermostatted à la Nosé-Hoover. The result is nontrivial because, since it is not immediate within which sizes and time scales the effects can actually be observable, it is not obvious what one may obtain by real molecular dynamics simulations.
△ Less
Submitted 17 October, 2020;
originally announced October 2020.
-
Fluctuation relations for systems in constant magnetic field
Authors:
Alessandro Coretti,
Lamberto Rondoni,
Sara Bonella
Abstract:
The validity of the Fluctuation Relations (FR) for systems in a constant magnetic field is investigated. Recently introduced time-reversal symmetries that hold in presence of static electric and magnetic fields and of deterministic thermostats are used to prove the transient FR without invoking, as commonly done, inversion of the magnetic field. Steady-state FR are also derived, under the t-mixing…
▽ More
The validity of the Fluctuation Relations (FR) for systems in a constant magnetic field is investigated. Recently introduced time-reversal symmetries that hold in presence of static electric and magnetic fields and of deterministic thermostats are used to prove the transient FR without invoking, as commonly done, inversion of the magnetic field. Steady-state FR are also derived, under the t-mixing condition. These results extend the predictive power of important statistical mechanics relations. We illustrate this via the non-linear response for the cumulants of the dissipation, showing how the new FR enable to determine analytically null cumulants also for systems in a single magnetic field.
△ Less
Submitted 11 May, 2020; v1 submitted 8 May, 2020;
originally announced May 2020.
-
Mass-zero constrained molecular dynamics for electrode charges in simulations of electrochemical systems
Authors:
Alessandro Coretti,
Laura Scalfi,
Camille Bacon,
Benjamin Rotenberg,
Rodolphe Vuilleumier,
Giovanni Ciccotti,
Mathieu Salanne,
Sara Bonella
Abstract:
Classical molecular dynamics simulations have recently become a standard tool for the study of electrochemical systems. State-of-the-art approaches represent the electrodes as perfect conductors, modelling their responses to the charge distribution of electrolytes via the so-called fluctuating charge model. These fluctuating charges are additional degrees of freedom that, in a Born-Oppenheimer spi…
▽ More
Classical molecular dynamics simulations have recently become a standard tool for the study of electrochemical systems. State-of-the-art approaches represent the electrodes as perfect conductors, modelling their responses to the charge distribution of electrolytes via the so-called fluctuating charge model. These fluctuating charges are additional degrees of freedom that, in a Born-Oppenheimer spirit, adapt instantaneously to changes in the environment to keep each electrode at a constant potential. Here we show that this model can be treated in the framework of constrained molecular dynamics, leading to a symplectic and time-reversible algorithm for the evolution of all the degrees of freedom of the system. The computational cost and the accuracy of the new method are similar to current alternative implementations of the model. The advantage lies in the accuracy and long term stability guaranteed by the formal properties of the algorithm and in the possibility to systematically introduce additional kinematic conditions of arbitrary number and form. We illustrate the performance of the constrained dynamics approach by enforcing the electroneutrality of the electrodes in a simple capacitor consisting of two graphite electrodes separated by a slab of liquid water.
△ Less
Submitted 10 March, 2020;
originally announced March 2020.
-
Adiabatic motion and statistical mechanics via mass zero constrained dynamics
Authors:
Sara Bonella,
Alessandro Coretti,
Rodolphe Vuilleumier,
Giovanni Ciccotti
Abstract:
In recent work [Coretti et al., The Journal of Chemical Physics, 2018, 149, 191102], a new algorithm to solve numerically the dynamics of the shell model for polarization was presented. The approach, broadly applicable to systems involving adiabatically separated dynamical variables, employs constrained molecular dynamics to strictly enforce the condition that the force on the fast degrees of free…
▽ More
In recent work [Coretti et al., The Journal of Chemical Physics, 2018, 149, 191102], a new algorithm to solve numerically the dynamics of the shell model for polarization was presented. The approach, broadly applicable to systems involving adiabatically separated dynamical variables, employs constrained molecular dynamics to strictly enforce the condition that the force on the fast degrees of freedom, modeled as having zero mass, is null at each time step. The algorithm is symplectic and fully time reversible, and results in stable and efficient propagation. In this paper we complete the discussion of the mechanics of mass zero constrained dynamics by showing how to adapt it to problems where the fast degrees of freedom must satisfy additional conditions. This extension includes, in particular, the important case of first principles molecular dynamics. We then consider the statistical mechanics of the mass zero constrained dynamical system demonstrating that the marginal probability sampled by the dynamics in the physical phase space recovers the form of the Born-Oppenheimer probability density.
△ Less
Submitted 10 January, 2020;
originally announced January 2020.
-
Charge fluctuations from molecular simulations in the constant-potential ensemble
Authors:
Laura Scalfi,
David T. Limmer,
Alessandro Coretti,
Sara Bonella,
Paul A. Madden,
Mathieu Salanne,
Benjamin Rotenberg
Abstract:
We revisit the statistical mechanics of charge fluctuations in capacitors. In constant-potential classical molecular simulations, the atomic charge of electrode atoms are treated as additional degrees of freedom which evolve in time so as to satisfy the constraint of fixed electrostatic potential for each configuration of the electrolyte. The present work clarifies the role of the overall electron…
▽ More
We revisit the statistical mechanics of charge fluctuations in capacitors. In constant-potential classical molecular simulations, the atomic charge of electrode atoms are treated as additional degrees of freedom which evolve in time so as to satisfy the constraint of fixed electrostatic potential for each configuration of the electrolyte. The present work clarifies the role of the overall electroneutrality constraint, as well as the link between the averages computed within the Born-Oppenheimer approximation and that of the full constant-potential ensemble. This allows us in particular to derive a complete fluctuation-dissipation relation for the differential capacitance, that includes a contribution from the charge fluctuations (around the charges satisfying the constant-potential and electroneutrality constraints) also present in the absence of an electrolyte. We provide a simple expression for this contribution from the elements of the inverse of the matrix defining the quadratic form of the fluctuating charges in the energy. We then illustrate numerically the validity of our results, and recover the expected result for an empty capacitor with structureless electrodes at large inter-electrode distances. By considering a variety of liquids between graphite electrodes, we confirm that this contribution to the total differential capacitance is small compared to that induced by the thermal fluctuations of the electrolyte.
△ Less
Submitted 21 November, 2019;
originally announced November 2019.