静电相互作用——Direct Sum和Swald Sum

相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Simulation Techniques for Soft Matter Sciences

Tutorial

8:Long range interactions:Direct sum

and Ewald summation.

Joan J.Cerdà∗

June21,2007

SimBio group,FIAS,Frankfurt

Contents

1Introduction1 2The direct sum2 3The Ewald sum4 4The P3M method6 5Additional Tasks6 6To learn more6 1Introduction

This tutorial is intended to strengthen your knowledge on long range interactions.As you have learn in previous lectures,special techniques are needed to deal with long-range interactions in a proper way.Simple truncation of the long-range forces usually ends up in a substantial and unwanted modification of the physics of a problem.

In order to do the tutorial you have to download thefile"t8_long_range_interaction_files.tar" available from the web page.After decompressing thefile(use tar-xzffile_name),you willfind a set of folders containing the programs needed for each section.

∗jcerda in the fias.uni-frankfurt.de

1

2The direct sum

Periodic boundary conditions are frequently used in order to approach bulk systems within the limits of currently available computers.We will consider a main cell which is surrounded by replica cells thatfill the whole space.The main cell consist of N particles with charges q i at position r i in a cubic box of length L.Our objective is to compute the energy U associated to the main cell.The energy U is due to the Coulomb interaction of the particles located inside the main cell with other particles present in the the cell,as well as with the particles located in the replica cells.The energy of the main cell in this PBC system is

U=

1

1

2

N

i=1N j=1 n∈Z3†q i q j|r ij+n L|,(1)

where r ij=r i−r j.The sum over n is over all simple cubic lattice points,n=(n x L,n y L,n z L) with n x,n y,and n z integers.The†indicates that the i=j term must by omitted for n=0to avoid to take into account the interaction of a particle with itself.Equation1is only conditionally convergent in3D.In other words,the value of the sum is not well defined unless one specifies the way we are going to sum up the terms(spheric,cubic,cylindric,etc.).An explanation from a more physical point of view about the conditional convergence of eq.1lies in the fact that we have an infinitely large system,that although is useful for our purposes of mimicking the bulk,it is never found in physical cases.When we perform an order summation,we are distributing the cells(the charges)in the space in a certain way.If we perform two different order summations,we will get two different values of the interaction because we have two different charge distributions.One could think that as farther the replica boxes are from the main cell,less important should be their contribution.This is the case for single cells,but the number of cells grows in such a way that always there is afinite contribution from the cells placed at a certain large distance from the main cell.

The use of eq.1in order to compute electrostatic magnitudes is know as"Direct Sum Method". The direct sum method,although simple to implement,suffers from a major drawback:the numerical evaluation of eq.1is excessively computer demanding.Thefirst thing one can notice in eq.1is that the sum over n is an infinite series because it runs over all Z3.This entails that when we want to evaluate the sum numerically we must perform a cut-off,i.e.,we assume that the contributions arising from larger n values can be ually one chooses to perform a spherical sum,i.e.,we take into account only the terms that satisfy|n|

2

相关文档
最新文档