m physical modeling / IICSM

CONNECTED PHYSICS / STATES OF MATTER

Liquid-state physics

Keep strong local correlations while releasing the assumption of permanent lattice sites. Thermodynamic structure and molecular motion now require distinct but related descriptions.

Subject library · 51 guides · derivations & worked examples

Matter pathway: atom → solid → liquid → gas → plasma. Quantum mechanics and quantum field theory provide foundations across the pathway; they are not additional phases. This is a connected modeling route, not a universal heating curve. Actual phases depend on pressure, composition, and kinetics.

Follow the lesson from pair counts → scattering and comparison plots → OZ and numerical closures → pressure and energy → a complete hard-sphere example → transport and the gas limit. Each calculation defines its inputs and assumptions. Nine worked examples use illustrative values, not measured material data.

1. Definitions: g(r) counts neighbors; h(r) measures the excess

Definitions & inputs. N is particle count, V volume, n=N/V number density (m⁻³), r a separation (m), and k a wavevector magnitude (m⁻¹). g(r), h(r), c(r), and S(k) are dimensionless. Their three-dimensional Fourier transforms have units of volume. Here g(r) is a pair distribution, not Gibbs energy; h(r) is a total correlation, not enthalpy or Planck’s constant.

  1. The two-particle density n^(2) counts distinct-particle pairs per product of volume elements. Divide by n² to define the radial pair distribution.

    n(2)(r1,r2)=n2g(r),r=∣r1−r2∣n^{(2)}(\mathbf r_1,\mathbf r_2)=n^2g(r),\qquad r=|\mathbf r_1-\mathbf r_2|
  2. Conditional on one tagged particle, dz is the mean number of other particles in a shell. g alone is neither a shell count nor a probability density normalized to one.

    dz=4πnr2g(r) drdz=4\pi n r^2g(r)\,dr
  3. Subtract the uncorrelated baseline g=1. Positive h indicates an excess of neighbors at that separation; negative h indicates depletion.

    h(r)=g(r)−1,dz−dzuncorrelated=4πnr2h(r) drh(r)=g(r)-1,\qquad dz-dz_{\mathrm{uncorrelated}}=4\pi nr^2h(r)\,dr
  4. Examples: a peak need not be bounded by one; an excluded hard core has g=0. Since g is nonnegative, h cannot be smaller than −1.

    g=2.5⇒h=1.5,g=0.2⇒h=−0.8,g=0⇒h=−1g=2.5\Rightarrow h=1.5,\qquad g=0.2\Rightarrow h=-0.8,\qquad g=0\Rightarrow h=-1

Interpretation. For a uniform ordinary fluid far from criticality, g tends to one and h tends to zero at large separation. The coordination number is an integral of g over a chosen shell, not the peak height.

↑ Return to definitions and contents

2. Worked example: count a shell of neighbors

Definitions & inputs. Take n=0.05 Å⁻³ and approximate g(r)=2 throughout the shell 2 Å≤r≤3 Å. z is the mean neighbor count, not an integer for every configuration.

  1. Start with the conditional shell count and integrate over the shell.

    z=4πn∫r1r2r2g(r) drz=4\pi n\int_{r_1}^{r_2}r^2g(r)\,dr
  2. The ų from the integral cancels Å⁻³ from density.

    z=4π(0.05)(2)[r33]23=0.4π3(27−8)=7.95870z=4\pi(0.05)(2)\left[\frac{r^3}{3}\right]_2^3=\frac{0.4\pi}{3}(27-8)=7.95870
  3. With h=1 in the shell, the excess count equals the uncorrelated baseline.

    zg=1=3.97935,Δz=4πn∫23r2h(r) dr=3.97935z_{g=1}=3.97935,\qquad\Delta z=4\pi n\int_2^3r^2h(r)\,dr=3.97935

Interpretation. A peak height of two means twice the local density; here the finite shell contains about eight neighbors on average.

↑ Return to definitions and contents

3. Derive S(k): real-space correlations become density fluctuations

Definitions & inputs. ρk=Σj exp(−ik·rj) is a microscopic number-density mode, not mass density. δρk=ρk−⟨ρk⟩ removes the mean. Angular brackets denote an ensemble average. S(k) is the static number-number structure factor.

  1. Define the nonnegative fluctuation power per particle. For nonzero k in a uniform bulk fluid, the mean Fourier mode vanishes.

    S(k)=⟨δρkδρ−k⟩⟨N⟩,ρk=∑je−ik⋅rjS(k)=\frac{\langle\delta\rho_{\mathbf k}\delta\rho_{-\mathbf k}\rangle}{\langle N\rangle},\qquad\rho_{\mathbf k}=\sum_j e^{-i\mathbf k\cdot\mathbf r_j}
  2. Expand the double particle sum. Terms with the same particle give the self contribution 1; distinct-particle excess correlations give n times the transform of h.

    S(k)=1+nh^(k),h^(k)=∫h(r)e−ik⋅r d3rS(k)=1+n\widehat h(k),\qquad\widehat h(\mathbf k)=\int h(r)e^{-i\mathbf k\cdot\mathbf r}\,d^3r
  3. Choose the polar axis parallel to k and substitute μ=cos θ. Here μ is only an angular integration variable, not the chemical potential used later. This step explains the spherical transform kernel.

    ∫e−ikrcos⁡θdΩ=2π∫−11e−ikrμdμ=4πsin⁡(kr)kr\int e^{-ikr\cos\theta}d\Omega=2\pi\int_{-1}^{1}e^{-ikr\mu}d\mu=4\pi\frac{\sin(kr)}{kr}
  4. Perform the angular integral for an isotropic fluid. The factor sin(kr)/(kr) weights different separations with alternating signs; S is not simply g with its axis relabeled.

    S(k)=1+4πn∫0∞h(r)sin⁡(kr)krr2 drS(k)=1+4\pi n\int_0^\infty h(r)\frac{\sin(kr)}{kr}r^2\,dr
  5. This inverse uses the stated Fourier convention, with (2π)⁻³ in the inverse three-dimensional transform. Finite measured k ranges introduce resolution and truncation errors.

    h(r)=12π2n∫0∞[S(k)−1]sin⁡(kr)krk2 dkh(r)=\frac{1}{2\pi^2n}\int_0^\infty[S(k)-1]\frac{\sin(kr)}{kr}k^2\,dk
  6. Take the long-wavelength limit, using sin(kr)/(kr)→1 when the correlation integral converges. It probes large-scale density fluctuations, not just the first shell.

    S(0+)=1+4πn∫0∞h(r)r2 drS(0^+)=1+4\pi n\int_0^\infty h(r)r^2\,dr

