Published August 26, 2025
| Version 1.1.2
Software
Open
fxdgm: A nonlinear, mixed finite element solver for the DGM electrolyte model
Authors/Creators
Description
We present a finite element solver for a thermodynamically consistent model of multicomponent electrolyte systems. Rooted in non-equilibrium thermodynamics, the model rigorously incorporates mass conservation, charge neutrality, and entropy production, while capturing essential physical effects such as ion solvation, finite ion size, and pressure coupling. The governing equations-comprising N-1 partial mass balances, the electrostatic Poisson equation, and a modified momentum balance-are formulated regarding electrostatic potential, atomic fractions, and pressure to ensure numerical stability and physical fidelity. The solver is implemented using the FEniCSx framework, enabling flexible simulation of one- and two-dimensional systems under complex boundary conditions. Through systematic benchmark studies and parametric analyses, we validate the model against classical Nernst-Planck formulations and highlight its advantages in avoiding non-physical concentration profiles, particularly in high-field or high-concentration regimes. Simulations explore the effects of solvation number, Debye length, compressibility, and applied electric field on double layer formation, ionic distribution, and pressure response. We publicly provide the documented and validated solver framework.
Files
fxdgm-1.1.2.zip
Files
(98.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:6f022ef38d1153c0c4788c6e7021df4d
|
98.5 MB | Preview Download |
Additional details
Funding
- Deutsche Forschungsgemeinschaft
- DFG-FOR5409
- Deutsche Forschungsgemeinschaft
- DFG-517510462
- Deutsche Forschungsgemeinschaft
- DFG-463312734
- Deutsche Forschungsgemeinschaft
- SFB 1481 (442047500), project B04 504291427
Software
- Repository URL
- https://git.rwth-aachen.de/JanHab/fxdgm
- Programming language
- Python