IV. Statistical Mechanics as Pertains to Simulation next up previous
Next: V. Monte Carlo Up: No Title Previous: III. Methods for Simulating

IV. Statistical Mechanics as Pertains to Simulation

Computer simulation tex2html_wrap_inline1966 microscopic information (i.e. atomic positions, velocities, etc.)
Goal of statistical mechanics:
understand and predict macroscopic phenomena from microscopic or molecular information
microscopic information tex2html_wrap_inline1966 macroscopic properties (i.e. pressure, internal energy, etc.)
A. Definitions
Assume we have a system with N particles
phase space: 6N-dimensional space consisting of the momenta and spatial coordinates of the N particles
momentum: tex2html_wrap_inline2248 (3N-dimensional vector)
tex2html_wrap_inline2250 where tex2html_wrap_inline2252 , tex2html_wrap_inline2254 , and tex2html_wrap_inline2256 are mass, velocity, and momentum of particle i
spatial coordinates: tex2html_wrap_inline2260 (3N-dimensional vector)
tex2html_wrap_inline2262 represents a point in phase space: tex2html_wrap_inline2264
ensemble
-a collection of a very large number Z of systems
-each system is a replica (on a macroscopic level) of the system of interest
-each system has the same chosen fixed macroscopic parameters (i.e. NPT,NVT,NVE, etc.)
-each system evolves independently in time
-a collection of points tex2html_wrap_inline2262 in phase space, each one representing one of the Z systems at a particular instant of time
probability density tex2html_wrap_inline2268
-points tex2html_wrap_inline2262 in an ensemble are distributed according to probability density tex2html_wrap_inline2268
- tex2html_wrap_inline2268 determined by the chosen fixed macroscopic parameters (NPT, NVT, etc.)
tex2html_wrap_inline2276 : a weight function describing the relative probabilities for points tex2html_wrap_inline2262
partition function: sum over states
tex2html_wrap_inline2280
probability density:
tex2html_wrap_inline2282
tex2html_wrap_inline2268 is normalized: tex2html_wrap_inline2286
tex2html_wrap_inline2276 is an unnormalized version of tex2html_wrap_inline2268
Partition function tex2html_wrap_inline2292 is connected to a thermodynamic quantity tex2html_wrap_inline2294 : tex2html_wrap_inline2296
B. Ensembles
1.Microcanonical ensemble
Constant N,V,E
The density is:
tex2html_wrap_inline2298
The delta function selects out those states of an N-particle system in a container of volume V that have energy E
The partition function is:
tex2html_wrap_inline2300
The appropriate thermodynamic potential is the negative of the entropy:
tex2html_wrap_inline2302
Recall the equation from thermodynamics: tex2html_wrap_inline2304 where N is the number of microscopic states.
The classical mechanical equations of motion conserve energy and thus provide a useful way to sample states in this ensemble. From a practical standpoint, numerical errors (roundoff and turncation) during the integration process cause a drift in energy.
2. Canonical ensemble
Constant N,V,T
The density is:
tex2html_wrap_inline2308
The partition function is:
tex2html_wrap_inline2310
The appropriate thermodynamic potential is the Helmholtz free energy:
tex2html_wrap_inline2312
For this ensemble, all values of the energy are allowed. Thus, the classical mechanical equations of motion (where energy is conserved) are not an adequate way to sample states in this ensemble.
However, for very large N it can be shown that the canonical and microcanonical ensembles are practically equivalent (i.e. the density for the canonical ensemble as a function of energy has a very sharp maximum for some particular value of the energy E).
See Statistical and Thermal Physics by Reif, p.94-99
Thus, this ensemble can be obtained using the classical mechanical equations of motion with temperature control devices.
3. Other ensembles
Isothermal-isobaric ensemble
-constant N,P,T
-volume V varies
-thermodynamic potential is Gibbs free energy
Grand canonical ensemble
-constant tex2html_wrap_inline2082 ,V,T
-number of particles N varies
-thermodynamic potential is -PV
C. Ensemble averages and ergodicity
Ensemble average:
average value of a mechanical property A over all members of the ensemble

equation551

General assumption:
the experimentally observable macroscopic property tex2html_wrap_inline2316 = the time average of tex2html_wrap_inline2318 over a long time interval:

equation558

Ergodic:
A system is ergodic if there is at least one trajectory that passes through all points in phase space (for which tex2html_wrap_inline2320 is non-zero) so each system will visit all these points
tex2html_wrap_inline1966 the average properties could be deduced from a snapshot rather than following the complete trajectory of one system
tex2html_wrap_inline1966 replace the time average by an average taken over all members of the ensemble frozen at a particular time:

equation565

Ensembles are equivalent
For commonly used ensembles, ensemble averages produce consistent average properties
D. Fundamentals of molecular dynamics and Monte Carlo
Molecular dynamics
1. tex2html_wrap_inline2316 is just the time average of tex2html_wrap_inline2318 .
The time evolution of the system is governed by Newton's classical mechanical equations of motion, which can be solved on a computer using a large finite number tex2html_wrap_inline2330 of time steps of length tex2html_wrap_inline2332

displaymath2334


tex2html_wrap_inline2336 : total time; should be infinite but for practical purposes is a long finite time
2. Newton's equations generate a succession of states in accordance with the probability function tex2html_wrap_inline2338 for the microcanonical ensemble, and tex2html_wrap_inline2316 is the ensemble average:

displaymath2342


Ergodic system: time average and ensemble average are equivalent
tex2html_wrap_inline2344
-Must ensure adequate sampling
-system must be ergodic so there aren't independent closed circuits where a trajectory could become trapped and not fully sample phase space
-must also be sure that bottlenecks (due to high barriers) do not cause poor sampling even if system is ergodic
Monte Carlo
-Generate a set of states in phase space that are sampled from the complete set in accordance with the probability density tex2html_wrap_inline2268 , but not necessarily for microcanonical ensemble (i.e. not using true equations of motion)
-Invent a means of generating from one state point tex2html_wrap_inline2348 another point tex2html_wrap_inline2350 (need not have a physical interpretation)
-This prescription should satisfy the following conditions
1. probability density tex2html_wrap_inline2268 should not change as system evolves
2. any reasonable starting distribution tex2html_wrap_inline2354 should tend to this stationary solution as the simulation proceeds
3. ergodicity should hold (although it can't be proven, there should be a reasonabe argument)
tex2html_wrap_inline2356
where here tex2html_wrap_inline2358 runs over succession of tex2html_wrap_inline2330 states generated by this prescription
-Must ensure adequate sampling
Both molecular dynamics and Monte Carlo
-must have satisfactory phase space exploration in feasible computational time
-must be able to reproduce results given identical macroscopic parameters (density, energy, etc.) but different initial conditions (atomic positions and momenta)


next up previous
Next: V. Monte Carlo Up: No Title Previous: III. Methods for Simulating

College of Science WWW Development
Tue Nov 26 09:48:20 EST 1996