Interpretation. In a fixed-N simulation, the exactly zero connected mode is zero because N cannot fluctuate. Compressibility uses the bulk k→0 limit, not that finite-box k=0 bin. For integrable h, S(k) approaches one at large k. A peak in S identifies a prominent correlation length, not a phase or pressure by itself.

↑ Return to definitions and contents

4. Compare gas, liquid, and solid structure

The same colors identify each reference model in all three plots. σ is a reference length: the liquid hard-sphere diameter and the solid nearest-neighbor lattice spacing. All functions are dimensionless; S(k) uses a logarithmic vertical axis so both low-k suppression and sharp peaks remain visible.

Gas has g=1. The liquid has an excluded core and a damped sequence of neighbor shells. The crystal retains a series of sharper lattice-shell peaks. Labeled axes compare ideal gas, hard-sphere liquid, and Gaussian FCC solid.
Gas has g=1. The liquid has an excluded core and a damped sequence of neighbor shells. The crystal retains a series of sharper lattice-shell peaks. Full-size plot ↗ · Download SVG
Subtract one from each g(r) curve. Positive regions mean excess pair density; negative regions mean depletion. The ideal-gas curve is zero. Labeled axes compare ideal gas, hard-sphere liquid, and Gaussian FCC solid.
Subtract one from each g(r) curve. Positive regions mean excess pair density; negative regions mean depletion. The ideal-gas curve is zero. Full-size plot ↗ · Download SVG
Gas has S=1. The liquid has a broad diffraction maximum. The crystal has narrow, resolution-broadened Bragg peaks above diffuse scattering; the forward k=0 beam is omitted. Labeled axes compare ideal gas, hard-sphere liquid, and Gaussian FCC solid.
Gas has S=1. The liquid has a broad diffraction maximum. The crystal has narrow, resolution-broadened Bragg peaks above diffuse scattering; the forward k=0 beam is omitted. Full-size plot ↗ · Download SVG
Models, parameters, and how the curves were calculated
  • Gas: ideal uncorrelated classical particles: g(r)=1, h(r)=0, S(k)=1 at nonzero wavevector.
  • Liquid: three-dimensional monodisperse hard spheres at packing fraction φ=0.40, nσ³=6φ/π≈0.76394. The Percus–Yevick direct-correlation polynomial is Fourier-transformed, then S=1/(1−nĉ). The radial inverse of S−1 gives h outside the core. g=0 for r<σ and the exact PY right-contact value g(σ+)=3.33333 are imposed at the discontinuity. Inversion uses kmaxσ=400 and Δkσ=0.05; small truncation oscillations remain near contact.
  • Solid: an FCC point lattice with independent isotropic Gaussian displacements of standard deviation 0.045σ per Cartesian coordinate; nσ³=√2. Radial g is the powder average of Gaussian relative-displacement distributions summed over lattice neighbors. h is exactly g−1. This harmonic reference allows arbitrarily close pairs with extremely small probability; it is not a hard-sphere solid.
  • Crystal S(k): diffuse scattering 1−exp(−k²s²), plus FCC reciprocal-lattice Bragg shells weighted by exp(−G²s²). Each radial delta peak is replaced by an area-normalized Gaussian of width 0.12 in kσ for display. The intensity includes elastic Bragg scattering; the uniform forward peak at k=0 is excluded. It is not the connected fluctuation spectrum about a fixed periodic mean density.

The curves use different densities and statistical models. They illustrate order, not a single material at one temperature or a simulated phase-change trajectory. The solid is powder-averaged; a single crystal has direction-dependent diffraction. Do not apply the homogeneous-liquid compressibility formula to the displayed crystal Bragg spectrum, or infer pressure from a peak height. The display-broadened crystal S is not an exact inverse transform of the unsmoothed radial g shown here.

SasView: PY hard-sphere reference ↗ · LAMMPS: crystalline diffraction definitions ↗

Reproducible plot data: g(r) and h(r) CSV · S(k) CSV · All data and parameters (JSON)

5. Separate total, direct, and indirect correlations

Definitions & inputs. c(r) is the direct correlation defined through Ornstein-Zernike (OZ). γ(r)=h(r)−c(r) is the indirect correlation. Thus h is total, c direct, and γ indirect. β=1/(kBT); u(r) is a pair interaction energy, not a displacement or flow velocity.

  1. OZ separates a direct part from a convolution representing correlations mediated through other particles. c is not generally equal to the force or pair potential.

    h(r)=c(r)+n∫c(∣r−r′∣)h(r′) d3r′h(r)=c(r)+n\int c(|\mathbf r-\mathbf r^{\prime}|)h(r^{\prime})\,d^3r^{\prime}
  2. A Fourier transform converts the convolution into multiplication. Rearrange to solve algebraically for the total correlation transform.

    h^=c^+nc^h^⇒h^=c^1−nc^\widehat h=\widehat c+n\widehat c\widehat h\quad\Rightarrow\quad\widehat h=\frac{\widehat c}{1-n\widehat c}
  3. Move the indirect term to the left and factor out h-hat. To obtain S, put the self contribution one over the same denominator; the two terms containing n c-hat in the numerator cancel.

    (1−nc^)h^=c^,1+nh^=1−nc^+nc^1−nc^(1-n\widehat c)\widehat h=\widehat c,\qquad 1+n\widehat h=\frac{1-n\widehat c+n\widehat c}{1-n\widehat c}
  4. Substitute into the structure-factor identity. The number-density factor is required for dimensional consistency.

    S(k)=1+nh^(k)=11−nc^(k)S(k)=1+n\widehat h(k)=\frac{1}{1-n\widehat c(k)}
  5. HNC and PY close OZ differently. They are approximations to many-particle structure, not interchangeable definitions of g.

    γ=h−c,gHNC=e−βu+γ,gPY=e−βu(1+γ)\gamma=h-c,\qquad g_{\mathrm{HNC}}=e^{-\beta u+\gamma},\qquad g_{\mathrm{PY}}=e^{-\beta u}(1+\gamma)

