Abstract
Investigating nucleation in charged nanoconfined environments is crucial for many scientific and engineering applications. Here we under electric fields is essential for the design of materials. We study the nucleation of NaCl from aqueous solution near charged surfaces using machine-learning-augmented enhanced sampling molecular dynamics simulations. Our simulations successfully drive phase transitions between liquid and solid phases of NaCl. The solid phase is stabilized under electric fields, particularly at an intermediate surface charge density. We examine which physical characteristics drive the nucleation of NaCl from aqueous solutions and find that the removal of solvent water from Cl- at the solid precursor surface plays a more critical role than the accumulation of ions. Our simulations reveal the competing effects of electric fields on nucleation processes: they facilitate the removal of water, promoting nucleation, but also promote the separation of ion pairs thereby hindering nucleation. This work provides a framework for studying nucleation processes in nanoconfined environments under electric fields and physical insights for the design of electrochemistry materials.