User Tools

Site Tools


exercises:2015_uzh_molsim:nacl_md

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
exercises:2015_uzh_molsim:nacl_md [2015/05/26 21:23]
yakutovich
exercises:2015_uzh_molsim:nacl_md [2015/05/27 14:13] (current)
yakutovich
Line 7: Line 7:
   - Ideally, we would like to study isolated $\text{NaCl}$ ion pairs. Determine the concentration of $\text{NaCl}$ in the simulation in units of mol per liter. Do you consider the solution to be dilute?   - Ideally, we would like to study isolated $\text{NaCl}$ ion pairs. Determine the concentration of $\text{NaCl}$ in the simulation in units of mol per liter. Do you consider the solution to be dilute?
 </​note>​ </​note>​
- 
 When collecting statistics by successive MD runs, one often wants initial conditions to be random in order for the runs to be statistically independent. At the same time, it is often desirable for MD simulations to be exactly reproducible. When collecting statistics by successive MD runs, one often wants initial conditions to be random in order for the runs to be statistically independent. At the same time, it is often desirable for MD simulations to be exactly reproducible.
  
Line 23: Line 22:
 In order to compute the Na-Cl distance within vmd, use the Tcl interface In order to compute the Na-Cl distance within vmd, use the Tcl interface
 <code tcl> <code tcl>
-pbc set { lx ly lz }  # define simulation box lx*ly*lz+pbc set { lx ly lz } -all # define simulation box lx*ly*lz
 # center the box around Na and wrap all atoms into the box # center the box around Na and wrap all atoms into the box
 pbc wrap -centersel "​element Na" -center com -all  ​ pbc wrap -centersel "​element Na" -center com -all  ​
exercises/2015_uzh_molsim/nacl_md.txt ยท Last modified: 2015/05/27 14:13 by yakutovich