Percus–Yevick: mathematics and assumptions#
Percus–Yevick (PY) is a closure approximation for the correlations of a homogeneous, isotropic equilibrium hard-sphere mixture. It produces functions of separation and wavenumber rather than particle centres or a deposition history. See Analytical structure factors for the Python workflow, Metropolis Monte Carlo: mathematics and assumptions for explicit equilibrium sampling, and RSA Monte Carlo: mathematics and assumptions for irreversible deposition.
Physical inputs and correlation functions#
Species \(i\) has radius \(a_i>0\), number fraction \(x_i\), and number density \(\rho_i\), with \(\sum_i x_i=1\). A number fraction counts particles; a volume fraction weights their occupied volume. For total volume fraction \(\eta\),
Additive spheres have contact distance \(\sigma_{ij}=a_i+a_j\). Their potential is infinite below contact and zero outside. The equilibrium fluid assumptions exclude walls, directional order, attractions, and irreversible insertion. Mathematical validity of an input volume fraction does not establish a stable fluid phase at that density.
The partial pair correlation \(g_{ij}(r)\) gives the relative likelihood of finding a species \(j\) centre at separation \(r\) from species \(i\):
\(h\) is the total correlation: it includes both direct and indirect correlation through other particles. In a homogeneous fluid, \(g\) tends to one far away; the hard core requires \(g=0\) below contact.
Ornstein–Zernike equation and the PY postulate#
The direct correlation \(c_{ij}\) separates the direct part from chains mediated by other species. The mixture Ornstein–Zernike equation is
This relation alone contains two unknown functions. A closure supplies another relation; PY postulates
For hard spheres this is equivalent to
The first condition enforces impenetrability; the second is the approximation. The total correlation outside contact generally remains nonzero because the Ornstein–Zernike convolution propagates indirect correlations. A closure is not a deposition or particle-motion rule.
Fourier transforms and PackLab’s matrix normalization#
Wavenumber \(k\) has units of inverse length. For an isotropic function, PackLab’s three-dimensional radial transform convention is
Here \(\widetilde h\) has units of volume. PackLab returns the density-normalized, dimensionless matrices
The result field Cpy is \(C\), and H is \(H\), not the
unnormalized transform \(\widetilde h\). Multiplying the Fourier-space
Ornstein–Zernike equation by the density factors gives
\(I\) is the identity matrix and \(S\) is the corresponding partial
structure-factor matrix. It describes density fluctuations in reciprocal
space. H and Cpy have shape (species, species, wavenumber);
g and h use distance as their last axis. Form \(S\) from H
by adding the species identity at each wavenumber. An experimentally weighted
mixture scattering intensity also needs species amplitudes and their weights;
it is not simply every element of \(S\) summed together.
The inverse transform for positive-density species is
PackLab evaluates this numerically on a finite wavenumber grid. It explicitly
enforces the hard core in the reported g; h retains the numerical
inverse transform, so g = 1 + h can fail inside the core. For pairs
involving a zero-density species, the inverse transform sets h to zero
and g is zero inside contact and one outside; this convention does not
compute infinite-dilution tracer correlations.
Resolution, periodic terminology, and interpretation#
Use wavenumber="auto" for a first calculation. For a chosen real-space
resolution \(\delta r\) and largest requested distance \(r_{\max}\),
a useful grid design is
where \(m\) is the number of samples per oscillation of the inverse kernel (default 12). Increasing \(k_{\max}\) resolves sharper features; decreasing \(\Delta k\) resolves oscillations over longer distances. These are independent requirements. Finite cutoff causes ringing near the contact discontinuity; coarse spacing causes integration errors. Retain PackLab’s inadequate-sampling warning and test convergence by increasing the cutoff and refining the spacing separately. A smooth-looking curve alone is not an accuracy test. Compare distances away from contact as well as the contact region, where limits from either side differ.
Periodic images and minimum-image distances apply to the explicit simulation box (see RSA Monte Carlo: mathematics and assumptions). The PY solver assumes an infinite bulk mixture; its wavenumber grid is an integration grid, not a list of periodic box modes. It has no wrapped centres, winding numbers, or finite particle count. Match radii, densities, and normalization when comparing with Metropolis, and check equilibration and box size on the simulation side. RSA need not agree with PY because its deposition process is irreversible. Grid refinement reduces numerical error within PY; it does not remove the physical error of the closure approximation.
Further reading#
Percus and Yevick introduced the approximation in Analysis of Classical Statistical Mechanics by Means of Collective Coordinates (1958). For an example of mixture structure-factor normalization and scattering weights, see Measurable structure factors of dense dispersions containing polydisperse optically inhomogeneous particles (2024). The equations above specify the normalization used by PackLab.