A finite element solver for a thermodynamically consistent electrolyte model
Jan Habscheid, Satyvir Singh, Lambert Theisen, Stefanie Braun, Manuel Torrilhon
TL;DR
This work develops a finite element solver based on a thermodynamically consistent electrolyte model that captures multicomponent ion transport with steric, solvation, and pressure coupling. Grounded in non-equilibrium thermodynamics, the model enforces mass conservation, charge neutrality, and entropy production, and it extends beyond classical Nernst--Planck frameworks by incorporating a variational formulation and a momentum balance coupled to electrostatics. Implemented in FEniCSx, the solver demonstrates robust convergence in 1D and 2D settings, validates against benchmark problems, and reveals key electrolyte phenomena such as electric double layer formation, ion saturation due to solvation, and the impact of Debye length and compressibility on transport. The framework, validated against benchmarks and compared to NP models, provides a physically faithful tool for simulating complex electrochemical systems and is released with reproducibility materials for broader adoption.
Abstract
In this study, we present a finite element solver for a thermodynamically consistent electrolyte model that accurately captures multicomponent ionic transport by incorporating key physical phenomena such as steric effects, solvation, and pressure coupling. The model is rooted in the principles of non-equilibrium thermodynamics and strictly enforces mass conservation, charge neutrality, and entropy production. It extends beyond classical frameworks like the Nernst-Planck system by employing modified partial mass balances, the electrostatic Poisson equation, and a momentum balance expressed in terms of electrostatic potential, atomic fractions, and pressure, thereby enhancing numerical stability and physical consistency. Implemented using the FEniCSx platform, the solver efficiently handles one- and two-dimensional problems with varied boundary conditions and demonstrates excellent convergence behavior and robustness. Validation against benchmark problems confirms its improved physical fidelity, particularly in regimes characterized by high ionic concentrations and strong electrochemical gradients. Simulation results reveal critical electrolyte phenomena, including electric double layer formation, rectification behavior, and the effects of solvation number, Debye length, and compressibility. The solver's modular variational formulation facilitates its extension to complex electrochemical systems involving multiple ionic species with asymmetric valences. We publicly provide the documented and validated solver framework.
