Foward Flux Sampling in MD++

From Micro and Nano Mechanics Group
Jump to navigation Jump to search

Forward Flux Sampling of Rare Events in MD++

Seunghwa Ryu and Wei Cai

This tutorial describes how to use Forward Flux Sampling (FFS) algorithm in MD++ to sample rare events (such as nucleation). The theoretical background is published in

Rosalind J. Allen, Daan Frenkel, and Pieter Rein ten Wolde, Simulating rare events in equilibrium or nonequilibrium stochastic systems, Journal of Chemical Physics, 124, 024102 (2006).


Download files

First, you need to install MD++ on your computer by following the instructions on MD++ Manuals.

Second, copy files ??? and ??? to your input file directory of MD++. You can do so by the following commands (assuming you have installed MD++ in ~/Codes/MD++).

 export MDPP=~/Codes/MD++
 mkdir -p ${MDPP}/scripts/work/melting
 cd ${MDPP}/scripts/work/melting
 wget ??? -O ???
 wget ??? -O ???

Compile excutable file

In this tutorial, we will study homogeneous nucleation of crystal from Si melt. Si will be modelled by the SW potential. The MD++ executable with SW potential can be compiled by the following command (on wcr.stanford.edu).

For example, you can compile sworig by typing

 cd ${MDPP}
 make sw build=R SYS=wcr

If compilation is successful, this will create binary file sw_wcr file in your ${MDPP}/bin directory.

Please contact shryu@stanford.edu if you have further questions.


Run simulations

Analyse data

Nucleation rate of embryonic crystals.

Survival probability for the embryonic crystal to grow to larger (stable) size.