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
conda install -c conda-forge fenics-dolfinx=0.9.0 mpich=4.3.0 pyvista=0.43.10 c-compiler=1.9.0 cxx-compiler=1.9.0 fortran-compiler=1.9.0 -y
git clone https://git.rwth-aachen.de/JanHab/fxdgm.git
cd fxdgm
pip install .
Alternative installation using Docker
docker compose build
docker compose run solver
Testing
pip install pytest==8.3.3
python -m pytest
Usage
Contact
- Jan Habscheid
- Dr. Satyvir Singh
ACoM - Applied and Computational Mathematics
RWTH Aachen University
- Dr. Lambert Theisen
ACoM - Applied and Computational Mathematics
RWTH Aachen University
- Dr. Stefanie Braun
ACoM - Applied and Computational Mathematics
RWTH Aachen University
- Prof. Dr. Manuel Torrilhon
ACoM - Applied and Computational Mathematics
RWTH Aachen University