RDF
go back to Main Page, Computational Resources, Scripts, VASP, Núria López and Group, Scripts for VASP
Description
This program computes the Radial Distribution Function (RDF) for a given system, being it a single geometry, an optimization, or a dynamics. For more infos about what the RDF is, please check: [1].
Setting up the program
First, we download the following file:
Tar/zipped directory ==> File:RDF.tgz
and we untar and unzip it with the following command:
user@computer: tar -xvzf RDF.tgz
A directory called ( quite unoriginally ¬¬ ) "RDF" will appear in your current directory. You enter the directory and do the following commands:
user@computer: a=`ls *.f` user@computer: f95 $a -o x.RDF [NOTE: if you don't have f95, try using ifort or g95, otherwise download and install a proper compiler for the program.]
The program is now ready.
Input file: preparation
Two inputs are parsed by the program to compute the radial distribution function: Movie.xyz and param.dat.
Movie.xyz
This is the xyz format file with your geometry/geometries. It is in standard xyz format; if you have an OUTCAR/CONTCAR/POSCAR, translate it in xyz, with the script ngeom.sh for example (link: ngeom.sh).
param.dat
In param.dat I specify how many and what kind of RDF I want, between which atoms, if it is BI- or TRI-dimensional RDF, and other details.
Example:
Please find above an example of the param.dat, with a short description of the keywords. Don't worry, is much easier than it seems at first sight.
In the directory you unzipped there is already a param.dat file, so you have just to modify it.
[NOTE: in param.dat, you can insert data unformatted by columns: the program x.RDF does not care. Nevertheless, raws have to be