This section contains some information about the Ornstein-Zernike equation and closure relations supported in pyOZ. It doesn’t, however, contain any derivation of the equation – such a discussion would be very much beyond the scope of this simple introduction.
Let’s first define two important correlation functions-total correlation function h() and pair correlation function g(). The pair correlation function shows us the probability of finding a particle of type j in a certain distance of the particle i divided by the probability of such an arrangement in the case where both i and j behave as an ideal gas. In other words, these functions show the influence of particle i on a particle j in a distance defined by the vector .
The relationship between h and g is very simple.
From definition, pair correlation function can be written as
The influence of particle i on particle j can be split into two contributions-direct, defined by direct correlation function c(), and indirect. The indirect influence can be described by a direct influence of particle i on particle n, which in turn directly and indirectly influences the particle j.
This arrangement is described by the Ornstein-Zernike equation
where the sum goes over all components present and ρ is the number density of a given component. This equation assumes that the origin is set at the position of the particle i. This is the reason why the infinitesimal volume element contains the combination in
Furthermore, the direct interaction of i with j is described using vector . The direct interaction with n then corresponds to vector , and iteraction between n and j to . Simple vector algebra then yields
And the Ornstein-Zernike equation can be written in the following form
The integral is exactly the definition of convolution, therefore,
This equation is extremely complicated to solve. However, as described in the theory of Fourier transformation, Fourier transformation of this function replaces the convolution by a product of Fourier transforms of individual functions.
‘Hat’-ed letters denote Fourier-transformed correlation functions. The equation in Fourier space is easier to solve (at least numerically).
To be really able to solve this problem, however, we need one more equation-the so called closure relation (recall that we have two unknowns-both correlation functions, but only one equation at the moment). There exists an (exact) general closure relation, that can be derived using the density functional theory of liquids and graph theory, and which reads (from now on we drop the vector notation and the subscripts, although they are still operational)
where β is the reciprocal of the Boltzmann factor kT, U(r) is the pair potential acting between the particles, Γ(r)= h(r)-c(r) is called the indirect correlation function (Gamma function), and b(r) is term arising from the graph theory (bridged graphs), which is not known exactly. The expressions for h(r) and c(r) follow:
For the closure relation, several approximations exist. In the Percus-Yewick (PY) and Hypernetted Chain (HNC) closures, the bridged graphs are neglected and some further simplifications are done.
After rearrangement, we obtain an expression for the pair correlation function
The PY closure (approximation) works well for noncharged systems. For the Lennard-Jones potential, it even provides analytical solution of the Ornstein-Zernike equation.
HNC closure performs better than PY (it’s closer to the exact general closure, after all), at least for charged systems.
It’s possible to obtain these expressions also in other way. Consider the following expression for the total correlation function
W(r) is the total interaction in terms of the potential of mean force (PMF) and U(r) is the pair potential. The second term, therefore, corresponds to the direct interaction between the particles. The exponential term with the PMF is indeed equal to the pair correlation function, therefore, for the PY closure
The HNC closure uses the Taylor expansion of the second exponential term
As can be seen, these expressions for both closures agree with those derived previously.