Interpretation. The often useful approximation c≈−βu is a further closure in restricted regimes; it is not the definition of direct correlation. An approximate closure may predict different pressures through different thermodynamic routes.

↑ Return to definitions and contents

6. Close OZ and solve it numerically

Definitions & inputs. γ=h−c is the indirect correlation; b(r)=exp[−βu(r)] is the Boltzmann factor; Bbr is the bridge function collecting correlations omitted by HNC. Superscript m labels an iteration, α is a mixing parameter, and ε is a residual tolerance.

  1. The exact formal closure introduces an unknown bridge function. HNC neglects it; OZ alone has two unknown functions and is not closed.

    g=e−βu+γ+Bbr,Bbr=0 ⇒ gHNC=beγg=e^{-\beta u+\gamma+B_{\rm br}},\qquad B_{\rm br}=0\ \Rightarrow\ g_{\rm HNC}=b e^\gamma
  2. PY uses a different approximation. Replacing e^γ by 1+γ in HNC is a useful algebraic comparison, not an exact derivation of PY at arbitrary density; the full Boltzmann factor is retained.

    gPY=b(1+γ),cPY=(b−1)(1+γ)g_{\rm PY}=b(1+\gamma),\qquad c_{\rm PY}=(b-1)(1+\gamma)
  3. Specify u,n,T, choose a radial grid and cutoff, then compute c from the current γ. Begin at low density if necessary.

    γ(0)=0;cHNC(m)=beγ(m)−1−γ(m),cPY(m)=(b−1)(1+γ(m))\gamma^{(0)}=0;\quad c^{(m)}_{\rm HNC}=b e^{\gamma^{(m)}}-1-\gamma^{(m)},\quad c^{(m)}_{\rm PY}=(b-1)(1+\gamma^{(m)})
  4. Apply the spherical Fourier transform and use γ-hat=h-hat−c-hat. An ordinary one-dimensional FFT of c is not this transform.

    c^(k)=4π∫0∞c(r)sin⁡krkrr2dr,γ^trial(k)=nc^(k)21−nc^(k)\widehat c(k)=4\pi\int_0^\infty c(r)\frac{\sin kr}{kr}r^2dr,\qquad \widehat\gamma_{\rm trial}(k)=\frac{n\widehat c(k)^2}{1-n\widehat c(k)}
  5. Invert with the matching normalization. Treat r=0 and k=0 with their analytic sinc limits.

    γtrial(r)=12π2∫0∞γ^trial(k)sin⁡krkrk2dk\gamma_{\rm trial}(r)=\frac1{2\pi^2}\int_0^\infty\widehat\gamma_{\rm trial}(k)\frac{\sin kr}{kr}k^2dk
  6. Check the unmixed residual Rm, then damp the update, for example α=0.1. Stop only after the residual is below the chosen tolerance; small damping alone must not falsely signal convergence.

    Rm=max⁡r∣γtrial−γ(m)∣,γ(m+1)=(1−α)γ(m)+αγtrial,0<α≤1R_m=\max_r|\gamma_{\rm trial}-\gamma^{(m)}|,\quad\gamma^{(m+1)}=(1-\alpha)\gamma^{(m)}+\alpha\gamma_{\rm trial},\quad0<\alpha\leq1
  7. For a hard core, enforce the last identities directly and avoid log(g). Check g≥0 and S≥0, refine the mesh and cutoff, and compare pressure routes.

    g=1+c+γ,S=(1−nc^)−1;r<σ: b=0, g=0, c=−1−γg=1+c+\gamma,\quad S=(1-n\widehat c)^{-1};\qquad r<\sigma:\ b=0,\ g=0,\ c=-1-\gamma

Interpretation. Repeat closure → transform → OZ → inverse transform → mixing. Use density continuation or a more robust nonlinear solver if the iteration fails. This is an algorithm lesson, not a claim that a full liquid solver runs in this page.

↑ Return to definitions and contents

7. Worked example: one local closure and mixing step

Definitions & inputs. At one radial grid point outside a core, let βu=0.5, γ=0.2. For a separate iteration illustration let γtrial=0.35 and α=0.1.

  1. Compute the Boltzmann factor and the HNC pair value.

    b=e−0.5=0.606531,gHNC=e−0.5+0.2=0.740818b=e^{-0.5}=0.606531,\qquad g_{\rm HNC}=e^{-0.5+0.2}=0.740818
  2. Subtract the uncorrelated baseline and indirect correlation.

    cHNC=g−1−γ=0.740818−1−0.2=−0.459182c_{\rm HNC}=g-1-\gamma=0.740818-1-0.2=-0.459182
  3. Use the same potential and indirect correlation to compare PY with HNC.

    gPY=0.606531(1.2)=0.727837,cPY=0.727837−1.2=−0.472163g_{\rm PY}=0.606531(1.2)=0.727837,\quad c_{\rm PY}=0.727837-1.2=-0.472163
  4. Damping changes the iterate by only 0.015, but the unmixed local residual is ten times larger.

    Rlocal=∣0.35−0.20∣=0.15,γnext=0.9(0.20)+0.1(0.35)=0.215R_{\rm local}=|0.35-0.20|=0.15,\qquad\gamma_{\rm next}=0.9(0.20)+0.1(0.35)=0.215

Interpretation. The closures agree to first order in small γ, but differ at finite γ. A small update caused by damping is not evidence of a small equation residual.

↑ Return to definitions and contents

8. Pressure route A: weight g(r) by the pair force

