Molecular Dynamics#
MD-Multicode: The dynamics are integrated by ASE, while the forces at each step are supplied by an external calculator. Because the driver does not depend on the code providing the forces, it can be combined with the SIESTA, Quantum Espresso and MACE calculators (hence multicode).
MD-SIESTA: The dynamics are integrated by SIESTA itself and are therefore available only with the SIESTA calculator.
MD-SIESTA reuses the wavefunctions and density matrix from the previous MD step as the starting point for the next one, which reduces the cost per step. Additionally, it avoids reinitializing the system infrastructure at each step, further speeding up simulation runs. It is also the only driver that provides simulated annealing.
MD-Multicode offers finer control over the cell dynamics: you can choose the barostat mode, constrain individual cell degrees of freedom and apply pressure selectively along chosen axes.
The settings for each chosen ensemble are different, however, all MD ensemble share two options:
- Time step: Controls the length of the time step in the MD simulation. If the time step is too large, the dynamics of the system will show unphysical behavior: energy is not conserved, high-frequency modes become populated, and the system may even melt. It is always safer to choose a small time step, at the cost of computation time. The default value is 1 fs, a standard choice for most systems. Systems with light atoms (e.g. hydrogen) and/or strong bonds (e.g. C-C, C-H) require a smaller value, while systems composed of heavy elements can often tolerate a larger one. We advise examining the system under study and verifying energy conservation in a short NVE run before committing to a production value.The time units are selected at the right of this parameter. The options are femto-seconds (fs), i.e. 10\(^{-15}\) seconds, and pico-seconds (ps), i.e. 10\(^{-12}\) s.
number of steps: Number of steps of the MD simulation. The number of steps multiplied by the time step will give a full-time MD calculation.
MD Algorithms (SIESTA only)#
Standard Verlet algorithm (NVE)#
Initial temperature: Initial temperature for the MD run. Represents the initial kinetic energy distribution of the particles. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed. In units of K, eV or meV.
Nosé thermostat (NVT)#
Initial temperature: Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed. In units of K, eV or meV.
Target temperature: Target temperature for Nosé thermostat. In units of K, eV or meV.
Nosé mass: Generalised mass of Nosé variable. This determines the time scale of the Nosé variable dynamics, and the coupling of the thermal bath to the physical system.
Parrinello-Rahman (NP)#
Initial temperature. Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed (in units of K, eV or meV).
Target pressure. Target pressure for Parrinello-Rahman method. In units of GPa, eV/Ångström\(^{3}\) or Ry/Bohr\(^{3}\).
Parrinello-Rahman mass. Generalised mass of Parrinello-Rahman variable. This determines the time scale of the Parrinello-Rahman variable dynamics, and its coupling to the physical system.
Nosé Parrinello-Rahman (NPT)#
Initial temperature: Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed (in units of K, eV or meV).
Target temperature: Target temperature for the Nosé thermostat. In units of K, eV or meV.
Nosé mass: Generalised mass of Nosé variable. This determines the time scale of the Nosé variable dynamics, and the coupling of the thermal bath to the physical system.
Target pressure: Target pressure for Parrinello-Rahman method. In units of GPa, eV/Ångström or Ry/Bohr.
Parrinello-Rahman mass: Generalised mass of Parrinello-Rahman variable. This determines the time scale of the Parrinello-Rahman variable dynamics, and its coupling to the physical system.
Annealing#
Temperature#
Initial temperature: Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed (in units of K, eV or meV).
Target temperature: Target temperature for annealing MD. In units of K, eV or meV.
Tau relax: Relaxation time to reach target temperature and/or pressure in annealing MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer.
Pressure#
If the Pressure is selected, the additional settings are:
Initial temperature: Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed (in units of K, eV or meV).
Tau relax: Relaxation time to reach target temperature and/or pressure in annealing MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
Target pressure: The target pressure is achieved by velocity and unit cell rescaling, in a given time determined by the variable Tau relax. In units of GPa, eV/Ångström\(^{3}\) or Ry/Bohr\(^{3}\).
Bulk modulus estimation: Estimation (may be rough) of the bulk modulus of the system. This is needed to set the rate of change of cell shape to reach target pressure. In units of GPa, eV/Ångström\(^{3}\) or Ry/Bohr\(^{3}\).
Temperature and pressure#
If both Temperature and Pressure are selected, the additional settings are:
Initial temperature: Initial temperature for the MD run. The atoms are assigned random velocities drawn from the Maxwell-Boltzmann distribution with the corresponding temperature. The constraint of zero center of mass velocity is imposed (in units of K, eV or meV).
Target temperature: The target temperature is achieved by velocity and unit cell rescaling, in a given time determined by the variable Tau relax. In units of K, eV or meV.
Tau relax: Relaxation time to reach target temperature and/or pressure in annealing MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
Target pressure: The target pressure is achieved by velocity and unit cell rescaling, in a given time determined by the variable Tau relax. In units of GPa, eV/Ångström\(^{3}\) or Ry/Bohr\(^{3}\).
Bulk modulus estimation: Estimation (may be rough) of the bulk modulus of the system. This is needed to set the rate of change of cell shape to reach target pressure. In units of GPa, eV/Ångström\(^{3}\) or Ry/Bohr\(^{3}\).
MD Algorithms (Multicode)#
Verlet (NVE)#
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
NVT Melchionna#
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
NVT Berendsen#
Fix center of mass: Check this box if you want the program to consider a fixed center of mass for the system.
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
NVT Langevin#
Fix center of mass: Check this box if you want the program to consider a fixed center of mass for the system.
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
NVT Andersen#
Fix center of mass: Check this box if you want the program to consider a fixed center of mass for the system.
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
Collision probability: The collision probability defines the average number of collisions per atom and time-step.
NVT Bussi#
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
NPT Melchionna#
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
Barostat mode: determines how the target pressure is applied. All modes share the following parameters:
Pressure units: Allow the user to select the units for the pressure, eV/Ångström\(^{3}\), GPa, kBar, or MPa.
P relaxation time: The time scale used to regulate pressure toward the target value in MD. Note that this is a relaxation parameter, it provides a rough time scale rather than the exact equilibration time. Because pressure fluctuates and exhibits oscillations, actual convergence to the target average requires significantly longer. Expressed in fs.
Bulk modulus: The material’s resistance to uniform compression, used to estimate volume response under pressure. Expressed in eV/Ångström\(^{3}\).
P-factor: A read-only parameter, calculated automatically from the P relaxation time and the Bulk modulus (\(\text{P-factor} = \text{P relaxation time}^2 \times \text{Bulk modulus}\)). It dictates how rapidly the simulation box volume adjusts to maintain target pressure. Typical metallic bulk moduli are on the order of 0.6 eV/Ångström\(^{3}\).
NPT Berendsen#
Fix center of mass: Check this box if you want the program to consider a fixed center of mass for the system.
Logging frequency: defines how frequently the information of a running MD calculation is stored. During the MD simulation, atomic positions and velocities are stored. This is very useful to visualise and analyse the calculations.
Temperature: Target temperature for the thermostat. In units of K, eV or meV.
T relaxation time: The time scale used to regulate temperature toward the target value in MD. Note that this is a relaxation time, and as such it gives a rough estimate of the time needed to achieve the given targets. As a normal simulation also exhibits oscillations, the actual time needed to reach the averaged targets will be significantly longer. In units of fs or ps.
Barostat mode: determines how the target pressure is applied. Two modes are available, Hydrostatic pressure and Orthorhombic cell (fixed angles). All modes share the following parameters:
Pressure units: Allow the user to select the units for the pressure, eV/Ångström\(^{3}\), GPa, kBar, or MPa.
P relaxation time: The time scale used to regulate pressure toward the target value in MD. Note that this is a relaxation parameter, it provides a rough time scale rather than the exact equilibration time. Because pressure fluctuates and exhibits oscillations, actual convergence to the target average requires significantly longer. Expressed in fs.
Bulk modulus: The material’s resistance to uniform compression, used to estimate volume response under pressure. Expressed in eV/Ångström\(^{3}\).
Compressibility: Read-only, computed from the bulk modulus. Expressed in GPa\(^{-1}\).
The two modes differ in which components of the pressure tensor are active:
Hydrostatic pressure: Uniform pressure locked on. Active components \(xx\), \(yy\), and \(zz\), constrained equal: one target value.
Orthorhombic cell (fixed angles): Diagonal terms only. Uniform pressure can be unchecked: checked, the selected axes share one target pressure; unchecked, each is set independently.
Variables (Velocities)#
The initial velocities are initially set to zero, however, they can be changed manually. The constraint on zero center of mass velocity is imposed automatically. Random velocities drawn by a Maxwell-Boltzmann distribution can be assigned to atoms of the system. You can set a desired temperature in the Maxwell-Boltzmann box. Press the Initialize now button to set up the initial velocities.
To maintain the system at the target temperature select the Force tick-box.
Analysis#
\(\langle Ek \rangle\) and \(\langle T \rangle\) are the average kinetic energy and average temperature, respectively. These parameters are helpful to control the evolution of the system during dynamic run.
\(\langle \Delta T^{2} \rangle\) represents the average temperature variation observed during an MD run. This parameter provides insight into the magnitude of temperature fluctuation that occur throughout the simulation. This measurement is particularly valuable for analyses conducted near phase transitions, as it effectively captures significant fluctuations that often manifest in such scenarios.
2\(\langle T \rangle^{2}\)/N is the averaged square temperature normalised by the degrees of freedom (N). It is an indirect measure of specific heat.
Press the View in 3D… button to visualise the image with ASE GUI at the selected step.
Press the Play button to visualise the structure’s evolution during the MD run in three dimensions.
You can visualise the results of MD as time series (y-axis) of:
kinetic energy
kinetic and potential. For the visualisation of both kinetic and potential energies.
potential energy
pressure. The option is only available if provided by the calculator.
temperature.
total energy
Notice that you can modify the logging step range that will be shown in the visualisation,
and visualise the Time series as a function of steps or time (in unit of fs).
After editing a parameter, click the Update the plot button.
Mean-square displacement: The average square distance taken over all particles. Gives the deviation of the position of a particle with respect to a reference position over a certain period of time (units of Ångström\(^{2}\)).
Diffusion coefficient: obtained from the slope of the mean-square displacement versus time (Einstein relation) (units of Ångström\(^{2}\)/fs).
Root-mean-square displacement: measures the variability of the positions of the particles with respect to a reference position over a certain period of time. It is particularly useful to compare two data sets of a system that has been transformed in some way (units of Ångström).
Velocity correlation function (VCF): average of the product of the velocities of all the particles at two different times (t, t+\(\Delta\)t). This function quantifies the rate at which the particles return to equilibrium state after a small perturbation.
Power spectrum: allows the user to visualize the frequency distribution of the velocity correlation function (units of fs). It helps to identify characteristic frequencies and modes of vibration of the system. Note that for this statistical property the options for the abscissa axis are not steps or (explicitly) time, but frequency as a function of time (units of fs) or inverse of time (Hz), inverse of wavelength (units of cm-1) and energy (units of eV, meV, and Rydberg and Hartree units of energy).
You can tune the following parameters:
Num. intervals: parameter defining the sampling of the x axis.
Snapshot step: to select a specific moment in time of the MD run.
Min radius: minimum radial distance for the RDF.
Max radius: maximum radial distance for the RDF.
Units: optionally units of Ångström, nanometers or Bohr radius.
Plot style: optionally lines or bars.