Virial pressure

From SklogWiki
Revision as of 17:10, 6 February 2008 by Nice and Tidy (talk | contribs)
Jump to navigation Jump to search

The virial pressure is commonly used to obtain the pressure from a general simulation. It is particularly well suited to molecular dynamics, since forces are evaluated and readily available. For central interactions, one has:

p=kBTNV−1dV∑i<jfijrij¯,

where one can recognize an ideal term, and a second term due to the virial. The overline is an average, which would be a time average in molecular dynamics, or an ensemble average in Monte Carlo; d is the dimension of the system (3 in the "real" world). fij is the force on particle i exerted by particle j, and rij is the vector going from i to j: rij=rj−ri.