Definitions & inputs. p is pressure (Pa); u′(r)=du/dr; the central pair force is −u′(r) r-hat. Z=p/(nkBT) is the compressibility factor, distinct from both a partition function and the structure factor S(k).

  1. The mechanical virial adds the interaction contribution to the kinetic ideal-gas pressure.

    pV=NkBT+13⟨∑i<jrij⋅Fij⟩pV=Nk_{\mathrm B}T+\frac13\left\langle\sum_{i<j}\mathbf r_{ij}\cdot\mathbf F_{ij}\right\rangle
  2. For a central force, reduce the vector dot product to a radial derivative.

    rij⋅Fij=−riju′(rij)\mathbf r_{ij}\cdot\mathbf F_{ij}=-r_{ij}u^{\prime}(r_{ij})
  3. Use pair statistics to replace the distinct unordered-pair sum. The factor one half avoids counting each pair twice.

    1V⟨∑i<jA(rij)⟩=n22∫A(r)g(r) d3r\frac1V\left\langle\sum_{i<j}A(r_{ij})\right\rangle=\frac{n^2}{2}\int A(r)g(r)\,d^3r
  4. Insert A=−ru′ and the spherical volume element 4πr²dr. This is the virial pressure route.

    p=nkBT−2πn23∫0∞r3u′(r)g(r) drp=nk_{\mathrm B}T-\frac{2\pi n^2}{3}\int_0^\infty r^3u^{\prime}(r)g(r)\,dr
  5. Express the same result in terms of excess correlations. Simply knowing a peak in g or h is insufficient: pressure depends on the force-weighted integral over all separations.

    g=1+h⇒p=nkBT−2πn23∫0∞r3u′(r)[1+h(r)] drg=1+h\quad\Rightarrow\quad p=nk_{\mathrm B}T-\frac{2\pi n^2}{3}\int_0^\infty r^3u^{\prime}(r)[1+h(r)]\,dr

Interpretation. Where u′<0, a repulsive pair-force contribution raises pressure; where u′>0, an attractive contribution lowers it. The sum determines the result. Hard spheres have a discontinuous potential and must use a contact relation instead of ordinary differentiation.

↑ Return to definitions and contents

9. Pressure route B: use S(0) to obtain the isothermal slope

Definitions & inputs. κT=−(1/V)(∂V/∂p)T,N is isothermal compressibility (Pa⁻¹), measuring how readily density changes under pressure. KT=1/κT is the bulk modulus. S(0+) is the bulk long-wavelength limit, and μ is chemical potential per particle.

  1. Differentiate grand-canonical averages with respect to chemical potential: the number response is proportional to the number variance.

    ⟨(ΔN)2⟩=kBT(∂⟨N⟩∂μ)T,V\langle(\Delta N)^2\rangle=k_{\mathrm B}T\left(\frac{\partial\langle N\rangle}{\partial\mu}\right)_{T,V}
  2. Use Gibbs-Duhem at fixed temperature and the definition of compressibility.

    dp=n dμ(T fixed),(∂n∂p)T=nκTdp=n\,d\mu\quad(T\ \mathrm{fixed}),\qquad\left(\frac{\partial n}{\partial p}\right)_T=n\kappa_T
  3. Combine the two responses. Smaller S(0+) means weaker long-wavelength fluctuations and a larger bulk modulus at the same n,T.

    S(0+)=⟨(ΔN)2⟩⟨N⟩=nkBTκTS(0^+)=\frac{\langle(\Delta N)^2\rangle}{\langle N\rangle}=nk_{\mathrm B}T\kappa_T
  4. Invert the density response. S at one state gives a pressure derivative, not an absolute pressure.

    (∂p∂n)T=kBTS(0+;n,T)\left(\frac{\partial p}{\partial n}\right)_T=\frac{k_{\mathrm B}T}{S(0^+;n,T)}
  5. Integrate along a specified single-phase isotherm and supply a reference pressure. Integrating from vacuum with p(0)=0 is only justified if the required branch is valid and connected.

    p(n,T)=p(nref,T)+kBT∫nrefndn′S(0+;n′,T)p(n,T)=p(n_{\mathrm{ref}},T)+k_{\mathrm B}T\int_{n_{\mathrm{ref}}}^{n}\frac{dn^{\prime}}{S(0^+;n^{\prime},T)}
  6. Differentiate p=nkBT Z. In general S(0+) is NOT 1/Z; the density dependence of Z supplies an extra term.

    1S(0+)=Z+n(∂Z∂n)T\frac1{S(0^+)}=Z+n\left(\frac{\partial Z}{\partial n}\right)_T

Interpretation. Exact equilibrium correlations and consistent interactions give agreement between pressure routes. Approximate PY/HNC closures may be thermodynamically inconsistent. Finite-size effects, correlation tails, and noisy low-k data can strongly affect compressibility estimates.

↑ Return to definitions and contents

10. Worked example: scattering to compressibility and bulk modulus

Definitions & inputs. Use n=2.5×10²⁸ m⁻³, T=300 K, S(0+)=0.050, and kB=1.380649×10⁻²³ J K⁻¹. KT is the isothermal bulk modulus.

  1. Calculate the ideal pressure scale; joules per cubic metre are pascals.

    nkBT=(2.5×1028)(1.380649×10−23)(300)=1.03548675×108 Pank_{\rm B}T=(2.5\times10^{28})(1.380649\times10^{-23})(300)=1.03548675\times10^8\ {\rm Pa}
  2. Divide the dimensionless fluctuation level by the pressure scale.

    κT=S(0+)nkBT=4.82865×10−10 Pa−1\kappa_T=\frac{S(0^+)}{nk_{\rm B}T}=4.82865\times10^{-10}\ {\rm Pa}^{-1}
  3. Invert the compressibility to obtain the bulk modulus.

    KT=κT−1=2.0709735×109 Pa=2.07097 GPaK_T=\kappa_T^{-1}=2.0709735\times10^9\ {\rm Pa}=2.07097\ {\rm GPa}
  4. A small isothermal pressure increase of 1 MPa produces approximately a 0.0483% density increase if κ is locally constant.

    Δnn≃κTΔp=(4.82865×10−10)(106)=4.82865×10−4\frac{\Delta n}{n}\simeq\kappa_T\Delta p=(4.82865\times10^{-10})(10^6)=4.82865\times10^{-4}

