MD1
Molecular Dynamics Simulation


MD1 is a FORTRAN90 program, using double precision arithmetic, which is the first of a series of programs that show a typical molecular dynamics simulation.

Usage:

md1 < input.txt > output.txt
reads the input file input.txt, and writes the output to output.txt. Also expects to read a file with a name like sample0.txt (specified in the input file) with initial point locations, and will write an output file with a name like sample1.txt containing the updated point locations.

Related Data and Programs:

CRYSTAL_COORDINATES is a FORTRAN90 program which generates suitable coordinates for a set of molecules in a rectangular slab.

GNUPLOT is a plotting program which can be used to display the time evolution of temperature, kinetic energy, potential energy, total energy, or pressure, which are the individual columns of the MD1 output file.

MD2 is a FORTRAN90 program which carries out a molecular dynamics simulation.

MD3 is a FORTRAN90 program which carries out a molecular dynamics simulation.

MD3GLUE is a FORTRAN90 program which carries out a molecular dynamics simulation.

MDBNCH is a FORTRAN77 program which is a benchmark molecular simulation calculation.

MDDISK is a C program which simulates a soft disk fluid.

Reference:

  1. Matthew Allen, Dominic Tildesley,
    Computer Simulation of Liquids,
    Oxford University Press, 1987,
    ISBN: 0198556454,
    LC: QC145.2.
  2. Furio Ercolessi,
    A Molecular Dynamics Primer,
    ercolessi.pdf
  3. Philipp Janert,
    Gnuplot in Action: Understanding Data with Graphs,
    Manning, 2008,
    ISBN: 1-933988-39-8.
  4. Dennis Rapaport,
    An Introduction to Interactive Molecular-Dynamics Simulation,
    Computers in Physics,
    Volume 11, Number 4, July/August 1997, pages 337-347.
  5. Dennis Rapaport,
    The Art of Molecular Dynamics Simulation,
    Cambridge University Press, 2004,
    ISBN: 0521825687.

Source Code:

Examples and Tests:

STEP0 is the initial data:

STEP1 reads the initial data from STEP0, runs for 100 steps, and writes the new data:

STEP2 reads the data from STEP1, runs for 100 more steps, and writes the new data:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 31 October 2005.