Journal of Physical Chemistry B, Vol.108, No.21, 6595-6602, 2004
On the calculation of diffusion coefficients in confined fluids and interfaces with an application to the liquid-vapor interface of water
We propose a general methodology for calculating the self-diffusion tensor from molecular dynamics (MD) for a liquid with a liquid-gas or liquid-solid interface. The standard method used in bulk fluids, based on computing the mean square displacement as a function of time and extracting the asymptotic linear time dependence from this, is not valid for systems with interfaces or for confined fluids. The method proposed here is based on imposing virtual boundary conditions on the molecular system and computing survival probabilities and specified time correlation functions in different layers of the fluid up to and including the interfacial layer. By running dual simulations, one based on MD and the other based on Langevin dynamics, using the same boundary conditions, one can fit the Langevin survival probability at long time to the MD computed survival probability, thereby determining the diffusion coefficient as a function of distance of the layers from the interface. We compute the elements of the diffusion tensor of water as a function of distance from the liquid vapor interface of water. Far from the interface the diffusion tensor is found to be isotropic, as expected, and the diffusion coefficient has the value D approximate to 0.22 Angstrom(2)/ps, in agreement with what is found in the bulk liquid. In the interfacial region the diffusion tensor is axially anisotropic, with values of D-II approximate to 0.8 Angstrom(2)/ps and D-perpendicular to approximate to 0.5 A(2)/ps for the components parallel and normal the interface surface, respectively. We also show that diffusion in confined geometries can be calculated by imposing appropriate boundary conditions on the molecular system and computing time correlation functions of the eigenfunctions of the diffusion operator corresponding to the same boundary conditions.