Computational implementation of integral equations: Difference between revisions
Carl McBride (talk | contribs) No edit summary |
Carl McBride (talk | contribs) No edit summary |
||
| Line 59: | Line 59: | ||
where | where | ||
\hat{d}_{s \mu}^m (x) = (2m+1)^{1/2} d_{s \mu}^m(\theta) | <math>\hat{d}_{s \mu}^m (x) = (2m+1)^{1/2} d_{s \mu}^m(\theta)</math> | ||
where | where <math>d_{s \mu}^m(\theta)</math> is the angular, <math>\theta</math>, part of the | ||
rotation matrix | rotation matrix <math>\mathcal{D}_{s \mu}^m (\omega)</math>, | ||
and | and | ||
e_s(y)=\exp(is\phi) | <math>e_s(y)=\exp(is\phi)</math> | ||
e_{\mu}(z)= \exp(i\mu \chi) | <math>e_{\mu}(z)= \exp(i\mu \chi)</math> | ||
For the limits in the summations | For the limits in the summations | ||
<math>L_1= \max (s,\nu_1)</math> | |||
L_1= \max (s,\nu_1) | |||
<math>L_2= \max (s,\nu_2)</math> | |||
L_2= \max (s,\nu_2) | |||
The above equation constitutes a separable five-dimensional transform. To rapidly evaluate | The above equation constitutes a separable five-dimensional transform. To rapidly evaluate | ||
this expression it is broken down into five one-dimensional transforms: | this expression it is broken down into five one-dimensional transforms: | ||
\gamma_{l_2m}^{n_1n_2}(r,x_{1_i})=\sum_{l_1=L_1}^M \gamma_{l_1 l_2 m}^{n_1 n_2}(r) \hat{d}_{m n_1}^{l_1} (x_{1_i}) | <math>\gamma_{l_2m}^{n_1n_2}(r,x_{1_i})=\sum_{l_1=L_1}^M \gamma_{l_1 l_2 m}^{n_1 n_2}(r) \hat{d}_{m n_1}^{l_1} (x_{1_i})</math> | ||
<math>\gamma_{m}^{n_1n_2}(r,x_{1_i},x_{2_i})=\sum_{l_2=L_2}^M \gamma_{l_2 m}^{n_1 n_2}(r,x_{1_i}) \hat{d}_{\overline{m} n_2}^{l_2} (x_{2_i})</math> | |||
\gamma_{m}^{n_1n_2}(r,x_{1_i},x_{2_i})=\sum_{l_2=L_2}^M \gamma_{l_2 m}^{n_1 n_2}(r,x_{1_i}) \hat{d}_{\overline{m} n_2}^{l_2} (x_{2_i}) | |||
<math>\gamma^{n_1n_2}(r,x_{1_i},x_{2_i},j)=\sum_{m=-M}^M \gamma_{m}^{n_1 n_2}(r,x_{1_i},x_{2_i}) e_m(j)</math> | |||
\gamma^{n_1n_2}(r,x_{1_i},x_{2_i},j)=\sum_{m=-M}^M \gamma_{m}^{n_1 n_2}(r,x_{1_i},x_{2_i}) e_m(j) | <math>\gamma^{n_2}(r,x_{1_i},x_{2_i},z_{1_k})=\sum_{n_1=-M}^M \gamma^{n_1 n_2}(r,x_{1_i},x_{2_i},j) e_{n_1}(z_{1_k})</math> | ||
<math>\gamma(r,x_{1_i},x_{2_i},z_{1_k},z_{2_k})=\sum_{n_2=-M}^M \gamma^{n_2}(r,x_{1_i},x_{2_i},j,z_{1_k}) e_{n_2}(z_{2_k})</math> | |||
\gamma^{n_2}(r,x_{1_i},x_{2_i},z_{1_k})=\sum_{n_1=-M}^M \gamma^{n_1 n_2}(r,x_{1_i},x_{2_i},j) e_{n_1}(z_{1_k}) | |||
Operations involving the <math>e_m(y)</math> and <math>e_n(z)</math> basis functions are performed in | |||
\gamma(r,x_{1_i},x_{2_i},z_{1_k},z_{2_k})=\sum_{n_2=-M}^M \gamma^{n_2}(r,x_{1_i},x_{2_i},j,z_{1_k}) e_{n_2}(z_{2_k}) | |||
Operations involving the | |||
complex arithmetic. The sum of these operations is asymptotically smaller than the previous expression | complex arithmetic. The sum of these operations is asymptotically smaller than the previous expression | ||
and thus constitutes a ``fast separable transform". | and thus constitutes a ``fast separable transform". | ||
<math>NG</math> and <math>M</math> are parameters; <math>NG</math> is the number of nodes in the Gauss integration, and <math>M</math> the the max index in the truncated rotational invariants expansion. | |||
====Integrate over angles <math>c_2(12)</math>==== | |||
~\\ | ~\\ | ||
Use Gauss-Legendre quadrature for $x_1$ and $x_2$\\ | Use Gauss-Legendre quadrature for $x_1$ and $x_2$\\ | ||
Revision as of 11:05, 30 May 2007
Integral equations are solved numerically. One has the Ornstein-Zernike relation, and a closure relation, (which incorporates the bridge function ). The numerical solution is iterative;
- trial solution for
- calculate
- use the Ornstein-Zernike relation to generate a new etc.
Note that the value of is local, i.e. the value of at a given point is given by the value of at this point. However, the Ornstein-Zernike relation is non-local. The way to convert the Ornstein-Zernike relation into a local equation is to perform a (fast) Fourier transform (FFT). Note: convergence is poor for liquid densities. (See Ref.s 1 to 6).
Picard iteration
Picard iteration generates a solution of an initial value problem for an ordinary differential equation (ODE) using fixed-point iteration. Here are the four steps used to solve integral equations:
1. Closure relation
(Note: for linear fluids )
Perform the summation
where is the separation between molecular centers and the sets of Euler angles needed to specify the orientations of the two molecules, with
with .
Define the variables
Thus .
Evaluate
Evaluations of are performed at the discrete points where the are the roots of the Legendre polynomial where are the roots of the Chebyshev polynomial and where are the roots of the Chebyshev polynomial thus
where
where is the angular, , part of the rotation matrix , and
For the limits in the summations
The above equation constitutes a separable five-dimensional transform. To rapidly evaluate this expression it is broken down into five one-dimensional transforms:
Operations involving the and basis functions are performed in complex arithmetic. The sum of these operations is asymptotically smaller than the previous expression and thus constitutes a ``fast separable transform". and are parameters; is the number of nodes in the Gauss integration, and the the max index in the truncated rotational invariants expansion.
Integrate over angles
~\\ Use Gauss-Legendre quadrature for $x_1$ and $x_2$\\ Use Gauss-Chebyshev quadrature for $y$, $z_1$ and $z_2$\\ thus \begin{equation} c_{mns}^{\mu \nu} (r) = w^3 \sum_{x_{1_i},x_{2_i},j,z_{1_k},z_{2_k}=1}^{NG} w_{i_1}w_{i_2}c_2(r,x_{1_i},x_{2_i},j,z_{1_k},z_{2_k}) \hat{d}_{s \mu}^m (x_{1_i}) \hat{d}_{\overline{s} \nu}^n (x_{2_i}) e_{\overline{s}}(j) e_{\overline{\mu}} (z_{1_k}) e_{\overline{\nu}} (z_{2_k}) \end{equation} where the Gauss-Legendre quadrature weights are given by \begin{equation} w_i= \frac{1}{(1-x_i^2)}[P_{NG}^{'} (x_i)]^2 \end{equation} while the Gauss-Chebyshev quadrature has the constant weight \begin{equation} w=\frac{1}{NG} \end{equation}
Perform FFT from Real to Fourier space
Ng acceleration
References
- M. J. Gillan "A new method of solving the liquid structure integral equations" Molecular Physics 38 pp. 1781-1794 (1979)
- Stanislav Labík, Anatol Malijevský and Petr Voncaronka "A rapidly convergent method of solving the OZ equation", Molecular Physics 56 pp. 709-715 (1985)
- F. Lado "Integral equations for fluids of linear molecules I. General formulation", Molecular Physics 47 pp. 283-298 (1982)
- F. Lado "Integral equations for fluids of linear molecules II. Hard dumbell solutions", Molecular Physics 47 pp. 299-311 (1982)
- F. Lado "Integral equations for fluids of linear molecules III. Orientational ordering", Molecular Physics 47 pp. 313-317 (1982)
- Enrique Lomba "An efficient procedure for solving the reference hypernetted chain equation (RHNC) for simple fluids" Molecular Physics 68 pp. 87-95 (1989)