KBkit
Kirkwood–Buff integrals from simulation RDFs, with the finite-size corrections that make them trustworthy, turned into solvation thermodynamics.
System
Box size, composition and temperature as entered; the shells come from the loaded g(r). Drag the box to rotate.
From g(r) to thermodynamics
Kirkwood–Buff integrals turn radial distribution functions into preferential binding, activity coefficients and partial molar volumes, but only if the finite size of the box is handled properly. Load your RDFs, or explore an example where the right answer is known:
Why KBkit?
The running Kirkwood–Buff integral does not converge in a closed, finite simulation box: even an ideal gas appears to avoid itself. KBkit computes the raw integral alongside two finite-size corrections, shows whether they agree, and only then turns the result into thermodynamics.
Python package and command line: pip install git+https://github.com/siba-p/kbkit. The web app and the package give identical numbers.
Method
Running integral
Ganguly–van der Vegt correction of the closed-box RDF
Krüger–Vlugt finite-volume integral, extrapolated to the thermodynamic limit
Binary mixture (c = cosolvent, w = solvent), with
Preferential binding of cosolvent c to solute p
- J. G. Kirkwood & F. P. Buff, J. Chem. Phys. 19, 774 (1951).
- P. Ganguly & N. F. A. van der Vegt, J. Chem. Theory Comput. 9, 1347 (2013).
- P. Krüger, S. K. Schnell, D. Bedeaux, S. Kjelstrup, T. J. H. Vlugt, J.-M. Simon, J. Phys. Chem. Lett. 4, 235 (2013).
- A. Ben-Naim, Molecular Theory of Solutions, Oxford (2006).