exercises:common:ensemble
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:common:ensemble [2022/10/31 16:13] – jglan | exercises:common:ensemble [2022/10/31 17:28] (current) – [NVT Ensemble] jglan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Lennard-Jones liquids ====== | + | ====== |
In this exercise, you will simulate a fluid of monoatomic particles that interact with a Lennard-Jones potential. The method to be used is molecular dynamics (MD) with periodic boundary conditions using CP2K. The aim is to explore the method, calculate the radial distribution function $g(r)$ and investigate a variety of ensembles. | In this exercise, you will simulate a fluid of monoatomic particles that interact with a Lennard-Jones potential. The method to be used is molecular dynamics (MD) with periodic boundary conditions using CP2K. The aim is to explore the method, calculate the radial distribution function $g(r)$ and investigate a variety of ensembles. | ||
Line 16: | Line 16: | ||
The radial distribution function, (or pair correlation function) $g(r)$, in a system of particles (atoms, molecules, colloids, etc.), describes how the density varies as a function of distance from a reference particle. | The radial distribution function, (or pair correlation function) $g(r)$, in a system of particles (atoms, molecules, colloids, etc.), describes how the density varies as a function of distance from a reference particle. | ||
- | ===== NVE ensemble | + | ===== NVE Ensemble |
In this section, we provide you with an example CP2K input for an MD calculation. | In this section, we provide you with an example CP2K input for an MD calculation. | ||
Line 217: | Line 217: | ||
===== NVT Ensemble | ===== NVT Ensemble | ||
- | In the previous sections, you have already run NVE ensemble molecular dynamics calculations for liquid Ar. In this section, we will focus on the NVT and NPT ensembles. | + | In the previous sections, you have already run NVE ensemble molecular dynamics calculations for liquid Ar. In this section, we will focus on the NVT ensembles. |
+ | |||
+ | Although the most popular Nose-Hoover thermostat is commonly-used in other MD codes, the original Nose-Hoover thermostat has an ergodic issue. This has been solved by Mark Tuckerman et al. See [[https:// | ||
+ | In CP2K, the default length of the Nose-Hoover chain is set to 3. (See Manual [[https:// | ||
To set up an NVT calculation, | To set up an NVT calculation, | ||
Line 230: | Line 234: | ||
REGION MASSIVE | REGION MASSIVE | ||
& | & | ||
- | TIMECON | + | TIMECON |
&END NOSE | &END NOSE | ||
&END | &END | ||
Line 236: | Line 240: | ||
| | ||
+ | Alternatively, | ||
+ | (CSVR)]] as developed by Giovanni [[https:// | ||
+ | &MD | ||
+ | ENSEMBLE NVT | ||
+ | STEPS 3000 | ||
+ | TIMESTEP 5 | ||
+ | TEMPERATURE 298 | ||
+ | & | ||
+ | & | ||
+ | TIMECON 100 # | ||
+ | &END CSVR | ||
+ | &END | ||
+ | &END MD | ||
+ | | ||
===== NPT Ensemble | ===== NPT Ensemble | ||
exercises/common/ensemble.1667232808.txt.gz · Last modified: 2022/10/31 16:13 by jglan