A theoretically based closed-form analytical equation for the radial distribution function, g(r), of a fluid of hard spheres is presented and used to obtain an accurate analytic representation. The method makes use of an analytic expression for the short- and long-range behaviors of g(r), both obtained from the Percus-Yevick equation, in combination with the thermodynamic consistency constraint. Physical arguments then leave only three parameters in the equation of g(r) that are to be solved numerically, whereas all remaining ones are taken from the analytical solution of the Percus-Yevick equation.
Starting from a realistic Hamiltonian and making use of recent findings that the properties of associating fluids are determined primarily by short-ranged interactions, this methodology has been implemented using statistical mechanical approaches and thermodynamic perturbation theory for the TIP4P model of water. We focus on the short-range reference system for which an analytic expression for the Helmholtz free energy is derived. It is found that the model (reference system) exhibits, in addition to a faithful representation of the structure of water, the same features that are characteristic for real water, namely, (i) the temperature of the density maximum and its pressure dependence, including the inflection point at high pressures and (ii) the temperature minima of the constant pressure heat capacity and the coefficient of isothermal compressibility.