Interpretation. These inputs determine a local stiffness, not an absolute pressure. Recovering p requires an isothermal density path and reference pressure.

↑ Return to definitions and contents

11. Energy route: pair counting and the missing free-energy reference

Definitions & inputs. E is total internal energy, Uex the mean pair interaction energy, Fex the excess Helmholtz free energy, and fex=Fex/N. u is a temperature-independent pair energy.

  1. Equipartition gives the kinetic contribution; unordered pairs contribute interaction energy.

    EN=32kBT+1N⟨∑i<ju(rij)⟩\frac{E}{N}=\frac32k_{\rm B}T+\frac1N\left\langle\sum_{i<j}u(r_{ij})\right\rangle
  2. Replace the pair sum by its pair-density integral; the one-half removes double counting.

    UexN=n2∫u(r)g(r)d3r=2πn∫0∞u(r)g(r)r2dr\frac{U_{\rm ex}}N=\frac n2\int u(r)g(r)d^3r=2\pi n\int_0^\infty u(r)g(r)r^2dr
  3. Integrate energy at fixed density to obtain free energy only after supplying a consistent reference.

    (∂(βfex)∂β)n=UexN,βfex(β,n)=β0fex(β0,n)+∫β0βUex(β′,n)Ndβ′\left(\frac{\partial(\beta f_{\rm ex})}{\partial\beta}\right)_n=\frac{U_{\rm ex}}N,\quad \beta f_{\rm ex}(\beta,n)=\beta_0 f_{\rm ex}(\beta_0,n)+\int_{\beta_0}^{\beta}\frac{U_{\rm ex}(\beta^\prime,n)}N d\beta^\prime
  4. Differentiate free energy with respect to density to obtain pressure. An energy at a single state is insufficient.

    p=nkBT+n2(∂fex∂n)Tp=nk_{\rm B}T+n^2\left(\frac{\partial f_{\rm ex}}{\partial n}\right)_T
  5. Allowed hard-sphere configurations have zero potential energy; overlapping configurations are forbidden. Do not assign a value to infinity times zero. The excess free energy is entropic and still density-dependent.

    Hard spheres:Uex=0,E/N=32kBT,p≠nkBT  (n>0)\text{Hard spheres:}\quad U_{\rm ex}=0,\quad E/N=\tfrac32 k_{\rm B}T,\quad p\ne nk_{\rm B}T\ \ (n>0)

Interpretation. A hard-sphere energy alone cannot recover its nonideal pressure: the density-dependent entropic reference is essential.

↑ Return to definitions and contents

12. Worked example: attractive-shell interaction energy

Definitions & inputs. A hard core has diameter σ; outside it u=−ε for σ<r<λσ and zero beyond λσ. Approximate g=g0 in this attractive shell. Choose nσ³=0.1, λ=1.5, g0=1, ε=kBT.

  1. Only the allowed attractive shell contributes potential energy.

    UexN=2πn∫σλσ(−ϵ)g0r2dr\frac{U_{\rm ex}}N=2\pi n\int_\sigma^{\lambda\sigma}(-\epsilon)g_0r^2dr
  2. Integrate r² to r³/3; dividing by ε makes the result dimensionless.

    UexNϵ=−2π3(nσ3)g0(λ3−1)\frac{U_{\rm ex}}{N\epsilon}=-\frac{2\pi}{3}(n\sigma^3)g_0(\lambda^3-1)
  3. Insert the specified reduced density and well width.

    UexNϵ=−2π3(0.1)(3.375−1)=−0.497419\frac{U_{\rm ex}}{N\epsilon}=-\frac{2\pi}{3}(0.1)(3.375-1)=-0.497419
  4. Add translational kinetic energy, using ε=kBT at the stated temperature.

    ENkBT=32−0.497419=1.002581\frac E{Nk_{\rm B}T}=\frac32-0.497419=1.002581

Interpretation. Attraction lowers energy. This single-state estimate does not supply the temperature dependence or reference needed to derive an equation of state.

↑ Return to definitions and contents

13. Hard spheres: derive the two PY pressures and Carnahan–Starling

