Virial pressure: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
(Hopefully signs are all ok now!)
(A bit more info)
Line 16: Line 16:
:<math> p  =  \frac{ k_B T  N}{V} + \frac{ 1 }{ d V } \overline{ \sum_{i<j} f(r_{ij})  r_{ij} }. </math>
:<math> p  =  \frac{ k_B T  N}{V} + \frac{ 1 }{ d V } \overline{ \sum_{i<j} f(r_{ij})  r_{ij} }. </math>


 
Notice that most realistic potentials are attractive at long ranges, hence the first correction to the ideal pressure will be a negative contribution: the [[second virial coefficient]]. On the other hand, contributions from repulsive potentials, such as [[hard sphere model | hard spheres]], are always positive.
[[category: classical mechanics]]
[[category: statistical mechanics]]

Revision as of 22:26, 6 February 2008

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 pair 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.

This relationship is readily obtained by writing the partition function in "reduced coordinates" x*=x/L, etc, then considering a "blow-up" of the system by changing the value of L. This would apply to a simple cubic system, but the same ideas can also be applied to obtain expressions for the stress tensor and the surface tension, and are also used in constant-pressure Monte Carlo.

If the interaction is central, the force is given by

fij=−rijrijf(rij),

where f(r) the force corresponding to the intermolecular potential U(r):

−∂u(r)/∂r.

E.g., for the Lennard-Jones potential, f(r)=24ϵ(2(σ/r)12−(σ/r)6)/r. Hence, the expression reduces to

p=kBTNV+1dV∑i<jf(rij)rij¯.

Notice that most realistic potentials are attractive at long ranges, hence the first correction to the ideal pressure will be a negative contribution: the second virial coefficient. On the other hand, contributions from repulsive potentials, such as hard spheres, are always positive.