A python implementation of a solver to the Ornstein–Zernike equation
In the integral theory of fluid 1, the Ornstein–Zernike equation 2 connects the radial distribution function with the direct correlation function through that
where
To solve this equation we need a closure relation. We can define a auxiliary quantity
and
- Percus-Yevick (PY) -
$b(r) = \log(1+\gamma(r))-\gamma(r)$ - HiperNetted Chain (HNC) -
$b(r) = 0$ - Mean-Spherical Approximation (MSA) -
On the folder 'examples' you can find different applications of the OZ solver.
Footnotes
-
Hansen, Jean-Pierre, and Ian Ranald McDonald. Theory of simple liquids: with applications to soft matter. Academic press, 2013. ↩
-
Ornstein, L.S.; Zernike, F. Accidental deviations of density and opalescence at the critical point of a single substance. Proceedings of the Royal Netherlands Academy of Arts and Sciences. 17 (1914): 793. ↩