Definitions & inputs. σ is sphere diameter; φ=πnσ³/6 is packing fraction; g(σ+) is the right-hand contact value. Zv and Zc denote virial and compressibility-route p/(nkBT). y=g/exp(−βu) is the cavity function defined by a smooth-core limit.

  1. Take the steep repulsion limit in the Boltzmann factor. This avoids differentiating an infinite potential or multiplying infinity by zero.

    b=e−βu→Θ(r−σ),u′g=−kBT y b′,b′→δ(r−σ)b=e^{-\beta u}\to\Theta(r-\sigma),\quad u^\prime g=-k_{\rm B}T\,y\,b^\prime,\quad b^\prime\to\delta(r-\sigma)
  2. Insert the delta-function limit into the virial integral. The cavity function at contact equals the exterior g.

    p=nkBT+2πn2kBT3σ3g(σ+),Zv=1+4ϕg(σ+)p=nk_{\rm B}T+\frac{2\pi n^2k_{\rm B}T}{3}\sigma^3g(\sigma^+),\quad Z_v=1+4\phi g(\sigma^+)
  3. Use the analytic PY contact value. Multiplying the numerator by 1−φ leaves a −3φ³ term; dropping it incorrectly makes the two routes identical.

    gPY(σ+)=1+ϕ/2(1−ϕ)2,Zv=1+2ϕ+3ϕ2(1−ϕ)2=1+ϕ+ϕ2−3ϕ3(1−ϕ)3g_{\rm PY}(\sigma^+)=\frac{1+\phi/2}{(1-\phi)^2},\quad Z_v=\frac{1+2\phi+3\phi^2}{(1-\phi)^2}=\frac{1+\phi+\phi^2-3\phi^3}{(1-\phi)^3}
  4. The analytic PY hard-sphere solution has a core polynomial. The zero outside the core is specific to this closure, not a general property of c.

    c(x)=−a+bx−dx3 (0≤x<1),c(x)=0 (x>1),x=r/σc(x)=-a+bx-dx^3\ (0\leq x<1),\quad c(x)=0\ (x>1),\quad x=r/\sigma
  5. These coefficients and the contact value are inputs from the analytic PY solution; the full solution of that integral equation is not derived here.

    a=(1+2ϕ)2(1−ϕ)4,b=6ϕ(1+ϕ/2)2(1−ϕ)4,d=ϕ(1+2ϕ)22(1−ϕ)4a=\frac{(1+2\phi)^2}{(1-\phi)^4},\quad b=\frac{6\phi(1+\phi/2)^2}{(1-\phi)^4},\quad d=\frac{\phi(1+2\phi)^2}{2(1-\phi)^4}
  6. Integrate the polynomial with the radial volume element x²dx, then use the OZ structure-factor relation.

    nc^(0)=24ϕ(−a3+b4−d6),1SPY(0)=1−nc^(0)=(1+2ϕ)2(1−ϕ)4n\widehat c(0)=24\phi\left(-\frac a3+\frac b4-\frac d6\right),\quad \frac1{S_{\rm PY}(0)}=1-n\widehat c(0)=\frac{(1+2\phi)^2}{(1-\phi)^4}
  7. Convert the isothermal density integration to packing fraction; diameter and temperature stay fixed, with the dilute reference p→0.

    d(ϕZc)dϕ=1SPY(0),ϕZc=∫0ϕ(1+2t)2(1−t)4dt\frac{d(\phi Z_c)}{d\phi}=\frac1{S_{\rm PY}(0)},\quad \phi Z_c=\int_0^\phi\frac{(1+2t)^2}{(1-t)^4}dt
  8. Evaluate the antiderivative and subtract its lower-limit value, one. Division by φ gives Zc, with its dilute value defined by the limit.

    ϕZc=[3(1−t)3−6(1−t)2+41−t]0ϕ=ϕ(1+ϕ+ϕ2)(1−ϕ)3\phi Z_c=\left[\frac3{(1-t)^3}-\frac6{(1-t)^2}+\frac4{1-t}\right]_0^\phi=\frac{\phi(1+\phi+\phi^2)}{(1-\phi)^3}
  9. Two-thirds compressibility plus one-third virial gives Carnahan–Starling. This interpolation is an accurate approximation, not proof that PY routes agree or that CS is exact.

    Zc=1+ϕ+ϕ2(1−ϕ)3,ZCS=13Zv+23Zc=1+ϕ+ϕ2−ϕ3(1−ϕ)3Z_c=\frac{1+\phi+\phi^2}{(1-\phi)^3},\quad Z_{\rm CS}=\frac13 Z_v+\frac23 Z_c=\frac{1+\phi+\phi^2-\phi^3}{(1-\phi)^3}

Interpretation. PY route disagreement diagnoses approximate thermodynamics. The displayed hard-sphere comparison plots use PY structure; substituting a CS pressure does not make that structure thermodynamically consistent with CS.

↑ Return to definitions and contents

14. Worked example: compare the routes at packing fraction 0.20

Definitions & inputs. Use φ=0.20; all Z values are dimensionless. S(0) below is the PY compressibility result; it is not the reciprocal of any of the listed pressures.

  1. Compute PY contact and its mechanical pressure.

    gPY(σ+)=1.1/0.82=1.71875,Zv=1+4(0.2)(1.71875)=2.375g_{\rm PY}(\sigma^+)=1.1/0.8^2=1.71875,\quad Z_v=1+4(0.2)(1.71875)=2.375
  2. The inverse S is the reduced pressure slope, not the pressure factor.

    SPY(0)=0.841.42=0.2089796,1SPY(0)=4.78515625S_{\rm PY}(0)=\frac{0.8^4}{1.4^2}=0.2089796,\quad \frac1{S_{\rm PY}(0)}=4.78515625
  3. Use the integrated compressibility equation, which exceeds the virial result.

    Zc=1+0.2+0.040.83=2.421875Z_c=\frac{1+0.2+0.04}{0.8^3}=2.421875
  4. Combine the routes with the stated weights.

    ZCS=13(2.375)+23(2.421875)=2.40625Z_{\rm CS}=\tfrac13(2.375)+\tfrac23(2.421875)=2.40625
  5. A contact value inferred from CS is different from the PY contact value. Keep the approximation labels attached.

    gCS(σ+)=ZCS−14ϕ=1.7578125≠gPY(σ+)g_{\rm CS}(\sigma^+)=\frac{Z_{\rm CS}-1}{4\phi}=1.7578125\ne g_{\rm PY}(\sigma^+)

Interpretation. The two PY pressures differ by 0.046875 in Z. CS lies between them; the difference cannot be removed by algebraic simplification.

↑ Return to definitions and contents

15. Worked examples and consistency checks

