4. Pressure
Internal pressure is calculated from internal energy according to
where \(\mathcal{V}\) is the simulation volume, \({T_a}\) is the kinetic energy and \(L_a\) the length of the box in the Cartesian direction \(a\), Vir is the virial of the total interaction energy \(\mathcal{U}\).
\(\mathcal{U}\) comprises intramolecular bonded terms \(\mathcal{U}_0\) (see Intramolecular bonds for details), and field terms \(W[\{ \tilde\phi \} ]\) (see Theory for details).
Using the above expressions, the following form for internal pressure is obtained:
where \(\bar{V}_t(\mathbf{r}) = \frac{\partial w(\{\tilde\phi\})}{\partial\tilde\phi_t}\) and \(σ\) is a coarse-graining parameter (see Filtering for details). Note that the above expression is obtained for a Gaussian filter which is the most natural choice in HhPF theory.