Virial stress is a measure of mechanical stress on an atomic scale for homogeneous systems. The expression of the (local) virial stress can be derived as the functional derivative of the free energy of a molecular system with respect to the deformation tensor.
Volume averaged Definition
The instantaneous volume averaged virial stress is given by
- and are atoms in the domain,
- is the volume of the domain,
- is the mass of atom k,
- is the ith component of the velocity of atom k,
- is the jth component of the average velocity of atoms in the volume,
- is the ith component of the position of atom k, and
- is the ith component of the force applied on atom by atom .
At zero kelvin, all velocities are zero so we have
This can be thought of as follows. The τ11 component of stress is the force in the x1-direction divided by the area of a plane perpendicular to that direction. Consider two adjacent volumes separated by such a plane. The 11-component of stress on that interface is the sum of all pairwise forces between atoms on the two sides.
The volume averaged virial stress is then the ensemble average of the instantaneous volume averaged virial stress.
In a three dimensional, isotropic system, at equilibrium the "instantaneous" atomic pressure is usually defined as the average over the diagonals of the negative stress tensor:
This pressure is the average pressure in the volume .
where is the ith component of the vector oriented from the th atoms to the kth calculated via the difference
Both equation being strictly equivalent, the definition of the vector can still lead to confusion.
The virial pressure can be derived, using the virial theorem and splitting forces between particles and the container or, alternatively, via direct application of the defining equation and using scaled coordinates in the calculation.
If the system is not homogeneous in a given volume the above (volume averaged) pressure is not a good measure for the pressure. In inhomogeneous systems the pressure depends on the position and orientation of the surface on which the pressure acts. Therefore in inhomogeneous systems a definition of a local pressure is needed. As a general example for a system with inhomogeneous pressure you can think of the pressure in the atmosphere of the earth which varies with height.
Measuring the virial pressure in molecular simulations
- Morante, S., G. C. Rossi, and M. Testa. "The stress tensor of a molecular system: An exercise in statistical mechanics." The Journal of chemical physics 125.3 (2006): 034101, http://aip.scitation.org/doi/abs/10.1063/1.2214719.
- Allen, MP; Tildesley, DJ (1991). Clarendon Press (ed.). Computer Simulations of Liquids. Oxford. pp. 46–50.
- Navet, M.; Jamin, E.; Feix, M. R. (1980-02-01). "« Virial » pressure of the classical one-component plasma". Journal de Physique Lettres. 41 (3): 69–73. doi:10.1051/jphyslet:0198000410306900. ISSN 0302-072X.
- Numerical Simulations of a Smectic Lamellar Phase of Amphiphilic Molecules, p. 40, https://books.google.de/books?id=rPpegGthzO4C&lpg=PA40&dq=local%20pressure%20tensor&hl=de&pg=PA40#v=onepage&q=local%20pressure%20tensor&f=false
- Miguel, Enrique de; Jackson, George (2006-10-30). "The nature of the calculation of the pressure in molecular simulations of continuous models from volume perturbations". The Journal of Chemical Physics. 125 (16): 164109. doi:10.1063/1.2363381. ISSN 0021-9606.