TL;DR
AtomREM is an open-source, MPI-parallelized software tool that non-empirically finds minimum energy escape paths in high-dimensional potential landscapes, integrating with LAMMPS for diverse atomic systems.
Contribution
It introduces AtomREM, a novel parallelized solver implementing a non-empirical method for locating minimum energy paths without coarse graining.
Findings
Successfully applied to molecular systems
Effectively finds minimum energy escape paths
Open-source and compatible with LAMMPS
Abstract
Recently a non-empirical stochastic walker algorithm has been developed to search for the minimum-energy escape paths (MEP) from the minima of the potential surface [J. Phys. Soc. Jpn. 87, 063801 (2018); Physica A, 528, 121481 (2019)]. This method is based on the Master equation for the distribution function of the atomic configuration which has a nature to seek the MEP up along the valley of the potential surface. This paper introduces AtomREM (Atomistic Rare Event Manager), which is an MPI parallelized solver program package for executing this method, which yields minimum energy reaction pathways in terms of the microscopic evolution of atomic positions. It is open-source and released under the GNU General Public License (GPL). AtomREM interfaces with the LAMMPS Molecular Dynamics Simulator as a library of versatile potential functions for application to various systems. Examples of…
| mt19937.f90 |
Subroutine generating random numbers by the Mersenne Twister method [20], distributed in http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/FORTRAN/fortran.html
|
|---|---|
| libfwrapper.c | Wrapper for calling lammps from fortran code. This code is a modification of the one provided in LAMMPS (examples/COUPLE/fortran/) |
| USER-LAPLACIAN/ | Package for calculating Laplacian to be installed in LAMMPS. This package is a modification of LAMMPS_LOCAL_HESSIAN package by S. Kadkhodaei [21], distributed in https://cmrl.lab.uic.edu/lammps_hessian.html. |
| Example | Explanation | ||
|---|---|---|---|
| &input | Start line for input file | ||
| Nstep = 12000, | Total number of time steps for simulation | ||
| Nwalker = 1600, | Number of walkers | ||
| Natoms = 7, | Number of atoms | ||
| temp = 0.1, |
|
||
| tempFin = 0.4, |
|
||
| steptowrite = 50, |
|
||
| dt = 0.002, | Value of time step | ||
| ratio = 0.48 | Value of initial delta function | ||
| mode = ”Initialization” |
|
||
| Next data define the simulation box: | |||
| x_orig = -8.897999 | x_orig, y_orig, y_orig are the coordinates | ||
| y_orig = -8.3346005 | of the down left angle of the box | ||
| z_orig = -6.0167999 | |||
| a_vec1 = 18.5668984 0.0 0.0 | a_vec1, a_vec2, a_vec3 are the vectors, | ||
| a_vec2 = 0.0 17.8101998 0.0 | which defines the supercell box | ||
| a_vec3 = 0.0 0.0 11.6429997 | |||
| bounds = f f f |
|
||
| / | Finish line for input file |
|
|
|
|
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | -0.39392953E+0001 | -0.39392953E+0001 | 0.37627504E+0000 | 1600 | |||||||||||||||
| 50 | -0.39394117E+0001 | -0.39394117E+0001 | 0.34776722E+0000 | 1600 | |||||||||||||||
| 100 | -0.39393155E+0001 | -0.39393155E+0001 | 0.44461967E+0000 | 1600 | |||||||||||||||
| 150 | -0.39389018E+0001 | -0.39389018E+0001 | 0.64310856E+0000 | 1600 | |||||||||||||||
| 200 | -0.39386394E+0001 | -0.39386394E+0001 | 0.73788821E+0000 | 1600 |
|
|
|
|||||||
|---|---|---|---|---|---|---|---|---|---|
| After_heating_energy.dat | 333 is number of walker444 is an average energy of walker |
|
|||||||
| Number_struct.dat | 555 is a unique number of group 666 is a time of relaxation |
|
|||||||
| Structures.lammpstrj | - |
|
|||||||
| Energies_of_structures.dat | … 777, , … , are the atomic energies for 1-st, 2-nd, …, N-th atom |
|
|||||||
|
- |
|
|||||||
| Chosen_walk_Number |
|
||||||||
| Chosen_walk_Energy.dat | … |
|
|||||||
| Chosen_BEST_walk.dat | - |
|
|
|
|
|||||
|---|---|---|---|---|---|---|---|
| atomic_coord_q.lammpstrj | - |
|
|||||
| path.dat888please, see Table 3 |
|
||||||
| E_atoms.dat | … |
|
|||||
| saddle.dat | 999 is a type of -th atom, the , , are coordinates of -th atom. |
|
|||||
| E_atoms_100XXX.dat | … |
|
|||||
|
- |
|
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
AtomREM: Non-empirical seeker of the minimum energy escape paths on many-dimensional potential landscapes without coarse graining
Yuri S. Nagornov
Ryosuke Akashi
Department of Physics, The University of Tokyo, Hongo, Bunkyo-ku, Tokyo 113-0033, Japan
Abstract
Recently a non-empirical stochastic walker algorithm has been developed to search for the minimum-energy escape paths (MEP) from the minima of the potential surface [J. Phys. Soc. Jpn. 87, 063801 (2018); Physica A, 528, 121481 (2019)]. This method is based on the Master equation for the distribution function of the atomic configuration which has a nature to seek the MEP up along the valley of the potential surface. This paper introduces AtomREM (Atomistic Rare Event Manager), which is an MPI parallelized solver program package for executing this method, which yields minimum energy reaction pathways in terms of the microscopic evolution of atomic positions. It is open-source and released under the GNU General Public License (GPL). AtomREM interfaces with the LAMMPS Molecular Dynamics Simulator as a library of versatile potential functions for application to various systems. Examples of the applications to molecular and solid systems are presented.
keywords:
Potential landscape , Reaction paths , Minimum-energy escape paths , Langevin mechanics , Non-empirical scheme , Stochastic algorithm , Parallel MPI implementation.
††journal: Computer Physics Communications
PROGRAM SUMMARY
Program Title: AtomREM (Atomistic Rare-Event Manager)
Program Files: https://github.com/ryosuke-akashi/AtomREM
*Licensing provisions: * GNU General Public License 3 (GPL)
Programming language: Fortran 90 and C
Supplementary material: 1. Program code of AtomREM; 2. Results of simulation for argon solid and molecule
Nature of problem: AtomREM has been developed to help to find a reaction path on the atomic level using weighted Langevin mechanics on the inverse potential landscape. The method is describe the low temperature transformation of complex systems without artificial forces or/and collective variables.
Solution method: Recently [1] we designed a non-empirical scheme to search for the minimum-energy escape paths from the minima of the potential surface to unknown saddle points nearby with one dimensional application. The method is based on the Master equation and its solver algorithm is constructed to move the walkers up the surface through the potential valleys [2]. The stochastic algorithm uses a birth/death stochastic processes for numerous of walker in combination with the Langevin equation. Each walker obey the statistics of average movement on the reaction path under biasing potential. Under this consideration the reaction path is derived as the average of the walker distribution from stable to saddle states.
1 Introduction
Searching optimal values of bounded functions defined for many dimensional space concerns diverse scientific problems. In the context of physics (and also chemistry and biology), minimization of the potential energy with respect to the atomic positions is the representative of such problems–the optimal atomic configurations are related to (meta)stable states of molecules and solid systems. A closely related important problem is to locate the paths connecting two (meta)stable states with minimum potential energy barrier, as it specifies the possible chemical reactions and, more generally, structural deformations, as well as its approximate rate of occurrence as represented by the Arrhenius equation [1] . A situation where the destinations of the paths are unknown is especially interesting since it concerns seeking of reactions and deformations to form unknown products, which is the main focus of the present article.
Most existing methods to seek such reaction pathways using molecular dynamics and mechanics use collective variables and/or artificial forces; namely, enhance the movement of the atoms in certain targeted directions so that the desired reaction proceeds [2, 3, 4, 5, 6, 7, 8, 9]. However, those approach requires prior knowledge or assumption of the products to designate the collective variables or artificial forces and the solutions are inevitably subject to the human bias.
Apart from this mainstream, we have proposed a method based on the Langevin mechanics to seek the paths from known to unknown minima with minimum potential barriers without the collective variables or artificial forces [10]. This method has been demonstrated to be useful for seeking the reaction paths of the argon clusters with several tens of particles [11], which shows its potential broad applicability to systematic search for unknown reaction pathways described by atomic configurations. The purpose of the present article is to share the current version of the code package for this method as “AtomREM [12]”–Atomistic Rare Event Manager. The current version provides the following functionalities:
Nonempirical simulation of the paths from the known to unknown local minima with practical computational time up to at least several tens of atoms
- 2.
Output of the paths visualizable with open-source softwares such as OVITO [13, 14].
- 3.
Flat-MPI parallel execution for acceleration of the calculation
- 4.
Use of LAMMPS [15] as an external library for various potential functions.
In Sec. 2 we briefly explain the background theory and methods implemented in the current version of AtomREM published previously in Refs. [10, 11]. The contents and usage of AtomREM is described in Secs. 3 and 4, respectively. Some demonstrations are provided in Sec. 5. Section 6 is devoted to concluding remarks. Summary of the source codes and detailed discussion of the numerical behavior are also provided in Appendices for future developers.
2 Theory and method
Suppose any potential surface is defined on the space of configuration of atoms [; ]. The task of AtomREM is to generate continuous trajectories non-empirically from a known local minimum of to unknown minima across the saddle points, on the basis of the overdamped Langevin equation
[TABLE]
where and are the coordinate and the index for the degrees of freedom, is the vector whose components are randomly generated from the standard normal distribution at each step, is the friction constant, is a timestep. At low temperature, the dominant rare trajectories across the saddle points nearby hardly occurs with straightforward simulation of Eq. (1) because of the exponential dependence of the rate of occurrence with being the potential barrier height. On the other hand, under high temperature the atomic configuration is randomly perturbed strongly and information of the trajectory is lost or even system could be melt. AtomREM manages the generation of monotonic trajectories across the saddle points utilizing a recently proposed stochastic process [10, 11] which has a nature of tracking up the minimum energy paths (MEP) to the saddle points.
Here we briefly explain the background theory on the method. The rarity of the events across the saddle points with Eq. (1) can also be interpreted with the equivalent Fokker-Planck (Smoluchowski) equation [16]
[TABLE]
This is the equation that describes the probability distribution of the variable at time evolved by the Langevin equation Eq. (1). In this representation, the rarity of the saddle crossing is interpreted as small amplitude of at the saddle points. The rarity in the long-time simulation is inferred by the Boltzmann distribution as the stationary solution of Eq, (3). One can therefore conceive that, with a localized initial condition , the quantity must have sizable components that spread toward high-energy regime.
On the basis of the above consideration, the authors have examined the behavior of the distribution function
[TABLE]
with and being the control parameter. In the one dimensional harmonic potential case () [10], the following properties have been found with the initial condition : (i) it has the Gaussian form and its width gradually spreads with t; (ii) if , its center goes up the potential surface in a short time and comes back to the potential minimum, whose initial velocity is proportional to . The authors have demonstrated that these properties can be utilized to track up the “valley line (Fig. 1)” of general potential surfaces from the potential minima [10, 11]. Namely, in many dimensions, if we set the initial condition with in the middle of the valley line, the distribution goes up along the line keeping the well-localized Gaussian form. One can therefore draw the valley line extending toward the saddle point by tracking the short time evolution of the many-dimensional distribution . The authors have indeed shown the successful visualization of the trajectories connecting the potential minima through the saddle points for argon clusters [11].
In summary, AtomREM solves the Master equation of
[TABLE]
with
[TABLE]
Here is the normalization coefficient for keeping the norm of unity. The average of the function is defined as . The dynamics of is recast to the time evolution of walkers, which respectively have with different values and their assembly forms . By the Suzuki-Trotter decomposition [17, 18] Eq. (5) can be implemented as the repetition of usual Langevin evolution on a modified potential surface and stochastic copying and removal of walkers; the following formula is adopted in AtomREM
[TABLE]
The operator corresponds to the independent time evolution of the walkers by
[TABLE]
Note that, compared with the original Langevin equation Eq. (1), the potential surface is modified from to and, with , the modified potential is proportional to the inverse of . This is the main driving force that makes the walkers go up the potential surface. The operator is a multiplication of a scalar function to and implemented as the copying and removal of the respective walkers with the probability depending on the magnitude of the scalar function. For this task, an algorithm keeping the number of walkers strictly constant [19] has been implemented in AtomREM [11]. Parallel execution of the whole evolution step [Eq. (10)] is available.
We have explained above how the dynamics of is executed with a given initial position . Another important task of AtomREM is to generate the initial points that connect to various saddle points with low energy barriers. For this purpose “heat and relax” method [11] is used. Generally speaking, the relaxation of by the steepest descent method behaves like the two-step process; fast relaxation onto the valley line and slow relaxation along it. One can therefore expect that, among randomly distributed (heated) walkers, the walkers which come late across any small energy threshold are expected to be on the valley lines. AtomREM also provides the function to get the initial positions which are likely to connect to low-energy saddle points on this principle. A simple description of the procedure will be appended later, though more detailed information is available in Ref. [11].
3 Contents of the package
AtomREM provides three functions:
Langevin–solve the overdamped Langevin equation Eq. 1, mainly for the purpose of finding local minima of the given potential function 2. 2.
Initialization–find the initial positions to start the tracking of the MEP of 3. 3.
Reaction–track the MEP of from the given initial positions toward the saddle points
It is composed of two directories, where the source codes, interfaces, and sample inputs for those functions are contained.
lammps_pot/–package implemented for utilizing the potentials of LAMMPS package (recommended) 2. 2.
analytic_pot/–package implemented with in-house analytic formula for the potential (only the Lennerd-Jones potential with open boundary condition is available in the current version)
3.1 Dependencies on external softwares
For usage of the potential functions implemented in LAMMPS code, AtomREM requires the users to build LAMMPS as a static library (for details see Sec. 3.4 Basic build options in LAMMPS manual page [15]). Also, the external codes summarized in Table: 1 are modified and redistributed in AtomREM.
4 Usage
AtomREM has to be built and used in Linux system. This software has been verified to run in CentOS6 systems with Intel compiler. Although in other systems the regular running is not guaranteed as is, we believe that it can be made run regularly by small modification of Makefile.
4.1 Installation
Import the source code by git.
$ git clone https://github.com/ryosuke-akashi/AtomREM
Enter either of the directories, lammps_pot or analytic_pot, edit Makefile for the proper compilers and include and library paths. and enter the following.
$ make
If the compilation is properly finished the executable a.out is made.
For lammps_pot/, additional procedure is mandatory before building AtomREM to install the user package of calculating Laplacian for Eq. (9) in LAMMPS.
{lammps_source_directory}
{lammps_source_directory}
$ make yes-user-laplacian
$ make mode=lib mpi
After those steps static library liblammps.a is obtained. The directory
${lammps_source_directory} must be specified in Makefile of AtomREM for linking this static library.
4.2 Input description
AtomREM executables requires three input files:
params.in–Input parameters for controlling the calculations written in the fortran namelist format (order insensitive). Imported as a standard input. The parameters are described in Table 2 2. 2.
atoms.dat–Initial atomic position to generate the initial distribution . The format is described in Fig. 2. 3. 3.
in.pair–(Mandatory only for lammps_pot/) Part of LAMMPS input file where the potential function is defined. The format is described in Fig. 3.
The LAMMPS potential file declared in in.pair must also be put in the working directory. For example, with the lower in.pair in Fig. 3, the potential file named “CH.airebo” is needed.
4.2.1 Parameters in params.in
Most important parameters of the simulation are presented in the file of parameters (Table 2), which includes the numbers of walkers and atoms, the time of the simulation by the number of steps and the duration of the time step, temperature and initial value of delta parameter, the names of the input and output files, and also the simulation box.
The specific parameters for each mode (”Initialization”, ”Langevin” and ”Reaction”) will be explained in the corresponding subsections in the section ”Using AtomREM”.
4.2.2 Internal parameters
There are some tuning parameters in the source code. Although those have been optimized empirically so that the users do not have to modify them, some of them will be referred to in Sec. 4.4 for custom usage.
4.3 Output description
The program has a lot of output files and the number and kind of these files depend on the simulation mode, but the format of files is similar and they have just three main types. The first one is the sequential list of the time step, the energy, the force, the number of walkers, etc., which is related to the time evolution. The example of output data for the reaction path is in Table 3. The ’E_atoms.dat’ file has the similar format: the 1st column is a time step; the 2nd column is the total energy divided by the number of atoms; the 3rd column is the energy of the 1st atom; the 4th column is of the 2nd, …etc. The second main type is the atomic coordinates in the format of LAMMPS trajectories (output files with extension *.lammpstrj), which can be processed by visualization tools such as OVITO [13, 14]. For example, the ’atomic_coord_q.lammpstrj’ file has the atomic coordinates for reaction pathway given by the averaging with respect to the walkers. More detailed description of such output files for each mode is presented later in Sec. 4.4. Finally, the code has some miscellaneous output files, such as intermediate ones and default output of LAMMPS. Some of them are also explained later.
4.4 Running AtomREM
The a.out file is executed by entering the following line
$ ./a.out < param.in > out
Specifying param.in as the standard input is mandatory, whereas the standard output file name is arbitrary. When the calculation regularly ends, the following line is written at the end of the standard output:
End of simulation.
Flat-MPI parallelization is also possible; indeed, the default Makefile is compatible with the intel MPI. A standard parallel execution using mpirun is, e.g., as follows:
$ mpirun -np 16 ./a.out < param.in > out
The situation where AtomREM is useful is that the users know a (an approximate) metastable structure realized with a given potential function and want to seek for unknown transition pathways beyond the potential barriers. To achieve this goal, the users can run AtomREM in the three modes: ”Langevin”, ”Initialization” and ”Reaction”. The ”Langevin” mode is used to locate an accurate local minimum from a given initial position. The ”Initialization” mode is used for finding the initial atomic configurations as the starting points to the reaction paths, which are used as the input of the later execution with the “Reaction” mode. The algorithm of the finding of the initial atomic configurations is described in work [11]. The ”Reaction” mode is used for seeking of the reaction path from the initial atomic configuration. In order to choose the mode, you have to write the name of a mode in the file of the parameters. Below, we append a detailed description of the three steps.
4.4.1 Mode ”Langevin”
The usual Langevin equation Eq. (1) is executed independently for each process. The minimum number of walkers equal the number of the processes. This mode is provided for finding any potential minima closely related to a given atomic configuration. By executing this with low temperature the system reaches to the minimum through the steepest descent path. Although the users of AtomREM is assumed to know at least one metastable configurations of the system before the use of the code, the precise location of the minimum, which is essential for the later modes, could depend on the potential function used. The purpose of this mode is to correct such dependence. The output files of this mode are only ’E_atoms_100XXX.dat’ and ’coordinates_rank_100XXX.lammpstrj’, where ’XXX’ is the index of the processes. This mode is also internally called in mode “Reaction” after reaching the saddle point, to let the walkers move to other metastable configurations beyond the saddle point.
4.4.2 Mode ”Initialization”
Using the “heat and relax” algorithm described in the paper [11], the mode ”Initialization” generates initial atomic configurations that are supposed to be well on the valley lines toward the saddle points, or, “entrances” to the reaction paths [Fig.4]: Entrance A is a state with the largest energy deviation to the -direction, and entrance B is a state with the largest energy deviation to the -direction. Note that one initial configuration in principle corresponds to one reaction path.
The task with this mode is to evolve the Nwalkers walkers with the Langevin equation Eq. (1) first under temperature temp for duration Nstep and later under temperature tempFin (temp) to relax the walkers along their steepest descent paths. When the temperature is switched, the potential energies of the respective walkers are checked. Among the walkers, only those whose energies satisfy the criterion are kept and others are killed (Fig. 5). Afterwards, the time steps are measured for the remaining walkers to come down to an energy threshold , so that the slowly relaxing walkers are detected. The measured time steps and atomic configurations of the walkers are recorded when they reach to for later data processing. The parameters for the criteria are set internally, according to the initial temperature temp in main.f90.111The default values are , , , with being the potential energy at the start of this mode. One is recommended to modify the definition of those parameters with observation of After_heating_energy.dat so that many walkers are within the range []
The mode ”Initialization” yields several output files to help the choice of initial atomic configurations. See Table 4 for details. The main information in the output files are (i) the indices of the walkers kept at the temperature switching, (ii) the numbers of time steps required for passing through , (iii) the atomic configurations at the step of reaching , and (iv) the indices of atoms whose per-atom energies (explained later) show the largest deviations from their initial values. The last information can be utilized to a clustering analysis for obtaining the entrance configurations to diverse reaction paths [11]. Generally, the classical potential function can be represented as the sum of two-body, three-body and more-body terms as
[TABLE]
where is the position of the th atom. This form allows one to define the per-atom energy of the th atom by
[TABLE]
AtomREM records the atomic indices which show the three largest values of for each walker and attributes it to a unique number (e.g., if the third, second, and fourth atoms show the largest deviation of in this order, ). Choosing the most slowly relaxing walkers for each group of walkers having common can yield the entrance points to the different reaction paths.222Note that the proper grouping according to generally requires consideration of the spatial symmetry of the system, though it works to some extent without such consideration. For flexibility we do not provide specific tools for such data analysis, though the atomic configuration of the most slowly relaxing walker of all is written out in file Chosen_BEST_walk.dat for convenience.
4.4.3 Mode ”Reaction”
In the mode ”Reaction” the walker distribution evolves according to the equation [Eq. (5)] under temperature temp in order to seek the reaction path to the saddle point from a given initial point. During the simulation, the Nwalker walkers are equally distributed to the respective processes. After the evolution of timestep Nstep is finished, all the walkers are gathered to their average position, the number of walkers per process is changed to unity, and afterwards the final relaxation with Eq. (1) is executed under temperature tempfin independently for each process. As a result, with Nstep being large enough for reaching near the saddle point, some walkers go beyond the saddle point and reach to other metastable points. We thus have the reaction path in the form of the time evolution of the walker average of the atomic positions. The related output files are described in Table 5. For example, plotting path.dat and several E_atoms_100XXX.dats at the same time yield the figure like Fig. 9 given later.
During the first part of the simulation, the “reset and pullback” operation [11] is automatically executed with an interval defined internally. Specifically, the continuous evolution with Eq. (5) yields gradual spreading of and the simulation eventually becomes subject to incorrect departure from the valley line. To mitigate this instability, the distribution is occasionally reset to the delta function and afterwards evolved with the biasing potential (= usual Langevin equation) in a short time to let the walkers back onto the valley line.
The parameter defining has a crucial effect on the stability of the simulation [10, 11]. The necessary condition for tracking up the potential slope is . With too large , the walkers quickly stop climbing up the potential slope and go down. Smaller drives the walkers faster and longer up the potential slope, whereas it tends to induce the numerical instability more frequently. To our empirical knowledge the best way is to start with as close to as possible (set by ratio in param.in) and reduce it if the walkers do not climb up the potential surface. The following internal algorithm is adopted: (i) Save the energy of the initial configuration and start the simulation with given in param.in; (ii) make the simulation for time steps101010By default we have set ; (iii) check the walker average of the potential energy ; if continue the simulation; else, decrease to amplify and start over the simulation again with the new .
5 Examples of simulations and validation
We have published the examples of the application of a previous private version of AtomREM to the surface reactions of Ar7, Ar13, and Ar38 in the paper [11]. Here we will show other types of transitions in the cyclobutane molecule and argon crystal. The example includes incorrect destruction of the molecule, the C-C bond-breaking transformation and collective sliding transitions as a elementary process of the solid-solid transition. The final example especially represents the advantage of the current method that generates the collective transformation without a priori assumption to the reaction coordinate as it is very difficult for solids to choose the collective variable [23].
5.1 Cyclobutane
We generated the reaction paths of cyclobutane: to butylene-like chain (A in Fig. 6), butadiene (B in Fig. 6) and tetramethylene (not shown).
In Fig. 6 the first two snapshots for the A and B paths are the same, where the second is the structure of the saddle point. After reaching the saddle point, the simulation of each process was independently executed under very low temperature (tempfin= eV) and yielded different paths through the steepest descent paths or Intrinsic Reaction Coordinate (IRC). The only 4 IRC were unique and have led to the initial cyclobutane state (line 1 in Fig. 7), to the butylene-like chain (A in Fig. 6), to butadiene (B in Fig. 6) and to tetramethylene (not shown).
The time evolution of the potential energies along these paths extracted from “path.dat” are shown in Fig. 7. During the reaction simulation, the lines are serrated due to “reset and pullback” steps (See Sec. 4.4.3). The reaction pathways are also in the Supplementary movies (see Supplementary materials).
If the initial positions are chosen incorrectly, the destruction of the molecule occurs during the simulation (Fig. 8) and energy jumps to the high value (line 5 in Fig. 7). Even if the initial position is correctly on the reaction path, incorrect departure from the path driven by the random fluctuation can occur when the temperature (temp) is huge. The peak at the 24000-time step for the lines 1-4 (Fig. 7) is thought to correspond to the latter case; thanks to the reset and pullback step the walkers come back to the proper reaction path.
Note that the target of the present demonstration is just to show the capability of the method to track the reaction path on a given potential surface, regardless of the accuracy of the potential surface itself. There are a lot of work devoted to the research of cyclobutane, for example [24, 25, 26, 27]. In work [24] the energy of dissociation was calculated by the composite method CBS-QB3 of quantum chemistry, and intrinsic reaction coordinate calculations have been performed at the B3LYP/6-31G(d) level to ensure that the computed transition states connect the desired reactants and products, whereas we have used the classical potential function AIREBO [22]. The energies of the metastable states consequently differ. Also, the positions of the two released hydrogen atoms in the butadiene case is thought to be an artifact of the AIREBO potential, though it could be associated to possible dissociation of the hydrogen molecule H2.
Fig. 8 demonstrates the incorrect reaction path with interesting features. The third snapshot shows some hydrogen atoms, which are too close to the carbon atoms because these H atoms drift up their local potential gradients. Due to the too short H-C distance, the energy of the molecule becomes very high (line 5 in Fig. 7). There are several possible reasons for this behavior: the first is incorrect initial atomic configuration, which does not lie on the reaction path, the second is the high temperature of simulation or high time step, which leads to the high fluctuations, the third is not enough number of walker, which makes the simulation subject to fluctuations of the average position of the walkers. Although the simulation finally settles to fragments of molecules (final snapshot) after the relaxation, the metastability of this specific atomic configuration is obviously the artifact of the model classical potential. This is a typical behavior of the simulation when it fails.
5.2 The HCP-FCC transition of argon crystal
The most interesting case is a simulation of solid-solid phase transition (PT) because this type of PT has a high energy barrier or/and it occurs under some special conditions [28]. We applied AtomREM to the PT in the argon crystal. The theory for argon crystal [29] gives the two most stable structure for solid argon - and , the authors of recent paper [30] performed the density-functional studies of argon at high pressure () and also have found that properties of structure are very close to the . Fig. 9 shows the energy evolution and Fig. 10 and Fig. 11 demonstrate the side and top views of the atomic configurations during the simulation. For simulation we used the LAMMPS Lennard-Jones potential with [31], cell with size with 48 atoms. To find the initial configuration, we used the Langevin mechanics simulation in the mode ”Initialization” under temp for 4000 time steps () and with 1600 walkers. To determine the initial configuration for the later “Reaction” process, we compared the relaxation times among a group of walkers which exhibited two largest energy deviations for certain two neighboring atoms and selected the slowest among them (actually in the mode “Reaction” the path was initiated by those atoms, as indicated by white color in the second snapshot of Fig. 10). The simulations of the reaction pathways were performed at the mode ”Reaction” under the temperature , , 1728 walkers. The shape of the supercell was fixed during the simulation. To analyze atomic configurations and recognize the , and structures, we used the OVITO tool (Open Visualization Tool [13, 14]) and adaptive common neighbor analysis with a variable cutoff [32].
We have found the saddle point related to the original structure and the layered structures (Fig. 9). To make the walkers overcome the saddle point efficiently, tempfin was set relatively high, due to which the plot of Fig. 9 showed fluctuation at the time step where was switched off. The energy barrier was or for layered transition. This is reasonably smaller than the experimentally observed heat of fusion [33] of .
A notable thing is that we realized the elementary processes of the solid-solid PT with large energy barriers without melting of the system. In the previous paper investigating the solid-solid PT in iron [28] the PT was induced by molecular dynamics with anisotropic compression so that the barrier height is lowered. AtomREM does not require such modification of the potential surface for realizing the elementary processes and enables us more straightforward comparisons to the experiments in arbitrary compression and strain setups.
A closely related method of the solid-solid PT has recently been demonstrated with the metadynamics [8], for example, in papers Refs. [23, 34]. There, the nucleation problems have been investigated using an entropy-related order parameter and enthalpy as the collective variables. In such an approach the information of detailed atomic positions in the reaction paths are coarse-grained and there remains the possibility that the simulation results crucially depend on the choice of collective variables. Our method, without loss of the detailed atomic positions, could also be useful for seeking optimal collective variables.
6 Conclusions and future work
This article has introduced AtomREM, which has been developed in order to study the possible structural transformations to the unknown potential minima without introducing the empirical collective variables and artificial forces. The code package is released under the GNU General Public License 3 and available in a public software repository [12] including example cases. Various potential functions are available via the interface to LAMMPS molecular dynamics package [15]. Demonstrations with the cyclobutane molecule and argon solid systems shows the performance of AtomREM.
Currently, AtomREM cannot be combined with the density functional theory calculations for more accurate potential surface. To achieve the comparable accuracy, combination with the Deep potential molecular dynamics method [35] is under way.
Acknowledgment We thank Taichi Kosugi for advice on the coding. This research was supported by MEXT as Exploratory Challenge on Post-K computer (Frontiers of Basic Science: Challenging the Limits). This research used computational resources of the K computer provided by the RIKEN Advanced Institute for Computational Science through the HPCI System Research project (Project ID:hp160257, hp170244, hp180184, hp190176).
7 Refences
References
- [1]
L. J. Laidler, Chemical Kinetics (3rd edition), Prentice Hall, 1997.
- [2]
E. Carter, G. Ciccotti, J. T. Hynes, R. Kapral, Constrained reaction coordinate dynamics for the simulation of rare events, Chem. Phys. Lett. 156 (5) (1989) 472 – 477.
doi:https://doi.org/10.1016/S0009-2614(89)87314-2.
URL http://www.sciencedirect.com/science/article/pii/S0009261489873142
- [3]
M. Sprik, G. Ciccotti, Free energy from constrained molecular dynamics, J. Chem. Phys. 109 (18) (1998) 7737–7744.
arXiv:https://doi.org/10.1063/1.477419, doi:10.1063/1.477419.
URL https://doi.org/10.1063/1.477419
- [4]
J. Schlitter, M. Engels, P. Kruger, E. Jacoby, A. Wollmer, Targeted molecular dynamics simulation of conformational change-application to the t – r transition in insulin, Mol. Simul. 10 (2-6) (1993) 291–308.
arXiv:https://doi.org/10.1080/08927029308022170, doi:10.1080/08927029308022170.
URL https://doi.org/10.1080/08927029308022170
- [5]
H. Grubmüller, B. Heymann, P. Tavan, Ligand binding: Molecular mechanics calculation of the streptavidin-biotin rupture force, Science 271 (5251) (1996) 997–999.
arXiv:http://science.sciencemag.org/content/271/5251/997.full.pdf, doi:10.1126/science.271.5251.997.
URL http://science.sciencemag.org/content/271/5251/997
- [6]
A. F. Voter, A method for accelerating the molecular dynamics simulation of infrequent events, J. Chem. Phys. 106 (11) (1997) 4665–4677.
arXiv:https://doi.org/10.1063/1.473503, doi:10.1063/1.473503.
URL https://doi.org/10.1063/1.473503
- [7]
A. F. Voter, Hyperdynamics: Accelerated molecular dynamics of infrequent events, Phys. Rev. Lett. 78 (1997) 3908–3911.
doi:10.1103/PhysRevLett.78.3908.
URL https://link.aps.org/doi/10.1103/PhysRevLett.78.3908
- [8]
A. Laio, M. Parrinello, Escaping free-energy minima, Proc. Natl. Acad. Sci. USA 99 (20) (2002) 12562–12566.
arXiv:http://www.pnas.org/content/99/20/12562.full.pdf, doi:10.1073/pnas.202427399.
URL http://www.pnas.org/content/99/20/12562.abstract
- [9]
E. Darve, A. Pohorille, Calculating free energies using average force, J. Chem. Phys. 115 (20) (2001) 9169–9183.
arXiv:https://doi.org/10.1063/1.1410978, doi:10.1063/1.1410978.
URL https://doi.org/10.1063/1.1410978
- [10]
R. Akashi, Y. S. Nagornov, Stochastic formalism for thermally driven distribution frontier: A nonempirical approach to the potential escape problem, Journal of the Physical Society of Japan 87 (6) (2018) 063801.
arXiv:https://doi.org/10.7566/JPSJ.87.063801, doi:10.7566/JPSJ.87.063801.
URL https://doi.org/10.7566/JPSJ.87.063801
- [11]
Y. S. Nagornov, R. Akashi, Non-empirical weighted langevin mechanics for the potential escape problem: Parallel algorithm and application to the argon clusters, Physica A: Statistical Mechanics and its Applications 528 (2019) 121481.
doi:https://doi.org/10.1016/j.physa.2019.121481.
URL http://www.sciencedirect.com/science/article/pii/S0378437119308842
- [12]
[online] (April 2019) [cited The repository of AtomREM program code with benchmark tests by Nagornov Yu.S. and Akashi R.].
- [13]
A. Stukowski, Visualization and analysis of atomistic simulation data with OVITO–the open visualization tool, Modelling and Simulation in Materials Science and Engineering 18 (1) (2009) 015012.
doi:10.1088/0965-0393/18/1/015012.
URL https://doi.org/10.1088%2F0965-0393%2F18%2F1%2F015012
- [14]
[online, cited Open Visualization Tool. https://ovito.org][link].
- [15]
[online, cited Large-scale Atomic Molecular Massively Parallel Simulator. http://lammps.sandia.gov][link].
- [16]
C. Gardiner, Stochastic Methods: A Handbook for the Natural and Social Sciences (4th edition), Springer, 2009.
- [17]
H. F. Trotter, On the product of semi-groups of operators, Proc. Amer. Math. Soc. 10 (1959) 545.
- [18]
M. Suzuki, Generalized trotter’s formula and systematic approximants of exponential operators and inner derivations with applications to many-body problems, Commun. Math. Phys. 51 (2) (1976) 183–190.
URL https://doi.org/10.1007/BF01609348
- [19]
T. Brewer, S. R. Clark, R. Bradford, R. L. Jack, Efficient characterisation of large deviations using population dynamics, Journal of Statistical Mechanics: Theory and Experiment 2018 (5) (2018) 053204.
URL http://stacks.iop.org/1742-5468/2018/i=5/a=053204
- [20]
M. Matsumoto, T. Nishimura, Mersenne twister: A 623-dimensionally equidistributed uniform pseudo-random number generator, ACM Trans. Model. Comput. Simul. 8 (1) (1998) 3–30.
URL http://doi.acm.org/10.1145/272991.272995
- [21]
S. Kadkhodaei, A. van de Walle, A simple local expression for the prefactor in transition state theory, The Journal of Chemical Physics 150 (14) (2019) 144105.
arXiv:https://doi.org/10.1063/1.5086746, doi:10.1063/1.5086746.
URL https://doi.org/10.1063/1.5086746
- [22]
S. J. Stuart, A. B. Tutein, J. A. Harrison, A reactive potential for hydrocarbons with intermolecular interactions, The Journal of Chemical Physics 112 (14) (2000) 6472–6486.
arXiv:https://doi.org/10.1063/1.481208, doi:10.1063/1.481208.
URL https://doi.org/10.1063/1.481208
- [23]
P. M. Piaggi, O. Valsson, M. Parrinello, Enhancing entropy and enthalpy fluctuations to drive crystallization in atomistic simulations, Phys. Rev. Lett. 119 (2017) 015701.
doi:10.1103/PhysRevLett.119.015701.
URL https://link.aps.org/doi/10.1103/PhysRevLett.119.015701
- [24]
B. Sirjean, P. A. Glaude, M. F. Ruiz-Lopez, R. Fournet, Detailed kinetic study of the ring opening of cycloalkanes by cbs-qb3 calculations, The Journal of Physical Chemistry A 110 (46) (2006) 12693–12704.
URL https://doi.org/10.1021/jp0651081
- [25]
B. Torralva, R. Allen, Mechanisms for laser control of chemical reactions, Journal of Modern Optics - J MOD OPTIC 49 (2002) 593–625.
doi:10.1080/09500340110088560.
- [26]
Y. Dou, Y. Lei, A. Li, Z. Wen, B. R. Torralva, G. V. Lo, R. E. Allen, Detailed dynamics of the photodissociation of cyclobutane, The Journal of Physical Chemistry A 111 (6) (2007) 1133–1137.
URL https://doi.org/10.1021/jp066422y
- [27]
S. D. Feyter, E. W.-G. Diau, A. A. Scala, A. H. Zewail, Femtosecond dynamics of diradicals: transition states, entropic configurations and stereochemistry, Chemical Physics Letters 303 (3) (1999) 249 – 260.
doi:https://doi.org/10.1016/S0009-2614(99)00263-8.
URL http://www.sciencedirect.com/science/article/pii/S0009261499002638
- [28]
J.-L. Shao, P. Wang, F.-G. Zhang, A.-M. He, Hcp/fcc nucleation in bcc iron under different anisotropic compressions at high strain rate: Molecular dynamics study, Scientific Reports 8 (1) (2018) 7650.
doi:10.1038/s41598-018-25758-1.
URL https://doi.org/10.1038/s41598-018-25758-1
- [29]
E. R. Dobbs, G. O. Jones, Theory and properties of solid argon, Reports on Progress in Physics 20 (1) (1957) 516–564.
doi:10.1088/0034-4885/20/1/309.
URL https://doi.org/10.1088%2F0034-4885%2F20%2F1%2F309
- [30]
P. Schwerdtfeger, K. G. Steenbergen, E. Pahl, Relativistic coupled-cluster and density-functional studies of argon at high pressure, Phys. Rev. B 95 (2017) 214116.
doi:10.1103/PhysRevB.95.214116.
URL https://link.aps.org/doi/10.1103/PhysRevB.95.214116
- [31]
B. Li, G. Qian, A. R. Oganov, S. E. Boulfelfel, R. Faller, Mechanism of the fcc-to-hcp phase transformation in solid ar, The Journal of Chemical Physics 146 (21) (2017) 214502.
arXiv:https://doi.org/10.1063/1.4983167, doi:10.1063/1.4983167.
URL https://doi.org/10.1063/1.4983167
- [32]
A. Stukowski, Structure identification methods for atomistic simulations of crystalline materials, Modelling and Simulation in Materials Science and Engineering 20 (4) (2012) 045021.
doi:10.1088/0965-0393/20/4/045021.
URL https://doi.org/10.1088%2F0965-0393%2F20%2F4%2F045021
- [33]
P. Flubacher, A. J. Leadbetter, J. A. Morrison, A low temperature adiabatic calorimeter for condensed substances. thermodynamic properties of argon, Proceedings of the Physical Society 78 (6) (1961) 1449–1461.
doi:10.1088/0370-1328/78/6/346.
URL https://doi.org/10.1088%2F0370-1328%2F78%2F6%2F346
- [34]
F. Giberti, M. Salvalaglio, M. Parrinello, Metadynamics studies of crystal nucleation, IUCrJ 2 (2) (2015) 256–266.
doi:10.1107/S2052252514027626.
URL https://doi.org/10.1107/S2052252514027626
- [35]
L. Zhang, J. Han, H. Wang, R. Car, W. E, Deep potential molecular dynamics: A scalable model with the accuracy of quantum mechanics, Phys. Rev. Lett. 120 (2018) 143001.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Akashi R., Nagornov Yu.S. J. Phys. Soc. Jpn. 87 , 063801 (2018).
- 2[2] Nagornov Yu.S., Akashi R. Physica A, 528 , 121481 (2019).
- 3[1] L. J. Laidler, Chemical Kinetics (3rd edition), Prentice Hall, 1997.
- 4[2] E. Carter, G. Ciccotti, J. T. Hynes, R. Kapral, Constrained reaction coordinate dynamics for the simulation of rare events , Chem. Phys. Lett. 156 (5) (1989) 472 – 477. doi:https://doi.org/10.1016/S 0009-2614(89)87314-2 . URL http://www.sciencedirect.com/science/article/pii/S 0009261489873142 · doi ↗
- 5[3] M. Sprik, G. Ciccotti, Free energy from constrained molecular dynamics , J. Chem. Phys. 109 (18) (1998) 7737–7744. ar Xiv:https://doi.org/10.1063/1.477419 , doi:10.1063/1.477419 . URL https://doi.org/10.1063/1.477419 · doi ↗
- 6[4] J. Schlitter, M. Engels, P. Kruger, E. Jacoby, A. Wollmer, Targeted molecular dynamics simulation of conformational change-application to the t – r transition in insulin , Mol. Simul. 10 (2-6) (1993) 291–308. ar Xiv:https://doi.org/10.1080/08927029308022170 , doi:10.1080/08927029308022170 . URL https://doi.org/10.1080/08927029308022170 · doi ↗
- 7[5] H. Grubmüller, B. Heymann, P. Tavan, Ligand binding: Molecular mechanics calculation of the streptavidin-biotin rupture force , Science 271 (5251) (1996) 997–999. ar Xiv:http://science.sciencemag.org/content/271/5251/997.full.pdf , doi:10.1126/science.271.5251.997 . URL http://science.sciencemag.org/content/271/5251/997 · doi ↗
- 8[6] A. F. Voter, A method for accelerating the molecular dynamics simulation of infrequent events , J. Chem. Phys. 106 (11) (1997) 4665–4677. ar Xiv:https://doi.org/10.1063/1.473503 , doi:10.1063/1.473503 . URL https://doi.org/10.1063/1.473503 · doi ↗
