exercises:2015_uzh_molsim:nacl_md
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:2015_uzh_molsim:nacl_md [2015/05/26 21:23] – yakutovich | exercises:2015_uzh_molsim:nacl_md [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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? | ||
</ | </ | ||
- | |||
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 " | pbc wrap -centersel " |
exercises/2015_uzh_molsim/nacl_md.1432675417.txt.gz · Last modified: 2020/08/21 10:15 (external edit)