Definitions & inputs. All examples are illustrative idealizations. In example B, B is a positive constant volume at fixed T, not a magnetic field; n is number density. In example C, σ is hard-sphere diameter and φ=πnσ³/6 is packing fraction. In example D, ℓ is a positive correlation length.

  1. With no interactions, positions are uncorrelated in the bulk and there is no excess pair correlation.

    A:u=0,g=1,h=0,S(k)=1\text{A:}\quad u=0,\quad g=1,\quad h=0,\quad S(k)=1
  2. The force integral vanishes, and integrating the compressibility route gives the identical ideal-gas pressure.

    pvirial=nkBT,κT=(nkBT)−1,pcompressibility=kBT∫0ndn′=nkBTp_{\mathrm{virial}}=nk_{\mathrm B}T,\quad\kappa_T=(nk_{\mathrm B}T)^{-1},\quad p_{\mathrm{compressibility}}=k_{\mathrm B}T\int_0^n dn^{\prime}=nk_{\mathrm B}T
  3. Insert the assumed long-wavelength structure-factor law into the isothermal pressure derivative.

    B:S(0+;n)=11+2Bn⇒∂p∂n=kBT(1+2Bn)\text{B:}\quad S(0^+;n)=\frac1{1+2Bn}\quad\Rightarrow\quad\frac{\partial p}{\partial n}=k_{\mathrm B}T(1+2Bn)
  4. Integrate explicitly using p(0)=0. This is an assumed density law, not a closure-derived universal liquid EOS.

    p=kBT∫0n(1+2Bn′) dn′=kBT(n+Bn2),Z=1+Bnp=k_{\mathrm B}T\int_0^n(1+2Bn^{\prime})\,dn^{\prime}=k_{\mathrm B}T(n+Bn^2),\quad Z=1+Bn
  5. The numerical values demonstrate why a structure factor is not an inverse compressibility factor.

    Bn=0.2:Z=1.2,S(0+)=1/1.4≃0.714286,1/Z≃0.833333Bn=0.2:\quad Z=1.2,\quad S(0^+)=1/1.4\simeq0.714286,\quad1/Z\simeq0.833333
  6. For hard spheres, use the contact limit of the virial route. The second expression is the Carnahan-Starling contact approximation, not the PY contact value.

    C:Z=1+4ϕg(σ+),gCS(σ+)=1−ϕ/2(1−ϕ)3\text{C:}\quad Z=1+4\phi g(\sigma^+),\qquad g_{\mathrm{CS}}(\sigma^+)=\frac{1-\phi/2}{(1-\phi)^3}
  7. Compute the pair-distribution value just outside contact; inside the core g=0.

    ϕ=0.2:g(σ+)=0.90.83=1.7578125\phi=0.2:\quad g(\sigma^+)=\frac{0.9}{0.8^3}=1.7578125
  8. The contact enhancement and excluded-volume geometry determine the approximate pressure relative to the ideal-gas value.

    Z=1+4(0.2)(1.7578125)=2.40625,p=2.40625 nkBTZ=1+4(0.2)(1.7578125)=2.40625,\quad p=2.40625\,nk_{\mathrm B}T
  9. Specify a smooth depleted pair profile. It has g(0)=0.5 and approaches one at large r; subtracting one isolates the decaying correlation.

    D:g(r)=1−12e−r2/ℓ2⇒h(r)=−12e−r2/ℓ2\text{D:}\quad g(r)=1-\tfrac12e^{-r^2/\ell^2}\quad\Rightarrow\quad h(r)=-\tfrac12e^{-r^2/\ell^2}
  10. Apply the one-dimensional Gaussian Fourier transform independently in x, y, and z. Multiplication produces the volume factor π^(3/2)ℓ³.

    ∫−∞∞e−x2/ℓ2e−ikxx dx=πℓe−kx2ℓ2/4\int_{-\infty}^{\infty}e^{-x^2/\ell^2}e^{-ik_xx}\,dx=\sqrt{\pi}\ell e^{-k_x^2\ell^2/4}h^(k)=−12π3/2ℓ3e−k2ℓ2/4\widehat h(k)=-\tfrac12\pi^{3/2}\ell^3e^{-k^2\ell^2/4}
  11. Insert the transform in S=1+n h-hat. This is an explicit nontrivial mapping from the separation variable r to the wavevector variable k.

    S(k)=1−12nπ3/2ℓ3e−k2ℓ2/4S(k)=1-\tfrac12n\pi^{3/2}\ell^3e^{-k^2\ell^2/4}
  12. With the stated reduced density, S stays positive and increases toward one. Nonnegative g and S are necessary but not sufficient for a realizable equilibrium fluid; this profile alone does not establish an equation of state.

    nℓ3=0.1:S(0+)=1−0.05π3/2≃0.721584,S(k→∞)=1n\ell^3=0.1:\quad S(0^+)=1-0.05\pi^{3/2}\simeq0.721584,\quad S(k\to\infty)=1

Interpretation. Three different quantities answer three different questions: g(r) describes neighbors, S(k) describes spatial fluctuation modes, and p describes mechanical thermodynamics. Their connections require normalization, an ensemble/limit, interactions, and sometimes an entire density path.

↑ Return to definitions and contents

16. From static structure to transport

p=nkBT−2πn23∫0∞r3u′(r)g(r) drp=nk_{\mathrm B}T-\frac{2\pi n^2}{3}\int_0^\infty r^3u^{\prime}(r)g(r)\,drη=VkBT∫0∞⟨δPxy(0)δPxy(t)⟩ dt\eta=\frac{V}{k_{\mathrm B}T}\int_0^\infty\langle\delta P_{xy}(0)\delta P_{xy}(t)\rangle\,dt
  1. Average the mechanical virial of a three-dimensional pair-potential fluid. Isotropy turns the pair sum into a radial integral involving g.
  2. Pressure thus combines kinetic motion and correlated interactions. Smooth potentials use the displayed derivative; hard spheres require the contact-value limit.
  3. Transport adds time correlations: linear response expresses viscosity through the integrated equilibrium shear-pressure autocorrelation, with Pxy intensive.

Connection / worked consequence. Worked example: for correlation C0 exp(−t/τ), η(t)=VC0τ[1−exp(−t/τ)]/(kBT). At 3τ this assumed correlation has contributed 95.02% of its infinite-time integral.

↑ Return to the state pathway

17. Continue from liquid to dilute gas

g(r)⟶n→0e−βu(r)g(r)\underset{n\to0}{\longrightarrow}e^{-\beta u(r)}pnkBT=1+B2(T)n+O(n2)\frac{p}{nk_{\mathrm B}T}=1+B_2(T)n+O(n^2)B2(T)=−2π∫0∞[e−βu(r)−1]r2 drB_2(T)=-2\pi\int_0^\infty[e^{-\beta u(r)}-1]r^2\,dr
  1. At vanishing density, a pair becomes isolated from other particles, leaving its two-body Boltzmann weight.
  2. Insert this limit in the virial pressure expression. Write d[exp(−βu)−1]/dr=−βu′exp(−βu).
  3. Integrate by parts, assuming the boundary term vanishes, to obtain B2. When |B2 n| and higher density terms are small, pressure approaches nkBT.

Connection / worked consequence. Equilibrium vaporization is instead located by μliquid=μgas. The gas may be reached through coexistence with latent heat; a mathematical density limit does not supply the coexistence temperature.

