Organic Corrosion Inhibitors. Группа авторов
Чтение книги онлайн.
Читать онлайн книгу Organic Corrosion Inhibitors - Группа авторов страница 25
where qk(N), qk(N + 1), and qk(N − 1) are charge values of neutral, anionic, and cationic forms of atom k, respectively.
3.3 Atomistic Simulations
Microscopic analyses are methods developed to serve as a basis for the investigation and simulation of physical phenomena on a molecular level. As these methods usually allow such a deep analysis, they became essential tools in generating and designing new functional materials. Macroscopic and microscopic characteristics of species constituting a simulation system, i.e. molecules and fine particles, are generated from analyzing the output of simulations.
Two well‐known atomistic simulation methods are MC and MD. The advantage of the MD method over the MC method is, besides its ability to analyze thermodynamic equilibrium, it can be used to investigate the dynamic properties of a system in a nonequilibrium state.
3.3.1 Molecular Dynamics (MD) Simulations
The interest in MD simulation is growing due to the rapid development of complex hardware and software that allow simulation of large systems. The concept of MD simulation is based on solving Newton’s equations of motion for the atoms in the simulation system using numerical integration [41, 42]. In a given system, its constituents, i.e. atoms and molecules, can move and interact with other constituents in the vicinity. The time evolution and atomic‐scale dynamics of this system can be simulated and described by MD. The total energy of the system is mathematically described as a function of all atomic coordinates. A point‐like nature of the interactions between atoms in the system are maintained conforming to a given potential energy E(r1, r2,…,rN), where rj is the vector position of the j‐th atom. To obtain atom trajectories, the equation of motion is used to determine the location and velocity vector of each atom at every time‐step [43–45].
(3.16)
where r is the spatial gradient, E is the system’s empirical potential, while ri and mi denotes the spatial coordinates and the mass of the i‐th atom, respectively.
3.3.1.1 Total Energy Minimization
The aim of the total energy minimization process, also called geometry optimization or structural relaxation, is to find a stable structure, and it is the first essential step in almost all atomistic simulations [1, 2]. By performing this iterative procedure, atoms in a system can reach a lowest energy configuration; their coordinates are adjusted, so the net forces acting on the atoms are zero. In this procedure, forces on atoms as well as the energy of the system are calculated considering only total energies. An effective energy minimization process depends on the used minimization algorithms, which are mostly based on experimentally determined thermodynamic parameters [46, 47].
The simplest minimization algorithm is the steepest descents (SD). It is not a recommended minimization method given the fact that it does not consider previous steps when choosing a search direction. The method of conjugate gradients (CG) is a well‐preferred minimization method and can correct the failings of SD. It is generally a reliable and robust minimization algorithm that is preferred for minimizing a large number of simulation systems. Another minimization algorithm is the Quasi‐Newton (QN) methods, which seek to build an approximation to the inverse of the Hessian during the minimization. QN methods are often more efficient than Newton’s method.
3.3.1.2 Ensemble
The accurate characterization of a system cannot be achieved only by its total energy; the consideration of realistic conditions such as entropy changes, volume, and pressure is essential to produce a useful output. In MD simulation, different thermodynamic potentials, called the ensemble, are used to account for these conditions. The ensemble is a collection of all possible systems that have identical thermodynamic or macroscopic attribute but different microscopic states. An ensemble leaves one parameter variable while it fixes the others [48]. The most common ensembles are the microcanonical ensemble (NVE), canonical (NVT), isobaric–isothermal ensemble (NPT), and grand canonical ensemble (μVT). With these ensembles, the energy can vary during the simulation.
3.3.1.3 Force Fields
In MD simulation, the used potential is a critical factor in determining the reliability of simulations. The set of parameters acting on the nuclei of atoms and mathematical formulas that relate a potential energy (usually described by pair potentials) to a configuration of a molecular system is called Force fields. It is a challenging task in every simulation to choose or create a correct force field for a given system [49]. Force fields are parameterized with experimental data and those from ab initio calculations. In corrosion inhibition, the Condensed‐phase Optimized Molecular Potentials for Atomistic Simulation Studies (COMPASS) is the most cited force field. In addition to ab initio calculations, COMPASS was parameterized considering various experimental data including organic compounds made with H, C, N, O, S, P atoms, halogens, and metals [50]. Other used force fields include universal force field (UFF) [51, 52], which is an all‐atom potential containing parameters for each atom, and the consistent‐valence force field (CVFF) that is a generalized valence force field [53–55]. Because of the high computational cost, three‐ and more‐body interactions are not considered when parameterizing a force field [56].
3.3.1.4 Periodic Boundary Condition
It is impossible to deal with a system composed of 6×1023 particles (one‐mol‐order size) in MD simulation. Fortunately, reasonable results can be obtained by treating a small system of about 100–10 000 particles using the periodic boundary condition approach. In the case of a two‐dimensional system as that represented in Figure 3.1, the main simulation box is replicated so the simulation region is the central square and the virtual boxes are the surrounding squares. For instance, the actual corrosion inhibition process cannot be simulated using an infinite system since it involves thousands of atoms and molecules [50]. To make more realistic simulations with a reduced computational cost, researchers developed several boundary conditions; among them, the periodic boundary conditions, which can make the corrosion inhibition simulation close to an infinite system. It has been used in all MD simulations of corrosion inhibition [57–67].
Figure 3.1 Periodic boundary condition.
3.3.2 Monte Carlo (MC) Simulations
In contrast to the MD approach, which deals with both thermodynamic equilibrium and nonequilibrium phenomena, the MC method can only simulate a system under thermodynamic equilibrium [45]. It generates a series of configurations using random trial moves under a certain stochastic law regardless of the equation of motion. The concept of Monte Carlo has been used to develop several methods such as Metropolis MC, kinetic Monte Carlo (kMC), and quantum Monte Carlo which are used, besides atomistic