<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by dspoel on Medium]]></title>
        <description><![CDATA[Stories by dspoel on Medium]]></description>
        <link>https://medium.com/@davidvanderspoel?source=rss-76973fef72f2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TJiAlOtidCHipkCo</url>
            <title>Stories by dspoel on Medium</title>
            <link>https://medium.com/@davidvanderspoel?source=rss-76973fef72f2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:27:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@davidvanderspoel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[We have to talk about sodium chloride…]]></title>
            <link>https://medium.com/force-field-science/we-have-to-talk-about-sodium-chloride-404569622e22?source=rss-76973fef72f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/404569622e22</guid>
            <category><![CDATA[computational-chemistry]]></category>
            <category><![CDATA[electrostatic]]></category>
            <category><![CDATA[ion]]></category>
            <category><![CDATA[chemistry]]></category>
            <dc:creator><![CDATA[dspoel]]></dc:creator>
            <pubDate>Thu, 03 Sep 2026 14:10:59 GMT</pubDate>
            <atom:updated>2026-09-03T14:14:35.056Z</atom:updated>
            <content:encoded><![CDATA[<p>… or rock salt, or table salt, whatever you want to call it. Anyway, the stuff you add to your rice or potatoes every day.</p><figure><img alt="Comparison of table salt and kitchen salt." src="https://cdn-images-1.medium.com/max/1008/1*yJ9baMDKy50-zn3Qcsmn0A.png" /><figcaption>Fig. 1 Table salt and kitchen salt. Image by Lexlex — Own work, CC BY-SA 4.0, <a href="https://commons.wikimedia.org/w/index.php?curid=68106171">https://commons.wikimedia.org/w/index.php?curid=68106171</a></figcaption></figure><p><em>Why</em>, you might ask, <em>everything I would ever want to know is on </em><a href="https://en.wikipedia.org/wiki/Sodium_chloride"><em>Wikipedia</em></a><em>, isn’t it?</em> Well, some stuff is, but definitely not the details that are of interest for molecular simulations. Good models for sodium chloride are crucial, for instance, to study in atomic detail how the <a href="https://en.wikipedia.org/wiki/Sodium%E2%80%93potassium_pump">sodium/potassium equilibrium is managed in your body</a>. At first glance, sodium chloride, or NaCl for short, looks simple, in particular in the crystal form (Fig. 2).</p><figure><img alt="A sodium chloride crystal highlighting the individual ions." src="https://cdn-images-1.medium.com/max/1024/1*hhVDordek0K1Q-BlQH2hzA.png" /><figcaption>Fig. 2 A sodium chloride crystal in a cubic lattice. Image by Goran tek-en, CC BY-SA 4.0, <a href="https://commons.wikimedia.org/w/index.php?curid=109449008">https://commons.wikimedia.org/w/index.php?curid=109449008</a></figcaption></figure><p>But what do we see when we single out an ion-pair? Two ions, Na+ and Cl- at an <a href="https://en.wikipedia.org/wiki/Chemical_equilibrium">equilibrium</a> distance of 2.36 <a href="https://en.wikipedia.org/wiki/Angstrom">Ångström</a>, with a <a href="https://en.wikipedia.org/wiki/Dipole">dipole</a> of 9 <a href="https://en.wikipedia.org/wiki/Debye">Debye</a> and a <a href="https://en.wikipedia.org/wiki/Bond_dissociation_energy">dissociation energy </a>of 546 <a href="https://en.wikipedia.org/wiki/Joule_per_mole">kJ/mol</a>. The dipole informs us how the charges are distributed in the ion-pair, because dipole is charge times distance. The dissociation energy is the energy needed to separate the atoms to infinite distance. <strong>How do we know all this stuff? The scientific method of course! </strong>This kind of data has been gathered by hard-working researchers for centuries, and the beauty of it all is that we can go back to the archives and study those articles any time we want [1-3].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gmOiODfMIgMPeNNaN329Pw.png" /><figcaption>Fig. 3. A simple equation for the NaCl energy. Coulomb image by Louis Hierle, <a href="https://commons.wikimedia.org/w/index.php?curid=76393504">https://commons.wikimedia.org/w/index.php?curid=76393504</a>, Lennard-Jones image by Computer Laboratory, University of Cambridge <a href="https://commons.wikimedia.org/w/index.php?curid=2424953">https://commons.wikimedia.org/w/index.php?curid=2424953</a></figcaption></figure><p>So let us try and build a simple model with the equilibrium energy, and the additional knowledge that at the equilibrium distance, the force between the two atoms is zero. The perhaps simplest form of the NaCl energy (Fig. 3) is described by the Coulomb energy for interactions between charges qi and qj (first part of the equation) and the Lennard-Jones equation (second part). The charges are plus and minus 1 respectively for sodium and chloride, epsilon-0 is the <a href="https://en.wikipedia.org/wiki/Vacuum_permittivity">vacuum permittivity</a>, a physical constant. We then need to solve the two parameters sigma and epsilon in the Lennard-Jones equation. This can be done numerically, and the result is sigma = 3.04 Å, and epsilon = 0.67 kJ/mol. Problem solved? Unfortunately, no.</p><h3>Sodium chloride is not so simple</h3><p>To evaluate our simple model, we turn to <a href="https://en.wikipedia.org/wiki/Quantum_chemistry">quantum chemistry</a>. This is a family of methods that solves the <a href="https://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation">Schroedinger equation</a> for a system including all electrons in atoms or ions explicitly. Very high accuracy can be achieved with such methods for systems like NaCl. More in particular, we turn to <a href="https://en.wikipedia.org/wiki/Symmetry-adapted_perturbation_theory">Symmetry-adapted perturbation theory</a> (SAPT) since that yields not only the total energy of NaCl but also the energy components. In this case we are interested in the total energy as well as the electrostatic energy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nh742Ee1EJ0sFxVqluiHOQ.png" /><figcaption>Fig. 4. Simple model according to the text above, quantum chemistry using SAPT. A) Total energy and B) electrostatic energy. Image made by author.</figcaption></figure><p>Both the total energy (Fig. 4A) and the electrostatic energy (Fig. 4B) predicted by the simple model deviate significantly from quantum chemistry, <strong>in particular at short distances, which are the most important for chemistry</strong>. At short distance the simple model energy is way too high but at long distance it is somewhat too high as well. At the equilibrium distance of 2.36 Å, the electrostatic energy of the simple model is off by about 17 kJ/mol. Not good enough. But it gets worse. The dipole corresponding to a plus/minus charge at a distance of 2.36 Å is 11.4 Debye, but the experimental number is 9 Debye. <em>The electrostatic energy is too weak, but the dipole is too strong. What is going on here?</em></p><h3>Point charges are a poor approximation of atoms</h3><p>An atom consists of a core and an electron cloud. At short distance between atoms, those electron clouds overlap (charge penetration) taking away some (repulsive == positive) electron-electron interactions. At the same time, however, the large electron cloud of Cl- comes closer to the highly charged core of Na+ leading to stronger (more negative) energies, as seen in figure 4B above. So how about we model the atoms in a fashion closer to reality? In reference 4 we introduced models for ions consisting of a positive point charge core and a negatively charge electron cloud, modeled as a <a href="https://en.wikipedia.org/wiki/Gaussian_function">Gaussian function</a> (in three dimensions obviously). This makes it possible to approximate the SAPT electrostatics curve (Fig. 4B) much closer.</p><p>To get the dipole right, we have to add another ingredient to the <a href="https://doi.org/10.1021/acs.jcim.9b00971">soup</a> because the dipole corresponding to a spherical charge distribution is identical to that of a point charge. However, when the ions come close, the electron clouds move in response to the electric field, due to the <a href="https://en.wikipedia.org/wiki/Polarizability">polarizability</a> of the ions. To keep electrons attached to their “own” core, a <a href="https://en.wikipedia.org/wiki/Hooke%27s_law">spring force</a> can be added between the two. Now we have a model with three parameters per atom/ion: the charge on the core (the charge on the electronic distribution follows from the net charge on the ion), the width of the Gaussian function and the polarizability. For NaCl this means six parameters, and hence we need more data and an appropriate model training software.</p><h3>Machine learning force field parameters</h3><p>Big data and models with many parameters require specialized training software. For this purpose, the <a href="https://github.com/AlexandriaChemistry/ACT">Alexandria Chemistry Toolkit</a> [5] is a good option and this is the software used in ref. [4] as well. To finish this piece about NaCl, I ran a quick training of the six parameters using both the electrostatic energy (Fig. 4B) and the <a href="https://en.wikipedia.org/wiki/Electrostatic_induction">induction</a> energy from SAPT. The induction energy is the change in total energy of a system due to mutual polarization of the involved atoms or molecules. <em>Note that the Coulomb+Lennard-Jones model does not allow polarization at all.</em> Also important to realise is that to make a real model of a sodium chloride crystal, we need to understand the sodium-sodium and chloride-chloride interactions as well, so data for these interactions was used in training as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dR1_KzqxdzxUySAlTip2iA.png" /><figcaption>Fig. 5. Model parameters produced by training on the electrostatic and induction energies using the Alexandria Chemistry Toolkit. Image by author.</figcaption></figure><p>So what does our training result in? The final parameters are in Fig. 5. Does this model yield a perfect reproduction of the quantum chemistry data? No. It remains an approximation, and, for instance, the dipole of this model is 10.2 D, still too large, but closer to experiment than the point charge model. For the 219 data points in the dataset, the root mean square errors are printed in Fig. 6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQ_sF5w2u6OnNqFVmEGKRQ.png" /><figcaption>Fig. 6. Root mean square error with respect to the SAPT dataset, N = 219. Logo for the Alexandria Chemistry project.</figcaption></figure><p>Overall, this is a serious improvement but more work is needed. This article describes on-going research, and when there are new results I will discuss them in subsequent articles.</p><p>For now, please clap if you found this informative, follow Force Field Science for more articles, and feel free to share this to interested parties.</p><h3>References</h3><ol><li>Honig <em>et al.</em>, <a href="https://journals.aps.org/pr/abstract/10.1103/PhysRev.96.629"><em>The Microwave Spectra of Alkali Halides</em>,</a> Phys. Rev. <strong>96</strong> (1954) 629-642.</li><li>Herbert <em>et al.</em>, <a href="https://doi.org/10.1063/1.1669526"><em>Dipole Moments of Some Alkali Halide Molecules by the Molecular Beam Electric Resonance Method</em></a>, J. Chem. Phys. <strong>48</strong> (1968) 2824-2825.</li><li>Brewer &amp; Bracket, <a href="https://doi.org/10.1021/cr60212a004"><em>The Dissociation Energies of Gaseous Alkali Halides</em></a>, Chem. Rev. <strong>61</strong> (1961) 425-432.</li><li>Van der Spoel &amp; Hosseini, <a href="https://doi.org/10.1039/d5cp01254f"><em>Point + Gaussian charge model for electrostatic interactions derived by machine learning</em></a><em>, </em>Phys. Chem. Chem. Phys. <strong>27</strong> (2025) 13817–13820.</li><li>Van der Spoel<em> et al.</em>, <a href="https://doi.org/10.1039/d5dd00178a"><em>Evolutionary machine learning of physics-based force fields in high-dimensional parameter-space</em></a>, Digit. Discov. <strong>4</strong> (2025) 1925–9135.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=404569622e22" width="1" height="1" alt=""><hr><p><a href="https://medium.com/force-field-science/we-have-to-talk-about-sodium-chloride-404569622e22">We have to talk about sodium chloride…</a> was originally published in <a href="https://medium.com/force-field-science">Force Field Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>