Skip to content

Fortran code that convert xyz-file to POSCAR file for VASP calculation

License

Notifications You must be signed in to change notification settings

CTM-ITODYS/mol2surface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mol2surface

Fortran code that convert xyz-file to POSCAR file for VASP calculations
Github page: https://ctm-itodys.github.io/mol2surface/
Compile the code:

gfortran mol2surface.f90 -o mol2surface.exe

For utilisation give the name of the xyz file:

./mol2surface.exe file.xyz

The code read also the info_vasp file that contains: Values of the box parameters and angles
a= 26.48795 !a along x-axis
b= 26.3264 !b along y-axis
c= 3.407662 !c along z-axis
alpha= 90 !alpha angle
beta= 90 !beta angle
gamma= 63.0 !gamma angle
Number of type of atoms in the xyz-file
4 !then give the type of atom
N
C
H
O
Then the code provide a POSCAR file that you can use for VASP calculations.

About

Fortran code that convert xyz-file to POSCAR file for VASP calculation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published