next up previous contents index
Next: MTD Algorithm Up: Hints and Tricks Previous: KPERT: kdp k-point calculations   Contents   Index


Metadynamics

These are some notes about the use of the metadynamics (MTD) machinery within CPMD. It is just a first version of a manual that I hope will be improved by the comment and possibly the contributions of the users of this method.

The metadynamics can run in a standard NVE/NVT MD run or in a NPE/NPT run (variable cell). In order to apply the MTD algorithms in CPMD some (not few) lines have to be added in the input file. These lines are to be in the &ATOMS .. &END section and they provide information about the kind of MTD to be performed, the choice of collective variables (CV), some parameters required to determine the time dependent potential and some other options. All the MTD input must be between an initial and a final line which are:
METADYNAMICS
$ \cdots$
END METADYNAMICS

If the initial line contains also the keyword $ COLLECTIVE $ $ VARIABLES$, the standard MTD, with one single set of CV, is initialized. If, instead, the keyword $ MULTI$ is found, more than one MTD are performed simultaneously on the same system; therefore, the whole set of CV is constituted by $ NSUBSYS$ subsets, which are independent one from each other. The number of subsystems is given on the same line by writing $ NS=$ followed by an integer number (default: 1). Instead, if $ CELL FULL$ is the keyword, the CV are the 6 cell parameters (3 side lengths and 3 angles), and the MTD is performed without extended Lagrangian, i.e. the contribution coming from $ V(t)$ is directly added into the stress tensor (see below in MTD Algorithm).

For almost all the input parameters there is a reasonable default value, but, since the range of applications of MTD is quite wide, it is likely that the default values do not fit your problem. Therefore some effort is required to choose the optimal conditions for your run. Of course, it is important to know something about MTD before using it. There are some references about the method [100,101,102], and about some successfull applications, as e.g. [103,104,105,106,108,107,109]. It can be of great help to read about the choices and results obtained by other users. But I remark that there are very few general rules that can be held valid for different problems and systems.

The method is based on the definition of a manifold of CV as functions of the degrees of freedom characterizing your system, $ {\bf S} = \{S_{\alpha}({\bf R},{\bf\phi},{\bf h})\}$, where $ {\bf R}$ are the ionic degrees of freedom, $ {\bf\phi}$ are the electronic wavefunctions, and $ {\bf h}$ defines the cell box. The CV which are implemented in the code, have been chosen according to the needs of those who used the method up to now. Of course they do not exhaust all the problems, and many more CV might be needed in the future. To implement them, once the analytical formula and its derivatives are available, is not complicated at all. In principle, the implementation should be easy for anybody who knows a bit the CPMD code.



Subsections
next up previous contents index
Next: MTD Algorithm Up: Hints and Tricks Previous: KPERT: kdp k-point calculations   Contents   Index

2006-03-29 cpmd@cpmd.org