Simulation of Charged Systems in Heterogeneous Dielectric Media via a True Energy Functional
Abstract
For charged systems in heterogeneous dielectric media, a key obstacle for molecular dynamics (MD) simulations is the need to solve the Poisson equation in the media. This obstacle can be bypassed using MD methods that treat the local polarization charge density as a dynamic variable, but such approaches require access to a true free energy functional; one that evaluates to the equilibrium electrostatic energy at its minimum. In this letter, we derive the needed functional. As an application, we develop a Car-Parrinello MD method for the simulation of free charges present near a spherical emulsion droplet separating two immiscible liquids with different dielectric constants. Our results show the presence of non-monotonic ionic profiles in the dielectric with lower dielectric constant.
It is hard to overstate the importance of the electrostatic force in biological and soft-matter sciences. Electrostatic interactions play a major role in determining the structure and function of several biological macromolecules, such as proteins and DNA Honig and Nicholls (1995); Perutz (1978). In cell signaling, the creation of electrical potential differences and transfer of ions are of chief importance Clapham (2007). On the other hand, electrostatic forces allow the stabilization of many synthetic structures, endowed with remarkable properties: self-assembled colloidal dispersions Levin (2005), overcharged surfaces van der Heyden et al. (2006), patterned surfaces by competition between short-range and Coulombic interactions Solis et al. (2011), and faceted thin shells Vernizzi and Olvera de la Cruz (2007), to name a few.
Investigation of biological and soft-matter systems therefore requires an accurate consideration of electrostatic interactions. In many situations, computational methods that treat ions individually are necessary. This is the case, for example, where finite size effects become significant, where the medium has a complex geometry, or where the dielectric response of the medium is inhomogeneous. Computing properties of such systems via numerical simulation involves its own challenges. Due to the long range of the Coulomb force, a system of charges requires an expensive force calculation at every simulation step. Attempts to ameliorate this scaling have resulted in the development of several methods: Ewald summation, particle-mesh methods, fast multipole methods Sagui and Darden (1999), and the local electrostatics algorithms Sagui and Darden (2001); Maggs and Rossetto (2002); Rottler and Maggs (2004). In this Letter, we focus on the problems associated with the presence of dielectric heterogeneities in the medium.
The presence of free charges in a medium polarizes its uncharged constituents, leading to a complex behavior for the electric field and the polarization field itself. Accurate investigations of systems with electrostatic interactions should incorporate this dielectric response of the medium. In many cases, it is sufficient to consider the polarization effects by describing the dielectric properties with a spatially varying dielectric constant. In the simplest case of a uniform dielectric response, a single dielectric constant enters the coarse grained model, and the simulation proceeds as it would in free space, albeit with a scaled Coulomb’s law. However, most real situations involve regions with different dielectric response, as is the case for proteins within an aqueous cellular medium or for emulsions where oil and water are partitioned Sacanna et al. (2007). In the presence of this varying dielectric response, the simplest form of Coulomb’s law breaks down and one has to solve the Poisson equation, at each simulation step, to obtain the necessary force information for the propagation of charges. This adversely affects the stability and efficiency of the resulting numerical procedure. Because of these challenges, the problem of treating variable dielectric response in charge simulations continues to receive much attention Marchi et al. (2001); Allen et al. (2001); Messina (2002); Boda et al. (2004); Attard (2003); Maggs and Rossetto (2002); Linse (2008); Gan and Xu (2011); dos Santos et al. (2011).
In this Letter, we present a variational formulation of electrostatics that is applicable to problems involving dielectric heterogeneities. We construct an energy functional with the polarization charge density as the sole variational field. This functional works for arbitrary free charge configurations and any kind of spatial variation in dielectric response. As we review later, these characteristics have not been realized in previously proposed functionals. We explicitly specialize the functional to the case of sharp interfaces, where only the surface polarization charge density needs to be considered. We also demonstrate that our functional can be used in simulations of charged systems by employing a Car-Parrinello molecular dynamics (CPMD) scheme Car and Parrinello (1985) where the surface polarization charge density is treated as a dynamical variable. We note that a similar CPMD approach has been previously proposed Marchi et al. (2001), that employs a functional of the polarization vector in all space as the basic variable.
We adopt Gaussian units in our formulation. The polarization charge density is defined by the relation , where is the polarization field. We assume that the medium polarization obeys linear response, , where is the susceptibility and is the electric field. Employing the notation for the free charge density and for the bare Green’s function, our functional reads:
(1) |
where is both a functional of and a function of , and is defined as
(2) |
Extremization of leads to the equality: which is the correct physical relation that must satisfy. In spite of the complex dependence on , our functional retains a simple interpretation at equilibrium as, owing to the extremum condition, its second term vanishes and the first term becomes the true electrostatic energy where is the electrostatic potential. Furthermore, it can be shown that the second variation of is positive, implying becomes a minimum at its extremum. We provide the proof of this assertion in the supplemental material.
A variety of functionals employing various electrostatic quantities as field variables have been proposed Jackson (1999); Marcus (1956); Felderhof (1977); Reiner and Radke (1990); York and Karplus (1999); Allen et al. (2001); Attard (2003); Rottler and Maggs (2004); Lipparini et al. (2010). Many of these functionals are not energy functionals Reiner and Radke (1990); York and Karplus (1999); Allen et al. (2001); Jackson (1999); namely, they either become a maximum at extremum Reiner and Radke (1990); York and Karplus (1999) or evaluate to negative electrostatic energy at equilibrium Allen et al. (2001); Jackson (1999). This rules out their use in dynamical optimization methods Car and Parrinello (1985). Attard Attard (2003) has given an energy functional of the surface polarization charge density, but his functional is derived for a specific system that involves all free charges to be constrained in one uniform dielectric medium. Other energy functionals Marcus (1956); Felderhof (1977); Rottler and Maggs (2004) involve relatively expensive vector function variables, requiring three-dimensional vectorial specification Marchi et al. (2001); Rottler and Maggs (2004). In problems where the dielectric response can be modeled as piecewise uniform, our functional reduces to a functional of the surface polarization charge density, which requires only a two-dimensional scalar specification and offers distinct numerical advantages over the vector variables.
Our main result, Eq. (1), can be derived as follows. We begin with the standard expression for the electrostatic energy written as a functional: , where is the dielectric permittivity. Next, following Kung et al. (2009), we include Gauss’s law as a constraint to this functional via the Lagrange multiplier :
(3) |
Note that we take to depend parametrically on . Using and , we introduce in (3) to obtain
(4) |
Variations of (4) with respect to and allow us to eliminate all variables in favor of , leading to
(5) |
has been derived before using different derivations Marcus (1956); Felderhof (1977). It can be shown that is an energy functional; that is, its minimum computes the equilibrium electrostatic energy Attard (2003). We wish to transform to an energy functional of . This transition begins by inserting the definition of in (5) via a Lagrange multiplier :
(6) |
We note that can be shown to coincide with the electrostatic potential at equilibrium. Taking variations of the above functional with respect to , , and gives:
(7) | ||||
(8) | ||||
(9) |
It is evident from (7) and (8) that is the electrostatic potential. In addition, following (2), we can recast Eq. (9) as the equality of two quantities: the polarization charge density and the operator . This equality is precisely the extremum condition for . Substitution of , , and from (7), (8), and (9) respectively, into (6) leads to our central result, the functional in (1).
We note that not all substitutions lead to our result. For example, eliminating and from (6) using (7) and (8) gives a functional with the functional density: . Upon extremization, singles out the correct physical quantity, but becomes a maximum at equilibrium. In fact, is exactly the negative of the functional in Allen et al. (2001), neither of which are energy functionals. Functionals and share a common structure: the expression for the total electrostatic energy (the first term in either functionals) is constrained by the correct physical relation that must satisfy, namely . The only but crucial difference between these two functionals is the choice of the Lagrange multiplier that enforces this constraint. In past attempts, the Lagrange multiplier that leads to an energy functional of remained elusive. Our current formulation finds the desired multiplier.
We now consider the application of our functional to the problem of point charges in a system with piecewise-uniform dielectrics. For the sake of brevity, we will restrict ourselves to two uniform dielectrics, with different permittivities and , separated by a single sharp interface. Extension to multiple dielectrics and interfaces is straightforward. We assume that free charges reside only in the bulk of the dielectric. The free charge density is , where is the charge of the particle and is the total number of charges. For this system, the induced charge density in the bulk has the form , which leads to an effective charge density of . Also, the gradient of vanishes everywhere except at the interface. Therefore several volume integrals in Eq. (1) reduce to surface integrals and the original functional is transformed to a functional of the surface induced charge density:
(10) |
where is the induced charge density at the position on the interface, and , , and are, respectively, the effective potentials of interaction between two free charges, between a free charge and an induced charge, and between two induced charges. These effective interactions are given by:
(11) |
Here is the permittivity at the interface and functions and are defined as:
(12) |
where = is the permittivity jump at the interface, are arbitrary position vectors, are position vectors of arbitrary interfacial points, and is the unit normal to the interface taken to point in the direction of increasing permittivity.
In addition to providing a complete reformulation of electrostatics in heterogeneous media, our formalism has immediate applications to important practical problems. Since is an energy functional, it can be used for simulating free charges in heterogeneous media which, as described above, are basic models for phenomena in both biological and synthetic settings. The simplest simulation schemes Allen et al. (2001); Boda et al. (2004) for these systems require, in some way, the solution of the extremum condition, , at each step. However, when an energy functional is available, new approaches are possible, such as the use of CPMD method Car and Parrinello (1985). In this approach, is treated as a dynamical variable and is assigned a mass. The dynamic equations for the system follow from a Lagrangian that contains an additional kinetic energy term for . The kinetic term is constructed so that remains close to the exact polarization charge distribution at all times. In other words, we replace the expensive solution of the Poisson equation at each simulation step with an on-the-fly computation of the polarization effects.
We apply our method to free charges in piecewise-uniform dielectrics, where the interfaces between the different uniform dielectrics are closed surfaces of finite area. For simplicity, we only consider impenetrable boundaries such that each region has a fixed set of ions. We partition the surface boundaries into finite elements, and to each element we assign an average induced charge density and a fictitious mass . For the system with free ions, we can write a Lagrangian for the extended system of particles as:
(13) |
The first term is the kinetic energy of ions with masses and position . The second is a fictitious kinetic energy for the surface induced charge density. The electrostatic potential energy of the system computed by using our functional constitutes the third term. And the final term contains a set of truncated Lennard-Jones potentials to model the hard-core of the particles and the impenetrability of the surfaces.
Starting from a point in the extended configuration space, we generate its dynamics via standard MD technique, using the equations of motion derived from the Lagrangian for the ions and the fictitious induced charge values. To simulate the behavior of the physical system at finite temperature , we couple the augmented system to a set of Nos-Hoover thermostats. The ions couple to a thermostat at temperature , while the induced charge values couple to one at much lower temperature . This allows the evaluated energy of the physical system to be close to its thermal equilibrium value by limiting the contribution of the fictitious kinetic energy. This two-temperature approach is a standard feature of CPMD Sprik (1991); Blöchl and Parrinello (1992); Fois et al. (1993). The masses of the induced charge degrees of freedom are chosen so as to make their energy contribution small. In practice, we choose these masses to be proportional to the areas of the finite elements, and the proportionality constant is chosen to optimize the stability of the simulation. Another feature of the system we simulate is that, as a result of Gauss’s law, the net induced charge at each interface is a constant. In our simulations, we choose to directly enforce this constraint at each step via the SHAKE-RATTLE routine Ryckaert et al. (1977).
We have used the CPMD method outlined above to simulate ions near a spherical interface separating media of different permittivities. The simulations have been carried out for various values of permittivities, ion concentrations and ion valencies. As a test case, we considered a model for charged colloidal dispersions, where mobile charges are present in only one of the two dielectrics. We obtained results that match those previously published Messina (2002); dos Santos et al. (2011). In this Letter, we focus on a much less explored problem of ions present in both sides of the spherical interface. This system can be considered as a model for a liquid-liquid emulsion droplet in the presence of an electrolyte de Graaf et al. (2008); Bier et al. (2008). We consider the case where the ions do not cross the interface. We model the ions as repulsive Lennard-Jones (LJ) spheres of diameter nm. The spherical interface of radius separates the two media: the interior dielectric has permittivity , while the exterior dielectric has permittivity . The whole system of ions and dielectric media is taken to be in a spherical simulation cell of diameter such that the centers of the two spheres coincide, see the sketch in Fig. 1. Both the interface and the simulation cell boundary are modeled as repulsive LJ walls. We consider monovalent electrolyte (1:1) at K and () denote the salt concentrations inside (outside) the spherical interface. The interface is discretized with nearly points, and the parameters associated with the CPMD simulation are: . Here, is the simulation timestep and these values are given in LJ units (energy: , length: ).
Our simulation results pass two tests of stability and accuracy. We have analyzed the energy of the simulated system as a whole as well as the energies of its subsystems. Fluctuations in the total energy of the physical system were found to be 50 times smaller than those in the physical kinetic energy, implying good energy conservation. Also, the energy of the fictitious kinetic modes was kept very close to zero at all times. Our second test relates to the effectiveness of our scheme to reproduce the correct polarization charge distribution. At regular intervals during the course of the simulation of a number of specific cases, we collected and stored the ion coordinates and surface charge densities. Then, we carried out an ordinary minimization of the functional to determine the exact induced density, and compared it to the distributions obtained in the simulation. Our on-the-fly method results were within 2% of those obtained with direct minimization.
Our simulations of the 1:1 electrolyte lead to the density profiles shown in Fig. 1. We consider different values of while maintaining at 0.3 M, thus conducting a study similar in spirit to the experiment in Luo et al. (2006). The ion distributions, for all concentrations, reach a constant value in the bulk on either side but show interesting features near the interface. On the side having the higher value of permittivity, the ion density is depleted near the interface, which is largely the result of the repulsion due to the induced surface charge. The depletion is monotonic and gets more pronounced for higher values of . On the other hand, in the exterior, lower-permittivity dielectric, ions prefer to accumulate near the interface (see inset in Fig. 1). We also see that ionic profiles on this side of the interface are non-monotonic. This is due to a combination of Coulombic depletion near hard wall Sheng and Tsao (2001, 2002) and attractive surface polarization charge effects. We further observe that increasing the internal salt concentration enhances the accumulation of external ions near the interface. Several of these features have been previously observed for planar interfaces Boda et al. (2004) and attributed generally to the same basic reasons.
We have presented the solution to the long-standing problem of providing a true free energy functional for electrostatics that employs the polarization charge density as the variational field. This formulation has many applications, and we have used it to develop an efficient CPMD simulation for a set of point charges present in two dielectric media. The advantages associated with dynamically optimizing our functional in conjunction with the reduction in dimensionality achieved by replacing the polarization vectors with induced surface charges paves way for substantial improvements in our ability to simulate charges in heterogeneous media. As the functional is general for linear media, simulation approaches derived from it can be applied to many other systems, such as those with arbitrary interface shapes or moving boundaries.
Acknowledgements.
V.J. thanks R. Sknepnek, P. K. Jha, J. Zwanikken, and G. I. Guerrero-García for valuable discussions. The authors thank W. Kung for numerous comments on the manuscript. V.J. was funded by the DDR&E and the AFOSR under Award No. FA9550-10-1-0167 and F.S. was funded by the NSF Grants No. DMR-0805330 and No. DMR-0907781.References
- Honig and Nicholls (1995) B. Honig and A. Nicholls, Science 268, 1144 (1995).
- Perutz (1978) M. Perutz, Science 201, 1187 (1978).
- Clapham (2007) D. E. Clapham, Cell 131, 1047 (2007).
- Levin (2005) Y. Levin, Physica A: Statistical Mechanics and its Applications 352, 43 (2005).
- van der Heyden et al. (2006) F. H. J. van der Heyden, D. Stein, K. Besteman, S. G. Lemay, and C. Dekker, Phys. Rev. Lett. 96, 224502 (2006).
- Solis et al. (2011) F. J. Solis, G. Vernizzi, and M. Olvera de la Cruz, Soft Matter 7, 1456 (2011).
- Vernizzi and Olvera de la Cruz (2007) G. Vernizzi and M. Olvera de la Cruz, Proceedings of the National Academy of Sciences 104, 18382 (2007).
- Sagui and Darden (1999) C. Sagui and T. Darden, Annu. Rev. Biophys. Biomol. Struct. 28, 155 (1999).
- Sagui and Darden (2001) C. Sagui and T. Darden, The Journal of Chemical Physics 114, 6578 (2001).
- Maggs and Rossetto (2002) A. C. Maggs and V. Rossetto, Phys. Rev. Lett. 88, 196402 (2002).
- Rottler and Maggs (2004) J. Rottler and A. C. Maggs, Phys. Rev. Lett. 93, 170201 (2004).
- Sacanna et al. (2007) S. Sacanna, W. K. Kegel, and A. P. Philipse, Phys. Rev. Lett. 98, 158301 (2007).
- Marchi et al. (2001) M. Marchi, D. Borgis, N. Levy, and P. Ballone, The Journal of Chemical Physics 114, 4377 (2001).
- Allen et al. (2001) R. Allen, J.-P. Hansen, and S. Melchionna, Phys. Chem. Chem. Phys. 3, 4177 (2001).
- Messina (2002) R. Messina, The Journal of Chemical Physics 117, 11062 (2002).
- Boda et al. (2004) D. Boda, D. Gillespie, W. Nonner, D. Henderson, and B. Eisenberg, Phys. Rev. E 69, 046702 (2004).
- Attard (2003) P. Attard, The Journal of Chemical Physics 119, 1365 (2003).
- Linse (2008) P. Linse, The Journal of Chemical Physics 128, 214505 (2008).
- Gan and Xu (2011) Z. Gan and Z. Xu, Phys. Rev. E 84, 016705 (2011).
- dos Santos et al. (2011) A. P. dos Santos, A. Bakhshandeh, and Y. Levin, The Journal of Chemical Physics 135, 044124 (2011).
- Car and Parrinello (1985) R. Car and M. Parrinello, Phys. Rev. Lett. 55, 2471 (1985).
- Jackson (1999) J. D. Jackson, Classical Electrodynamics, 3rd ed. (Wiley, New York, 1999).
- Marcus (1956) R. A. Marcus, The Journal of Chemical Physics 24, 966 (1956).
- Felderhof (1977) B. U. Felderhof, The Journal of Chemical Physics 67, 493 (1977).
- Reiner and Radke (1990) E. S. Reiner and C. J. Radke, J. Chem. Soc., Faraday Trans. 86, 3901 (1990).
- York and Karplus (1999) D. M. York and M. Karplus, The Journal of Physical Chemistry A 103, 11060 (1999).
- Lipparini et al. (2010) F. Lipparini, G. Scalmani, B. Mennucci, E. Cances, M. Caricato, and M. J. Frisch, The Journal of Chemical Physics 133, 014106 (2010).
- Kung et al. (2009) W. Kung, F. J. Solis, and M. Olvera de la Cruz, The Journal of Chemical Physics 130, 044502 (2009).
- Sprik (1991) M. Sprik, The Journal of Physical Chemistry 95, 2283 (1991).
- Blöchl and Parrinello (1992) P. E. Blöchl and M. Parrinello, Phys. Rev. B 45, 9413 (1992).
- Fois et al. (1993) E. S. Fois, J. I. Penman, and P. A. Madden, The Journal of Chemical Physics 98, 6361 (1993).
- Ryckaert et al. (1977) J.-P. Ryckaert, G. Ciccotti, and H. J. Berendsen, Journal of Computational Physics 23, 327 (1977).
- de Graaf et al. (2008) J. de Graaf, J. Zwanikken, M. Bier, A. Baarsma, Y. Oloumi, M. Spelt, and R. van Roij, The Journal of Chemical Physics 129, 194701 (2008).
- Bier et al. (2008) M. Bier, J. Zwanikken, and R. van Roij, Phys. Rev. Lett. 101, 046104 (2008).
- Luo et al. (2006) G. Luo, S. Malkova, J. Yoon, D. G. Schultz, B. Lin, M. Meron, I. Benjamin, P. Vanýsek, and M. L. Schlossman, Science 311, 216 (2006).
- Sheng and Tsao (2001) Y.-J. Sheng and H.-K. Tsao, Phys. Rev. Lett. 87, 185501 (2001).
- Sheng and Tsao (2002) Y.-J. Sheng and H.-K. Tsao, Phys. Rev. E 66, 040201 (2002).