You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/pluto-icmpbp-solvertest.jl
+59-21Lines changed: 59 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,15 @@ md"""
42
42
This code implements the model described in
43
43
[Müller, R., Fuhrmann, J., & Landstorfer, M. (2020). Modeling polycrystalline electrode-electrolyte interfaces: The differential capacitance. Journal of The Electrochemical Society, 2020, 167(10), 106512](https://iopscience.iop.org/article/10.1149/1945-7111/ab9cca/meta) with surface charge boundary conditions in a symmetric cell and ion conservation constraint.
44
44
45
-
For the later, see e.g. H. Sugyioka, "Ion-Conserving Modified Poisson–Boltzmann Theory Considering a Steric Effect in an Electrolyte", Journal of the Physical Society of Japan, 2016, Vol. 85, No. 12, DOI [10.7566/JPSJ.85.124006](https://doi.org/10.7566/JPSJ.85.124006)
45
+
For the later, see e.g. H. Sugioka, "Ion-Conserving Modified Poisson–Boltzmann Theory Considering a Steric Effect in an Electrolyte", Journal of the Physical Society of Japan, 2016, Vol. 85, No. 12, DOI [10.7566/JPSJ.85.124006](https://doi.org/10.7566/JPSJ.85.124006)
Here, for ``\alpha=1\dots N``, ``z_α`` are the charge numbers, and ``v_α=v_α^u + κ_α v_0`` are the effective molecular volumes, with solvation numbers ``κ_α`` and unsolvated molecular volumes ``v_α^u``.
@@ -92,19 +97,19 @@ y_α^E&=\frac{n_α^E}{n^E}
92
97
93
98
# ╔═╡ e89e4da3-a2e4-41a3-99d9-327a9b862d28
94
99
md"""
95
-
### Surface with given value of `q`
100
+
## Surface with given charge `q`
96
101
```math
97
102
\begin{aligned}
98
103
(1+χ)\varepsilon_0\nabla \phi|_{z=0} &= q\\
99
-
(1+χ)\varepsilon_0\nabla \phi|_{z=L} &= -q
104
+
-(1+χ)\varepsilon_0\nabla \phi|_{z=L} &= -q
100
105
\end{aligned}
101
106
```
102
107
103
108
"""
104
109
105
110
# ╔═╡ 63d99173-c779-4e72-b96f-15b27aec55cf
106
111
md"""
107
-
### Pressure equation
112
+
## Pressure equation
108
113
Pressure is calculated according to [J. Fuhrmann, “Comparison and numerical treatment of generalised Nernst–Planck models,” Computer Physics Communications, vol. 196, pp. 166–178, 2015.](https://dx.doi.org/10.1016/j.cpc.2015.06.004).
109
114
110
115
Starting with the momentum balance in mechanical equilibrium
@@ -118,23 +123,47 @@ by taking the divergence on both sides of the equation, one derives the pressure
118
123
(\nabla p + q\nabla \varphi)\cdot \vec n &=0 & \text{on}\;\partial\Omega\\
119
124
\end{aligned}
120
125
```
121
-
In order to obtain uniquness, the pressure in the center of the domain is set to zero:
126
+
In order to obtain uniqueness, the pressure in the center of the domain is set to zero:
In order to implement this condition, the constraints (for ``α=1\dots N-1``) are added to the system, and the bulk molarities ``n_α^E`` are made variables with the electroneutrality constraint ``\sum\limits_{\alpha=1}^N z_α n_α^E =0`` .
136
141
"""
137
142
143
+
# ╔═╡ 16a79117-e89b-4478-a571-8c011b5784c1
144
+
md"""
145
+
## Simulation result
146
+
"""
147
+
148
+
# ╔═╡ 7caea4c4-9783-403c-931c-681f86166a25
149
+
md"""
150
+
## Next steps
151
+
"""
152
+
153
+
# ╔═╡ 65c0b7fa-de4f-454e-ac63-2723d5acc26c
154
+
md"""
155
+
- Finalize pyiron integration
156
+
- Discuss comparison with molecular simulation results
0 commit comments