Micro and Nano Mechanics Group
Revision as of 21:20, 16 August 2009 by Caiwei (Talk)

Output File Formats in MD++

This tutorial describes the formats of MD++ output files. The most frequently used file in MD++ is the .cn file describing atomic positions (and other attributes). Also used a lot is the property (.out) file produced by Molecular Dynamics simulations. MD++ can also read and write VASP (POSCAR) and LAMMPS files.


Contents

Configuration (.cn) File

The saved cn files have the following format.

The first line is the number of atoms (NP). Then there are NP lines of data, each corresponding to an atom (more explanation below). Then there is a 3x3 matrix (H) whose column vectors are the three repeat vector of the supercell. The next line contains the number of species and the name of the species. (The species name can be set by variable "element0", "element1", etc in the input file. If they are not set, the default value is "Mo". This is just to provide some information for the user --- it is not used by the code.) The last line contains two numbers: zeta and zetav. These are variables used in the Nose-Hoover thermostat. We save them to enhance reproducibility of results when restarting an MD simulation from a saved file. These values are zero if the file is saved after quasi-static simulations.

When writeall = 0 and writevelocity = 0, the saved cn files have the following format.

sx_i, sy_i, sz_i

they are the scaled coordinates of atom i.

When writeall = 0 and writevelocity = 1, the saved cn files have the following format.

Property (.out) File

VASP (POSCAR) File

LAMMPS File