Category:Forces

From VASP Wiki
Revision as of 08:39, 31 January 2024 by Jona (talk | contribs) (→‎How To)

Forces on particles are a fundamental concept in condensed matter physics and chemistry. These forces describe the interactions that cause particles, such as atoms and molecules, to move and behave in specific ways. In VASP, forces result from electromagnetic interactions, which can be computed by means of the Hellmann-Feynman theorem within DFT, the random-phase approximation or by the use of machine learning force fields. Understanding interaction forces between atoms is crucial in many aspects of science, for example:

Formally, the force can be defined as follows. Let be the position of the particle, then the velocity is defined as the change of position with time

and the momentum of the particle is the velocity times the particle mass

Newton's second law of motion states that the change of motion of an object is proportional to the force acting on the object and oriented in the same direction as the force vector. Therefore, the force is defined as the change of particle momentum with time

where is the acceleration of the particle. With this equation of motion, the knowledge of some starting conditions and and an algorithm to compute the forces the trajectory of a particle can be predicted for all times.

Theory

The force and the negative gradient of the potential energy is directly related. The gradient of the potential energy can be computed from the Lagrangian of the particle system of interest. The Lagrangian for an N particle system is

where is the potential energy of the system. With Lagrange's equation of the second kind

the relation

In order to predict forces and particle trajectories, the negative gradient of the potential energy has to be computed.


DFT Forces

One way to compute the potential energy's negative gradient is through DFT. In DFT there is no classical potential energy function but a Hamiltonian depending on the ionic positions and the electronic positions . The exact form of the Hamiltonian is given by

where denotes the electronic ground-state density and are the Kohn-Sham orbitals. is the exchange-correlation energy. To obtain the force acting on ion A, the Hellmann-Feynman theorem has to be used.

where denotes the gradient with respect to ionic position . The DFT forces will depend on the chosen exchange-correlation functional via the electronic ground-state density . Therefore, the choice of the proper exchange-correlation functional for the system of interest is crucial for obtaining proper forces and, hence, the correct material properties.

RPA-forces

The RPA approximation can be used to yield estimates for the exchange-correlation energy as well as forces (LRPAFORCE) within many-body perturbation theory.[1] Note that the RPA is a correction to the underlying functional. Therefore, the choice of the proper exchange-correlation functional is still crucial in the RPA approach for obtaining forces. The RPA forces are computed by the following equation

The operators and are associated with the functional derivatives and respectively. S defines the overlap operator between the Kohn-Sham orbitals of the used DFT approximation. The trace operation can be interpreted as a double integral over the entire space, involving and . The first term of the force equation can be associated with the exchange energy and the second term of the equation can be associated with the correlation part.

Mind: It is recommended to use the Perdew-Burke-Ernzerhof (PBE) XC potential
Mind: It is recommended to use the GW POTCAR-files

Machine-learned forces

A speedy but less accurate approach for obtaining forces is through a machine-learned force field (MLFF). In this approach, a machine-learning model is first trained on either the DFT or RPA forces, whereby also energies and stresses are considered. In the case of the RPA, the stress tensor is not computed. The machine-learning approach will be an approximation to the underlying method against which it was fitted.

The machine learning force field decomposes the total DFT energy into local atomic contributions depending on all atomic positions in the system. Therefore, the force acting on ion A is computed by

where is the kernel matrix which can be found on the machine learning theory page. The kernel matrix as the local energies depends on the positions of all atoms in the actual atomic configuration.

Related concepts

Stress and pressure

The stress tensor (see ISIF) provides valuable information about how forces are distributed throughout a material, both in magnitude and direction. It includes normal stresses, which act perpendicular to a given plane, and shear stresses, which act parallel to the plane. Together, these components allow predicting how materials will behave under various conditions, such as tension, compression, or shear. The stress tensor can be computed from a viral theorem, including pair forces, or with a finite difference approach deforming the simulation box.

Pressure, often denoted as P, is a scalar component of the stress tensor. It represents the normal force per unit area acting on a surface within the material. In the stress tensor, pressure is related to the diagonal components , , and :

In other words, the pressure is the average of the normal components of the stress tensor in the three spatial directions. In electronic structure calculations, finite basis sets are used to express the electron density. Due to this finiteness of the basis set, errors on the stress tensor and the pressure are introduced. The error in the pressure is referred to as Pulay stress and can be corrected with the tag PSTRESS or by increasing ENCUT.

Force constants and phonons

The forces are defined as the negative gradient of the potential energy. The force-constant matrix is defined by

and is, therefore, the gradient of the force. The force-constant matrix is a fundamental concept in solid-state physics and materials science, especially in the context of understanding the vibrational properties of crystals. It is a mathematical representation of the interatomic forces and their interactions within a crystal lattice. This matrix is used to describe the relationships between atomic displacements and the resulting forces that occur in a crystal. By Fourier transforming the force-constant matrix, the dynamical matrix is obtained. By computing the eigenvalues of the dynamic matrix on various reciprocal lattice points, the phonon dispersion relation can be obtained. Understanding phonons is essential as they influence materials properties such as the electrical conductivity, thermal conductivity, and mechanical properties of materials.

How To

References

Subcategories

This category has only the following subcategory.

Pages in category "Forces"

The following 9 pages are in this category, out of 9 total.