============== Brine and NaCl ============== .. include:: ../videos/embeds/brine.rst ``input/traj/nacl_front.lammpstrj`` is the 864-molecule interface with nine ions added. Type 1 is water. Types 3 and 4 are chloride and sodium. One chloride sits in a slab that CHILL+ calls fully crystalline. The other eight ions sit in liquid slabs. ``meson test docs_tutorial_brine`` checks that split. ``meson test docs_frame_tutorials`` runs that file in CI (``--small``). Without ``--small``, ``docs/tutorials/test_hf_frames.py`` downloads ``data/frames/T230_m20_r0_tend.xyz`` from ``d-SEAMS/brine-front-230K`` at ``4828e33ecf419c70643b2d466bfa4f283b4138dc`` and checks its sha256. CHILL+ is run on the water alone, so an ion is not given an ice label. Each ion is then counted in the 3.7 Å slab that contains it. A slab is ice when at least half of its water is cubic, hexagonal, reCubic or reHex. .. table:: +------+------+--------+ | slab | ions | side | +======+======+========+ | 3 | 1 | ice | +------+------+--------+ | 9 | 2 | liquid | +------+------+--------+ | 10 | 2 | liquid | +------+------+--------+ | 12 | 2 | liquid | +------+------+--------+ | 13 | 2 | liquid | +------+------+--------+ One ion is on the ice side of the front and eight are on the liquid side. The water census is unchanged from the ion-free frame: hexagonal 352. .. figure:: molecules/brine/overlay-web.png :width: 480px :alt: NaCl front. Water, sodium and chloride. NaCl front. Water, sodium and chloride. ``python docs/scripts/render_molecules.py --slug brine`` writes the 2400 by 1800 still.