fxdgm
A nonlinear, mixed finite element solver for the DGM electrolyte model
Physical Background
Main Features
Solving stationary DGM model in dimensionless units
for a ternary electrolyte (cations, anions, neutral solvent)
for an electrolyte of N arbitrary species
Local mesh refinement for one-dimensional domains towards the electrode
Testcases for the one-dimensional case or the two-dimensional electrolytic diode
Solutions for the Double-Layer Capacity, both numerical and analytical
Numerical Convergence with relaxation parameter for newtons method
Two-dimensional testcases for the example of the electrolytic diode
Installation
pip install git+https://git.rwth-aachen.de/JanHab/fxdgm
conda install -c conda-forge fenics-dolfinx=0.8.0 mpich=4.2.1 pyvista=0.43.10 gcc=12.4.0 -y
macOS installation using Docker
docker compose build
docker compose run solver
Testing
pip install pytest==8.3.3
python -m pytest
Usage
Contact
Author
Jan Habscheid
Supervisor
Dr. Lambert Theisen
ACoM - Applied and Computational Mathematics
RWTH Aachen University
Prof. Dr. Manuel Torrilhon
ACoM - Applied and Computational Mathematics
RWTH Aachen University