分子动力学模拟基础汇总课件



《分子动力学模拟基础汇总课件》由会员分享,可在线阅读,更多相关《分子动力学模拟基础汇总课件(25页珍藏版)》请在装配图网上搜索。
1、单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,Chapter 3 Molecular Dynamics Simulation,3.1 Molecular Dynamics:The Idea,What is molecular dynamics?,It is a technique to compute the equilibrium and transport properties of a classical many-body system.,Means that the nuclear motion of the constituent part
2、icles obeys the laws of classical mechanics.,Newtons law,Lagrangian equation,and Langevin equation.,This is an excellent approximation for a wide range of materials.,Chapter 3 Molecular Dynamics S,1,MD simulation is similar to real experiments,When we perform a real experiments,we proceed:,Preparing
3、 a sample of the material studied;,Connecting the sample to a measuring instrument;,Measuring the property of interest during a certain time;,If the measurements are subject to statistical noise,then the longer we average,the more accurate our,measurement becomes.,In a MD simulation,we follow,exactl
4、y the same approach,.,e.g.,a thermometer,manometer,or viscometer,etc.,MD simulation is similar to re,2,MD approach,First,prepare a sample:select a model system,consisting of,N,particles;,Second,solve Newtons equation of motion until the,properties of the system no longer change with time.,Interactio
5、n energy potential,pair potential is frequently used,Equilibrate the system,After equilibration,perform the actual measurement.,Some of the most common mistakes in MD are similar,to,the mistakes that may be made in real experiments.,The sample is not prepared correctly,the time is too short,the syst
6、em undergoes an irreversible change during the experiment,or we do not measure what we think.,MD approach First,prepare a s,3,How to measure an observable quantity?,To measure an observable quantity in a MD simulation,we must first of all be able to express this observable as,a function of the posit
7、ions and momenta of the particles,in the system.,Let us take temperature as an example.Making use of,the equipartition of energy over all degrees of freedom,N,f,we have:,The relative fluctuations in the temperature will be of order .As,N,f,is typically of the order of 10,2,-10,3,the statistical fluc
8、tuations are of the order of 5-10%.,Average over many fluctuations,How to measure an observable,4,In which case should we worry about quantum effects?,When we consider the the translational or rotational motion of light atoms or molecules,or vibrational motion with a frequency,such that,h,k,B,T,.,He
9、,H,2,D,2,etc.,Of course,our course of this vast subject is incomplete.,If you need the knowledge beyond the course,you can,read the references on the coming slide.,In which case should we worry,5,References for Molecular Dynamics,MP Allen&DJ Tildesley,1987,Computer Simulation,of Liquids.,HC Berendse
10、n&WF van Gunsteren,1984,Molecular,Dynamics Simulations:Techniques&Approached,NATO ASI Series C123.,CL Brooks et al.,1988,Proteins.A Theoretical,Perspective of Dynamics,Structure and,Thermodynamics.Advances in chemical Physics.,Volume LXXI.,JM Haile,1992,Molecular Dynamics Simulation.,Elementary Meth
11、ods.,References for Molecular Dynam,6,4.2 Molecular Dynamics:A Program,The best introduction to MD is to consider a simple program.We keep it as simple as possible to illustrate some important features of MD.It is constructed as:,read in the parameters that specify the conditions of,the run(e.g.,ini
12、tial temperature,number of particles,density,time step,etc.);,Initialize the system(select initial,r,i,and,v,i,);,Compute the energy and forces on all particles;,Integrate Newtons equations of motion;,measure the quantities in the present time;,After completion of the central loop,compute and print
13、the averages of measured quantities,and stop.,Central loop,the core of the simulation,4.2 Molecular Dynamics:A Prog,7,A simple MD program,Program MD,simple MD program,call init,initialization,t=0,set time,do while(t.lt.tmax),MD loop,call force(f,en),determine the forces,call integrate(f,en),integrat
14、e equations of motion,t=t+delt,update time,call sample,sample averages,enddo,stop,Subroutine,init,force,and,integrate,will be described later.Subroutine,sample,is used to calculate averages of quantities of interest like pressure and temperature,etc.,A simple MD programProgram MD,8,4.2.1 Initialliza
15、tion,To start the simulation,we should assign initial,positions and velocities to all particles in the system.,Often this is achieved by initially placing the,particles on a cubic lattice.,Avoiding positions that result in an appreciable overlap;choose positions compatible with the structure that we
16、 are aiming to simulate.,As the equilibrium properties of the system do not depend on the choice of initial conditions,all reasonable initial conditions are in principle acceptable.,4.2.1 Initiallization To start,9,Initial positions,To simulate a solid state of a model system,it is,logical to prepare the system in the crystal structure,of interest.,If we are interest in the fluid phase,we simply,prepare the system in any convenient crystal structure.,If the density close to the freezing,selectio
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。