# Difference between revisions of "Test volume method"

An alternative to the virial pressure route to calculating the pressure, there is a method which consists on evaluating the change in internal energy, $\Delta U$ produced by a small change in the volume of the system $\Delta V$.

This should be tough of as a "blow-up" (or "in") of the whole system, $x \rightarrow (1+\alpha) x$ with a small $\alpha$ (same for y and $z$), exactly in the way as the virial pressure expression may be derived - not as leaving the particles in their places and changing the simulation cell (a procedure which does not make sense in general).

It can be shown that

$p = \frac{ k_B T N}{V} + \frac{ k_B T }{ \Delta V } \log \langle \exp(-\Delta U/k_B T )\rangle,$

where $k_B$ is the Boltzmann constant and $T$ is the temperature. The method is clearly inspired by the Widom test-particle method to obtain the chemical potential.

It has been argued that this method can be more useful than virial pressure since it avoids the calculation of forces (which are not needed in a Monte Carlo simulation). Moreover, there are interaction potentials that are discontinuous - in this case, the forces are not well defined, and one should consider the limit of "almost-discontinuous" potentials instead, which can be cumbersome. However, it is not clear how to "blow up" a system containing molecules held by rigid constraints.

## References

1. V. I. Harismiadis, J. Vorholz, and A. Z. Panagiotopoulos "Efficient pressure estimation in molecular simulations without evaluating the virial", Journal of Chemical Physics 105 pp. 8469- (1996)