Download presentation
Presentation is loading. Please wait.
2
southern@lzu.edu.cn Room 2032
4
China Canada
5
Winnipeg Manitoba
6
Computer Simulation Methods in Physics Lecture 1 B.W. Southern Department of Physics and Astronomy University of Manitoba Winnipeg Manitoba Canada
7
Computer Simulation High speed computers have become more readily available in recent years computer simulation is an important tool used in all areas of science Experiment Analytical Theory Computer Simulation
8
Computational Physics in the Undergraduate Curriculum New courses in computational physics emphasizing computer simulations, numerical methods, and symbolic manipulation have been developed new texts are available ideally we should incorporate computational methods into every course a beginning course in computer science is not a good substitute numerical methods are more meaningful when part of a simulation
9
Computer Simulation Courses computer simulations provide an opportunity for involving students in open-ended problems they can ‘do’ physics in the same way that research is done a good predictor for how students might perform in graduate work the process of converting an abstract model into a working program makes the model more meaningful a broader vision of physics can be introduced using models of interest to geologists, biologists and material scientists
10
Textbook I will follow closely the ideas presented in the textbook by H. Gould and J. Tobochnik “An Introduction to Computer Simulation Methods”, second edition, Addison-Wesley (1996) the website http://www.clarku.edu/~sip has extensive resources available for download such as a list of compuational physics books as well as software programs in basic, fortran and C.
11
Computer Simulation Why should we use computers? analytical tools are best suited to the analysis of linear problems the study of nonlinear problems involves mathematical approximations comparison of realistic models with experimental data leaves many open questions computer simulations can deal with a model without approximations apart from statistical and controllable systematic errors
12
Computer simulations are computer experiments construct an idealized model of a physical system develop a procedure or algorithm to study the model on a computer model the behaviour of a macroscopic system of 10 24 particles by a small system of 10 2 to 10 5 particles compare the results of the computer experiment with laboratory experiments the design of various programs relies on experience as in the case of real experimental setups does not rely on assumptions, approximations, or the discarding of “small” terms
13
Computer Simulation There are two common types of simulation techniques Molecular Dynamics Monte Carlo methods
14
Molecular dynamics system of classical particles interacting with each other with two-body forces integrate Newton’s equations of motion numerically perform a time average of state variables over the trajectory in phase space (r,p) or (q,p) r=(x i,y i,z i,…) p=(px i,py i,pz i,…) i=1,N 6N dimensional space energy is often conserved (microcanonical) ergodic hypothesis is crucial all regions of phase space d 3N rd 3N p equally probable
15
Molecular Dynamics Consider a system of many identical particles which are described by classical physics total energy E=K+U is kinetic plus potential where U= u(r 12 )+u(r 13 )+…+u(r 23 )+… sum of pairwise interactions a common potential is the Lennard-Jones potential characterized by two parameters and
16
repulsive attractive equilibrium
18
Verlet Algorithm
19
Molecular Dynamics Basic steps: start with a random assignment of positions and velocities of particles ensure that the center of mass velocity is zero! => total momentum conserved iterate the equations for some time to allow system to equilibrate then collect data at each time step and average
20
Molecular Dynamics Follow trajectories in phase space for a given set of initial conditions compute averages over the trajectories for example the kinetic energy Can estimate the temperature as a time average of K
21
We can obtain the pressure from the virial equation of state Information about diffusion can be obtained from the mean square displacement
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.