<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin.dale.parrish</id>
	<title>SklogWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.sklogwiki.org/SklogWiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin.dale.parrish"/>
	<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php/Special:Contributions/Kevin.dale.parrish"/>
	<updated>2026-04-09T00:01:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://www.sklogwiki.org/SklogWiki/index.php?title=Pressure&amp;diff=12734</id>
		<title>Pressure</title>
		<link rel="alternate" type="text/html" href="http://www.sklogwiki.org/SklogWiki/index.php?title=Pressure&amp;diff=12734"/>
		<updated>2012-06-01T17:30:13Z</updated>

		<summary type="html">&lt;p&gt;Kevin.dale.parrish: /* Virial pressure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Pressure&#039;&#039;&#039; (&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;) is the force per unit area applied on a surface, in a direction perpendicular to that surface, i.e. the scalar part of the [[stress]] tensor under equilibrium/hydrosatic conditions.&lt;br /&gt;
==Thermodynamics==&lt;br /&gt;
In thermodynamics the pressure is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;p = - \left.\frac{\partial A}{\partial V} \right\vert_{T,N} = k_BT \left.\frac{\partial \ln Q}{\partial V} \right\vert_{T,N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the [[Helmholtz energy function]], &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; is the volume, &amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; is the &lt;br /&gt;
[[Boltzmann constant]], &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the [[temperature]] and &amp;lt;math&amp;gt;Q (N,V,T)&amp;lt;/math&amp;gt;&lt;br /&gt;
is the [[Canonical ensemble | canonical ensemble partition function]].&lt;br /&gt;
&lt;br /&gt;
==Units==&lt;br /&gt;
&lt;br /&gt;
The SI units for pressure are Pascals (Pa), 1 Pa being 1 N/m&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;, or 1 J/m&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;. Other frequently encountered units are bars and millibars (mbar); 1 mbar = 100 Pa = 1 hPa, 1 hectopascal. 1 bar is 10&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; Pa by definition. This is very close to the standard atmosphere (atm), approximately equal to typical air pressure at earth mean sea level:&lt;br /&gt;
atm, standard atmosphere = 101325 Pa = 101.325 kPa = 1013.25 hPa = 1.01325 bar&lt;br /&gt;
==Stress==&lt;br /&gt;
The &#039;&#039;&#039;stress&#039;&#039;&#039; is given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{\mathbf F} = \sigma_{ij} {\mathbf A}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{\mathbf F}&amp;lt;/math&amp;gt; is the force, &lt;br /&gt;
&amp;lt;math&amp;gt;{\mathbf A}&amp;lt;/math&amp;gt; is the area, and &amp;lt;math&amp;gt;\sigma_{ij}&amp;lt;/math&amp;gt; is the stress tensor, given by&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sigma_{ij} \equiv \left[{\begin{matrix}&lt;br /&gt;
   \sigma _x &amp;amp; \tau _{xy} &amp;amp; \tau _{xz} \\&lt;br /&gt;
   \tau _{yx} &amp;amp; \sigma _y &amp;amp; \tau _{yz} \\&lt;br /&gt;
   \tau _{zx} &amp;amp; \tau _{zy} &amp;amp; \sigma _z \\&lt;br /&gt;
  \end{matrix}}\right]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where where &amp;lt;math&amp;gt;\ \sigma_{x}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ \sigma_{y}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\ \sigma_{z}&amp;lt;/math&amp;gt; are normal stresses, and  &amp;lt;math&amp;gt;\ \tau_{xy}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ \tau_{xz}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ \tau_{yx}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ \tau_{yz}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ \tau_{zx}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\ \tau_{zy}&amp;lt;/math&amp;gt; are shear stresess.&lt;br /&gt;
==Virial pressure==&lt;br /&gt;
The &#039;&#039;&#039;virial pressure&#039;&#039;&#039;  is commonly used to obtain the [[pressure]] from a general simulation. It is particularly well suited to [[molecular dynamics]], since [[Newtons laws#Newton&#039;s second law of motion |forces]] are evaluated and readily available. For pair interactions, one has:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; p  =  \frac{ k_B T  N}{V} + \frac{ 1 }{ d V } \overline{ \sum_{i&amp;lt;j} {\mathbf f}_{ij}  {\mathbf r}_{ij} }, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is the pressure, &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the [[temperature]], &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; is the volume and &amp;lt;math&amp;gt;k_B&amp;lt;/math&amp;gt; is the [[Boltzmann constant]].&lt;br /&gt;
In this equation one can recognize an [[Equation of State: Ideal Gas |ideal gas]] contribution, and a second term due to the [[Virial theorem |virial]]. The overline is an average, which would be a time average in molecular dynamics, or an ensemble  average in [[Monte Carlo]]; &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; is the dimension of the system (3 in the &amp;quot;real&amp;quot; world). &amp;lt;math&amp;gt; {\mathbf f}_{ij} &amp;lt;/math&amp;gt; is the force &#039;&#039;&#039;on&#039;&#039;&#039; particle &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; exerted &#039;&#039;&#039;by&#039;&#039;&#039; particle &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{\mathbf r}_{ij}&amp;lt;/math&amp;gt; is the vector going &#039;&#039;&#039;from&#039;&#039;&#039; &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; &#039;&#039;&#039;to&#039;&#039;&#039; &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt;{\mathbf r}_{ij} = {\mathbf r}_j - {\mathbf r}_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This relationship is readily obtained by writing the [[partition function]] in &amp;quot;reduced coordinates&amp;quot;, i.e. &amp;lt;math&amp;gt;x^*=x/L&amp;lt;/math&amp;gt;, etc, then considering a &amp;quot;blow-up&amp;quot; of the system by changing the value of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. This would apply to a simple cubic system, but the same ideas can also be applied to obtain expressions for the [[stress | stress tensor]] and the [[surface tension]], and are also used in [[constant-pressure Monte Carlo]].&lt;br /&gt;
&lt;br /&gt;
If the interaction is central, the force is given by&lt;br /&gt;
:&amp;lt;math&amp;gt; {\mathbf f}_{ij} = - \frac{{\mathbf r}_{ij}}{ r_{ij}} f(r_{ij})  , &amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f(r)&amp;lt;/math&amp;gt; the force corresponding to the [[Intermolecular pair potential |intermolecular potential]] &amp;lt;math&amp;gt;\Phi(r)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;-\partial \Phi(r)/\partial r.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, for the [[Lennard-Jones model | Lennard-Jones potential]], &amp;lt;math&amp;gt;f(r)=24\epsilon(2(\sigma/r)^{12}- (\sigma/r)^6 )/r&amp;lt;/math&amp;gt;. Hence, the expression reduces to&lt;br /&gt;
:&amp;lt;math&amp;gt; p  =  \frac{ k_B T  N}{V} + \frac{ 1 }{ d V } \overline{ \sum_{i&amp;lt;j} f(r_{ij})  r_{ij} }. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that most [[Realistic models |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 purely repulsive potentials, such as [[hard sphere model | hard spheres]], are always positive.&lt;br /&gt;
&lt;br /&gt;
==Pressure equation==&lt;br /&gt;
For particles acting through two-body central forces alone one may use the [[Thermodynamic relations | thermodynamic relation]]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;p = -\left. \frac{\partial A}{\partial V}\right\vert_T &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this relation, along with the [[Helmholtz energy function]] and the [[partition function | canonical partition function]], one&lt;br /&gt;
arrives at the so-called &lt;br /&gt;
&#039;&#039;&#039;pressure equation&#039;&#039;&#039; (also known as the &#039;&#039;&#039;virial equation&#039;&#039;&#039;):&lt;br /&gt;
:&amp;lt;math&amp;gt;p^*=\frac{\beta p}{\rho}= \frac{pV}{Nk_BT} = 1 - \beta \frac{2}{3} \pi  \rho \int_0^{\infty} \left( \frac{{\rm d}\Phi(r)} {{\rm d}r}~r \right)~{\rm g}(r)r^2~{\rm d}r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta := 1/k_BT&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;\Phi(r)&amp;lt;/math&amp;gt; is a &#039;&#039;central&#039;&#039; [[Intermolecular pair potential | potential]] and &amp;lt;math&amp;gt;{\rm g}(r)&amp;lt;/math&amp;gt; is the [[pair distribution function]].&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Test volume method]]&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Related reading&#039;&#039;&#039;&lt;br /&gt;
*[http://dx.doi.org/10.1063/1.3245303 Aidan P. Thompson, Steven J. Plimpton, and William Mattson &amp;quot;General formulation of pressure and stress tensor for arbitrary many-body interaction potentials under periodic boundary conditions&amp;quot;, Journal of Chemical Physics &#039;&#039;&#039;131&#039;&#039;&#039; 154107 (2009)]&lt;br /&gt;
*[http://dx.doi.org/10.1063/1.3316134  G. C. Rossi and M. Testa &amp;quot;The stress tensor in thermodynamics and statistical mechanics&amp;quot;, Journal of Chemical Physics &#039;&#039;&#039;132&#039;&#039;&#039; 074902 (2010)]&lt;br /&gt;
*[http://dx.doi.org/10.1063/1.3582905 Nikhil Chandra Admal and E. B. Tadmor &amp;quot;Stress and heat flux for arbitrary multibody potentials: A unified framework&amp;quot;, Journal of Chemical Physics &#039;&#039;&#039;134&#039;&#039;&#039; 184106 (2011)]&lt;br /&gt;
*[http://dx.doi.org/10.1063/1.3626410 Takenobu Nakamura, Wataru Shinoda, and Tamio Ikeshoji &amp;quot;Novel numerical method for calculating the pressure tensor in spherical coordinates for molecular systems&amp;quot;, Journal of Chemical Physics &#039;&#039;&#039;135&#039;&#039;&#039; 094106 (2011)]&lt;br /&gt;
*[http://dx.doi.org/10.1063/1.3692733 Péter T. Kiss and András Baranyai &amp;quot;On the pressure calculation for polarizable models in computer simulation&amp;quot;, Journal of Chemical Physics &#039;&#039;&#039;136&#039;&#039;&#039; 104109 (2012)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category: statistical mechanics]]&lt;br /&gt;
[[category: classical thermodynamics]]&lt;br /&gt;
[[category: classical mechanics]]&lt;/div&gt;</summary>
		<author><name>Kevin.dale.parrish</name></author>
	</entry>
</feed>