Skip to content

Commit fc6729a

Browse files
authored
pDGT theory guide (#117)
* initial version, needs additional work * updated version * changes in index.md and adapt title * fixes and changes using sphinx * more consistency and other equation for gamma * rho fat and 2*c * integral for z new bounds
1 parent 6b5c56a commit fc6729a

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

docs/theory/dft/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This section explains the implementation of the core expressions from classical
88
euler_lagrange_equation
99
functional_derivatives
1010
solver
11+
pdgt
1112
```
1213

1314
It is currently still under construction. You can help by [contributing](https://github.com/feos-org/feos/issues/70).

docs/theory/dft/pdgt.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Predictive density gradient theory
2+
3+
Predictive density gradient theory (pDGT) is an efficient approach for the prediction of surface tensions, which is derived from non-local DFT, see [Rehner et al. (2018)](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.98.063312). A gradient expansion is applied to the weighted densities of the Helmholtz energy functional to second order as well as to the Helmholtz energy density to first order.
4+
5+
Weighted densities (in non-local DFT) are determined from
6+
7+
$$ n_\alpha(\mathbf{r})=\sum_in_\alpha^i(\mathbf{r})=\sum_i\int\rho_i(\mathbf{r}- \mathbf{r}')\omega_\alpha^i(\mathbf{r}')\mathrm{d}\mathbf{r}'.$$
8+
9+
These convolutions are time-consuming calculations. Therefore, these equations are simplified by using a Taylor expansion around $\mathbf{r}$ for the density of each component $\rho_i$ as
10+
11+
$$\rho_i(\mathbf{r}-\mathbf{r}')=\rho_i(\mathbf{r})-\nabla\rho_i(\mathbf{r})\cdot \mathbf{r}'+\frac{1}{2}\nabla\nabla\rho(\mathbf{r}):\mathbf{r}'\mathbf{r}'+\ldots$$
12+
13+
In the convolution integrals, the integration over angles can now be performed analytically for the spherically symmetric weight functions $\omega_\alpha^i(\mathbf{r})=\omega_\alpha^i(r)$
14+
which provides
15+
16+
$$ n_\alpha^i(\mathbf{r})=\rho_i(\mathbf{r})\underbrace{4\pi\int_0^\infty \omega_\alpha^i(r)r^2\mathrm{d} r}_{\omega_\alpha^{i0}}
17+
+\nabla^2\rho_i(\mathbf{r})\underbrace{\frac{2}{3}\pi\int_0^\infty\omega_\alpha^i(r)r^4\mathrm{d} r}_{\omega_\alpha^{i2}}+\ldots$$
18+
19+
with the weight constants $\omega_\alpha^{i0}$ and $\omega_\alpha^{i2}$.
20+
21+
The resulting weighted densities can be split into a local part $n_\alpha^0(\mathbf{r})$ and an excess part $\Delta n_\alpha(\mathbf{r})$ as
22+
23+
$$n_\alpha(\mathbf{r})=\underbrace{\sum_i\rho_i(\mathbf{r}) \omega_\alpha^{i0}}_{n_\alpha^0} +\underbrace{\sum_i\nabla^2\rho_i(\mathbf{r})\omega_\alpha^{i2}+\ldots}_{\Delta n_\alpha}.$$
24+
25+
26+
The second simplification is the expansion of the reduced residual
27+
Helmholtz energy density $\Phi(\{ n_\alpha\})$ around the local density approximation truncated after the second term
28+
29+
$$ \Phi(\lbrace n_\alpha\rbrace)
30+
=\Phi(\lbrace n_\alpha^0\rbrace)
31+
+\sum_i\sum_\alpha\frac{\partial\Phi}{\partial n_\alpha}\omega_\alpha^{i2}\nabla^2\rho_i + \ldots $$
32+
33+
The Helmholtz energy functional (which was introduced in the section about the [Euler-Lagrange equation](euler_lagrange_equation.md)) then reads
34+
35+
$$ F[\mathbf{\rho}(\mathbf{r})]=\int\left(f(\mathbf{\rho})+\sum_{ij}\frac{c_{ij}(\mathbf{\rho})}{2}\nabla\rho_i\cdot\nabla\rho_j\right)\mathrm{d}\mathbf{r}$$
36+
37+
with the density dependent influence parameter
38+
39+
$$ \beta c_{ij}(\mathbf{\rho})=-\sum_{\alpha\beta}\frac{\partial^2\Phi}{\partial n_\alpha\partial n_\beta}\left(\omega_\alpha^{i2}\omega_\beta^{j0}+ \omega_\alpha^{i0}\omega_\beta^{j2}\right).$$
40+
41+
and the local Helmholtz energy density $f(\mathbf{\rho})$.
42+
43+
44+
45+
For pure components, as derived in the original publication, the surface tension can be calculated from the surface excess grand potential per area according to
46+
47+
$$ \gamma=\frac{F-\mu N+pV}{A}=\int_{\rho^\mathrm{V}}^{\rho^\mathrm{L}} \sqrt{2c \left(f(\rho)-\rho\mu+p\right) } d\rho $$
48+
49+
50+
Thus, no iterative solver is necessary to calculate the surface tension of pure components, which is a major advantage of pDGT. Finally, the density profile can be calculated from
51+
52+
$$ z(\rho)=\int_{\rho^\mathrm{V}}^{\rho} \sqrt{\frac{c/2}{ f(\rho)-\rho\mu+p} } d\rho $$
53+

0 commit comments

Comments
 (0)