↑ Return to the state pathway

Related models & worked graphical examples

These entries come from the existing catalog. Open a formulation here, or follow its link for the complete model and three worked examples.

Classical molecular dynamics (MD)

Integrates atomic motion under specified interaction forces.

mid2ridt2=−∇iU(r1,…,rN)m_i\frac{d^2r_i}{dt^2}=-\nabla_i U(r_1,\ldots,r_N)

Assumptions. rᵢ and mᵢ are atomic positions and masses. Thermostats, constraints and long-range electrostatics modify the practical equations or integration.

Application. Diffusion of a liquid in a nanopore.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Lennard–Jones potential

Combines short-range repulsion with an inverse-sixth-power attraction.

U(r)=4ε[(σ/r)12−(σ/r)6]U(r)=4\varepsilon[(\sigma/r)^{12}-(\sigma/r)^6]F(r)=−dUdrF(r)=-\frac{dU}{dr}

Assumptions. r is pair separation, ε the energy scale and σ the length scale; this pair model is not a general description of chemical bonding.

Application. A simplified simulation of an argon fluid.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Van der Waals equation of state

Adds molecular attraction and excluded volume to an ideal gas model.

(p+a/v2)(v−b)=RT(p+a/v^2)(v-b)=RT

Assumptions. v is molar volume; a and b are substance parameters. This is a qualitative equation of state near critical and coexistence regions.

Application. Qualitative liquid-vapor coexistence.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Ornstein-Zernike equation

Relates total and direct pair correlations in a homogeneous liquid, linking microscopic structure to scattering.

h(r)=c(r)+ρ∫R3c(∣r−r′∣)h(r′) d3r′h(r)=c(r)+\rho\int_{\mathbb R^3}c(|\mathbf r-\mathbf r^{\prime}|)h(r^{\prime})\,d^3r^{\prime}S(k)=11−ρc^(k),h=g−1S(k)=\frac{1}{1-\rho\widehat c(k)},\quad h=g-1

Assumptions. Homogeneous isotropic equilibrium fluid; rho is number density, g is radial distribution, k is wavevector. Fourier transform has no prefactor in the forward integral. A closure or supplied c is needed.

Application. Interpreting scattering structure factors of liquid and colloidal samples.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Percus-Yevick closure

Closes the liquid integral equation using an approximate relation between pair correlations and interactions.

c(r)=[e−βu(r)−1][1+γ(r)],γ=h−c,β=(kBT)−1c(r)=\left[e^{-\beta u(r)}-1\right]\left[1+\gamma(r)\right],\quad\gamma=h-c,\quad\beta=(k_{\mathrm B}T)^{-1}

Assumptions. beta=1/(k_B T), u is pair energy. Approximate classical pair-potential theory; pressure routes can disagree. Hard cores require g=0 inside the core.

Application. Fitting scattering from approximately neutral, hard-sphere colloidal dispersions.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Hypernetted-chain (HNC) closure

Approximates liquid pair structure by neglecting bridge diagrams in the exact closure.

g(r)=exp⁡[−βu(r)+h(r)−c(r)],h(r)=g(r)−1g(r)=\exp[-\beta u(r)+h(r)-c(r)],\quad h(r)=g(r)-1

Assumptions. Classical equilibrium pair-potential fluid; beta=1/(k_B T). Bridge terms are omitted, which can impair dense, strongly correlated liquids. HNC is not an exact general liquid solution.

Application. Estimating pair distributions in simple fluids with a specified pair potential.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Carnahan-Starling hard-sphere equation of state

Approximates the compressibility factor of a monodisperse hard-sphere fluid from its packing fraction.

Z=pρkBT=1+ϕ+ϕ2−ϕ3(1−ϕ)3,ϕ=πρσ36Z=\frac{p}{\rho k_{\mathrm B}T}=\frac{1+\phi+\phi^2-\phi^3}{(1-\phi)^3},\quad\phi=\frac{\pi\rho\sigma^3}{6}

Assumptions. rho is number density, sigma sphere diameter, T temperature. Monodisperse, nonattracting hard-sphere fluid. This is a highly accurate approximation, not an exact EOS or a model of crystallization.

Application. Estimating excluded-volume pressure contributions in dense-fluid reference models.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Stokes-Einstein diffusion relation

Connects Brownian translational diffusion to temperature, solvent viscosity, and hydrodynamic particle radius.

D=kBT6πηRHD=\frac{k_{\mathrm B}T}{6\pi\eta R_{\mathrm H}}

Assumptions. D is diffusivity, eta dynamic viscosity, R_H hydrodynamic radius. Dilute spherical probes in a Newtonian continuum solvent, low Reynolds number, no-slip boundary. Molecular-scale and concentrated systems may violate it.

Application. Estimating hydrodynamic particle sizes from diffusion measurements in a dilute suspension.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗
Green-Kubo viscosity relation

Obtains equilibrium shear viscosity from the time integral of microscopic shear-stress fluctuations.

η=VkBT∫0∞⟨δPxy(0) δPxy(t)⟩ dt\eta=\frac{V}{k_{\mathrm B}T}\int_0^\infty\left\langle\delta P_{xy}(0)\,\delta P_{xy}(t)\right\rangle\,dt

Assumptions. Equilibrium isotropic liquid in volume V at T. P_xy is an intensive pressure (Pa), not a volume-integrated virial. Subtract any nonzero mean. Finite trajectories require convergence and tail-error checks.

Application. Predicting liquid viscosity from an equilibrium molecular-dynamics trajectory.

Full model, derivation, references, numerical techniques & 3 worked graphs ↗

Notation used throughout

n: number density (m⁻³); N: particle count; ρ: mass density (kg m⁻³); ρc: charge density; p: pressure; T: temperature (K); kB: Boltzmann constant; h, ℏ: Planck constants; β=1/(kBT); μ: chemical potential; f: phase-space distribution; g(r): pair distribution. In solid displacements u is a displacement; in the liquid closure u(r) is pair energy; in fluid equations u is bulk velocity. Subscripts identify phase or species. Every approximation must use consistent SI units or explicitly stated reduced units.